About 2,040,000 results
Open links in new tab
  1. python - How to use Sphinx's autodoc to document a class's …

    I believe he built a sphinx extension that connects a callback to the autodoc-skip-member event. When sphinx tries to figure out if something should be included/skipped that event fires, and …

  2. How to document Python function parameters with Sphinx?

    I'm trying to clean up my python code documentation, and decided to use sphinx-doc because it looks good. I like how I can reference other classes and methods with tags like: …

  3. Multi-line description of a parameter description in python docstring

    Sep 14, 2015 · 85 So, reStructuredText is the recommended way for Python code documentation, if you try hard enough, you can find in the sphinx documentation how to normalize your …

  4. python - How to correctly set up a project directory for Sphinx

    Nov 4, 2020 · I am running Windows 10 Pro, 2004; Python 3.7.9; Sphinx 3.3.0. I created a completely fresh project sphinx_test to test my Sphinx skills by following these steps:

  5. python - Automatically document all modules recursively with …

    This script parses a directory tree looking for python modules and packages and creates ReST files appropriately to create code documentation with Sphinx. It also creates a modules index.

  6. How to create a PDF-out-of-Sphinx-documentation-tool

    Sep 16, 2016 · How can I use the sphinx-build command to generate PDF with rst2pdf custom styles. Currently the command: rst2pdf index.rst -s paamrstyles.txt creates only single PDF.

  7. How to specify different return types in python docstring

    Jul 10, 2017 · But Python is just now, in its mid- to late-Python 3 era, defining a richer type notation. The typing module defines an evolving new grammar for such types independent of …

  8. How do we embed images in Sphinx docs? - Stack Overflow

    Sep 16, 2014 · How to embed images in Sphinx documentation?From the documenation: There are two image directives: image and figure. An image is a simple picture. A figure consists of …

  9. python - Use Sphinx autosummary recursively to generate API ...

    Jan 3, 2018 · I want to use Sphinx's autosummary extension and templates to generate API docs recursively from docstrings. I want separate pages for each module, class, method, property …

  10. How to document Python packages using Sphinx - Stack Overflow

    Aug 28, 2014 · Here is an outline: Document your package using docstrings in the sources. Use sphinx-quickstart to create a Sphinx project. Run sphinx-apidoc to generate .rst sources set up …