diff --git a/src/scicookie/{{cookiecutter.project_slug}}/scripts/gen_ref_nav.py b/src/scicookie/{{cookiecutter.project_slug}}/scripts/gen_ref_nav.py index be5652c8..a9b3e40e 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/scripts/gen_ref_nav.py +++ b/src/scicookie/{{cookiecutter.project_slug}}/scripts/gen_ref_nav.py @@ -25,9 +25,7 @@ for path in sorted(src.rglob("*.py")): module_path = path.relative_to(src).with_suffix("") - doc_path = path.relative_to(src / "{{ cookiecutter.package_slug }}").with_suffix( - ".md" - ) + doc_path = path.relative_to(src / "osl_python_package").with_suffix(".md") full_doc_path = Path("api", doc_path) parts = tuple(module_path.parts)