InstallationΒΆ

Important

sphinx-collapse is compatible with Sphinx 3.0+ using Python 3.7+.

  1. Install sphinx-collapse using PIP.

    pip install sphinx-collapse
    
  2. Add the extension to your Sphinx project conf.py file.

    extensions = ['sphinx_collapse']