From e9dc60e7c11ee9f9eca0db1f01d126ecf4803e76 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Mon, 30 May 2022 12:26:39 +0200 Subject: [PATCH] better naming in generated API docs --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 71ea835bd..2dc6aa3aa 100644 --- a/Makefile +++ b/Makefile @@ -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