Skip to main content

Add support for tree view to Sphinx.

Project description

Sphinx Tree View

A lightweight Sphinx extension that provides a customizable, filesystem-like tree view for your documentation.

Installation

Install the extension via PyPI:

pip install sphinx-treeview

Then, add it to the extensions list in your conf.py:

extensions = ["sphinx_treeview"]

If you are using MyST Parser to write Markdown documentation, it’s recommended to enable the colon_fence syntax extension:

extensions = ["myst_parser", "sphinx_treeview"]
myst_enable_extensions = ["colon_fence"]

Example

Example Image

:::{treeview}
- {dir}`folder` folder
  - {dir}`file` file.jpeg
  - {dir}`file` file.png
:::

License

This project is licensed under the MPL-2.0 License. See the LICENSE file for details. Images came from pictogrammers and are under Apache-2.0 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_treeview-1.1.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_treeview-1.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_treeview-1.1.0.tar.gz.

File metadata

  • Download URL: sphinx_treeview-1.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

File hashes

Hashes for sphinx_treeview-1.1.0.tar.gz
Algorithm Hash digest
SHA256 24dfad8cb8e6f1e6f462a67870f8c7a0a5691245ad67e81b6762f0a646585a56
MD5 0c796dc04ca75111f3a1ccf1312470fa
BLAKE2b-256 71c61847b678c079a770299acf73df0ea40e76f2dcf91b48ead0556518bd8f96

See more details on using hashes here.

File details

Details for the file sphinx_treeview-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sphinx_treeview-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

File hashes

Hashes for sphinx_treeview-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 381e5940a072ed6e6f6a3e3d30592383d07c56e54182aa4dead71ab5efa3fea8
MD5 45ccc4d40c24f0bd8e9ccd176270cfc0
BLAKE2b-256 5a30cd415ecc2d7210df40c10bb2c5f6117bd372472e654fa94b4fb2872d59ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page