Skip to content

Commit

Permalink
moved mkdocs.yaml to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
passingball committed Feb 5, 2024
1 parent e4bd043 commit b18270f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scicookie/hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ def clean_up_mypy():
if not USE_MYPY:
remove_package_file("py.typed")

def move_mkdocs():
shutil.move({{cookiecutter.project_slug}}/docs-mkdocs/mkdocs.yaml,{{cookiecutter.project_slug}})

def post_gen():
validation()
Expand All @@ -374,7 +376,7 @@ def post_gen():
clean_up_governance()
clean_up_roadmap()
clean_up_build_system()

move_mkdocs()
# keep it at the end, because it will create a new git commit
prepare_git()

Expand Down

0 comments on commit b18270f

Please sign in to comment.