Skip to content

Commit

Permalink
better naming in generated API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 30, 2022
1 parent 08fbbee commit e9dc60e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -63,6 +63,10 @@ docs: ## Generate Sphinx HTML documentation, including API docs
@rm -f docs/cookiecutter.rst
@sphinx-apidoc -o docs/ cookiecutter
@rm -f docs/modules.rst
@sed -i 's/cookiecutter package/===\nAPI\n===/' docs/cookiecutter.rst
@sed -i 's/====================//' docs/cookiecutter.rst
@sed -i 's/Submodules/This is the Cookiecutter modules API documentation./' docs/cookiecutter.rst
@sed -i 's/^----------$$//' docs/cookiecutter.rst
@$(MAKE) -C docs clean
@$(MAKE) -C docs html
@$(BROWSER) docs/_build/html/index.html
Expand Down

0 comments on commit e9dc60e

Please sign in to comment.