Using Sphinx for documenting my Python project. I want to remove the word "module" which follows the name of each python file (in the navbar, TOC, the page title, etc).
e.g. Details:
The project is composed of 2 files utils.py and main.py.
In my index.rst file, I use:
.. toctree:: :maxdepth: 2 utils main to import both files as "modules". From the docs/ folder, I then call:
sphinx-apidoc -f -o ./source/ .. make html to generate the static site. In the site, the word "module" follows every file name, and I would like to remove it.
sphinx-apidoc -f -o ./source/ .., what is in yourutils.rstandmain.rst? I think part of the problem is that sphinx-apidoc is designed for packages, not modules: "sphinx-apidoc is a tool for automatic generation of Sphinx sources that, using the autodoc extension, document a whole package in the style of other automatic API documentation tools."