Skip to main content

html-section

Sphinx extension to hide section headers with non-HTML builders.

Tests

Linux Test Status Windows Test Status macOS Test Status Coverage

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Activity

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

QA

CodeFactor Grade Flake8 Status mypy status

Other

License GitHub top language Requirements Status

Installation

html-section can be installed from PyPI.

To install with pip:

$ python -m pip install html-section

Then enable the extension by adding the following to your conf.py file:

extensions = [
                ...,  # Other extensions go here
                "html_section",
                ]

Usage

Contents
-----------

.. html-section::

The section label Contents will only be shown with the HTML builder. However, the section content will still be visible. Consider using Sphinx’s .. only:: html directive for that.

Contents
-----------

.. phantom-section::

The section label Contents will be hidden with all builders, but the section will still exist in the structure of the document (i.e. a new section will be started, without a label). The section content will still be visible.

Metadata

Release files for html-section 0.1.0

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

Source distribution (sdist)

Source distribution for html-section 0.1.0
File Size Uploaded Provenance Actions
html_section-0.1.0.tar.gz 5.6 kB Without provenance Details for html_section-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for html-section 0.1.0
File Interpreter ABI Platform Actions
html_section-0.1.0-py3-none-any.whl Python 3 none any Details for html_section-0.1.0-py3-none-any.whl

Total release size: 23.0 kB

Release files / html_section-0.1.0.tar.gz

Download URL html_section-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0482eb09d756e09f8b1525a4633a8ccfa8d5cacd5fec73982863c55b50a95e2d
BLAKE2b-256 checksum
How to use checksums
7678c423da724069cf7162bb9fcc0ad0fbcee3f0dbf45dacdfa604d58a1e045b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / html_section-0.1.0-py3-none-any.whl

Download URL html_section-0.1.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e2b6e271c9424fa24ccde497bfa467fcea0bcbecb61f2e3fcda20ebd2abef81
BLAKE2b-256 checksum
How to use checksums
d1af6ab516e474837969add55e125f89faeecf28bb64e74e84ddb6907b10b289
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for html-section 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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