sphinx
sphinx copied to clipboard
The Sphinx documentation generator
**Is your feature request related to a problem? Please describe.** I'm exploring ways to enable more flexible/complex site structures with Sphinx, as part of a Sphinx theme (https://github.com/pradyunsg/lutra/). One of...
## Brief `apidoc` forces that the `SPHINX_APIDOC_OPTIONS` are starting and ending with a `:`, but there are sphinx options which do not end with a `:`, which are then unusable....
### Describe the bug Recently, the unit tests of my project https://github.com/mgeier/sphinx-last-updated-by-git started to fail because Sphinx has changed the way how some dependencies of source files are determined. I...
### Describe the bug When building docs with enums like this: ```rst .. autoclass:: Transpose :members: :undoc-members: ``` Referring to code like this: ```python class Transpose(IntEnum): FLIP_LEFT_RIGHT = 0 FLIP_TOP_BOTTOM...
**Describe the bug** My project structure is like this: ``` . ├── service1 │ ├── README.md │ ├── utils │ │ ├── __init__.py │ │ └── some_code.py │ ├── routines...
**Describe the bug** If I set `napoleon_use_rtype` to `False`, I get a nice link to the type of the return value. However, if I change `napoleon_use_rtype` to `True`, because I...
_index.rst_: .. |subst| replace:: Substitution .. include:: a.rst .. include:: b.rst _a.rst_: A: |subst| _b.rst_: B: |subst| The output is correct: > A: Substitution > > B: Substitution But building...
### Problem When I generate documentation using `sphinx.ext.autodoc` for my [`attrs`](https://www.attrs.org/en/stable/) classes' `__init__` (using `:special-members: __init__`), the parameters for `__init__` aren't documented. ### Solution I'd like autodoc to populate the...
**Is your feature request related to a problem? Please describe.** I would like to use my IDE's debugger to find out where SphinxErrors are coming from. In particular, I got...
### Feature or Bugfix - Feature ### Purpose The original `sphinx.ext.linkcode` extension will only include references into a doctree for `html` builders. Custom builders who would like to handle linkcode...