Skip to main content

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.

Metadata

Release files for sphinx-treeview 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-treeview 1.1.1
File Size Uploaded
sphinx_treeview-1.1.1.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-treeview 1.1.1
File Interpreter ABI Platform
sphinx_treeview-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.8 kB

Release files / sphinx_treeview-1.1.1.tar.gz

Download URL sphinx_treeview-1.1.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0d93c1265cc58190714a2800cdd72580f370a8b580479dca7a5883a222fa3a6f
BLAKE2b-256 checksum
How to use checksums
3145701be0ec3e658f59a25058ffaf585adc1c3a761dd3e5c47fad38cba6ec21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

Release files / sphinx_treeview-1.1.1-py3-none-any.whl

Download URL sphinx_treeview-1.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
281a3b25185bc52e38a5c37dd83732466b34967b994a0c5c034ceeeb4b2f7136
BLAKE2b-256 checksum
How to use checksums
5c58d16abc76821b7fa1a4e45f7574d6420b13e06249976b5a3d95e29c3af258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page