Collapse extension for Sphinx.
Project description
sphinx-collapse is a Sphinx extension that helps you recognize the people who have contributed to an open-source project.
Collapsibles are useful to hide large amounts of content:
Installation
Install sphinx-collapse using PIP.
pip install sphinx-collapse
Add the extension to your Sphinx project conf.py file.
extensions = ['sphinxcontrib.collapse']
Usage
Using the directive:
.. collapse:: Click here
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Renders:
Check out the full documentation for more customizable options at https://sphinx-collapse.readthedocs.io/
Contributing
We encourage public contributions! Please review CONTRIBUTING for details on our code of conduct and development process.
License
Copyright (c) 2022 - present David Garcia (@dgarcia360).
Licensed under the MIT 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
Built Distribution
File details
Details for the file sphinx_collapse-0.1.1.tar.gz
.
File metadata
- Download URL: sphinx_collapse-0.1.1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51352f1f3fcd8d3c672a0ede3c4240f6a3a8558e4d0883725e978d5dc6c8f8d2 |
|
MD5 | ab48c2702192b97594f53c75a1672044 |
|
BLAKE2b-256 | d72dee83060868cd32c23a6d63daa92e377cbf649d561e85d68aa3eb41fb799e |
Provenance
File details
Details for the file sphinx_collapse-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: sphinx_collapse-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c13a614074393acac304af1ee722c6dd93e4fe3ab2333b3a52ee6ac05f6964 |
|
MD5 | 6be486caec0e9501536ca675c3aa6bb2 |
|
BLAKE2b-256 | 4190200ce6ef9bd18d790178f47cb17e3e29544da3417ad5085fe41ccb29af44 |