{"id":43878739,"url":"https://github.com/sphinx-toolbox/html-section","last_synced_at":"2026-02-06T15:08:11.866Z","repository":{"id":38373641,"uuid":"359957696","full_name":"sphinx-toolbox/html-section","owner":"sphinx-toolbox","description":"Sphinx extension to hide section headers with non-HTML builders.","archived":false,"fork":false,"pushed_at":"2025-10-06T18:44:13.000Z","size":189,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T20:42:08.865Z","etag":null,"topics":["documentation","python","sphinx","sphinx-extension"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sphinx-toolbox.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["domdfcoding"]}},"created_at":"2021-04-20T21:39:25.000Z","updated_at":"2025-08-04T16:18:30.000Z","dependencies_parsed_at":"2023-10-03T04:58:24.998Z","dependency_job_id":"4a538573-5bc3-432f-a183-2b79cdb0dfd0","html_url":"https://github.com/sphinx-toolbox/html-section","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":0.339622641509434,"last_synced_commit":"57eac1ad8b516c0d2e94f6570886f3e4282172de"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sphinx-toolbox/html-section","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sphinx-toolbox%2Fhtml-section","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sphinx-toolbox%2Fhtml-section/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sphinx-toolbox%2Fhtml-section/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sphinx-toolbox%2Fhtml-section/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sphinx-toolbox","download_url":"https://codeload.github.com/sphinx-toolbox/html-section/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sphinx-toolbox%2Fhtml-section/sbom","scorecard":{"id":841337,"data":{"date":"2025-08-11","repo":{"name":"github.com/sphinx-toolbox/html-section","commit":"0cd9365a76168a0c58a6382cdbc6fc82b5e9efbe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/flake8.yml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/mypy.yml:14","Warn: no topLevel permission defined: .github/workflows/octocheese.yml:1","Warn: topLevel 'actions' permission set to 'write': .github/workflows/python_ci.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/python_ci.yml:17","Warn: topLevel 'actions' permission set to 'write': .github/workflows/python_ci_linux.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/python_ci_linux.yml:18","Warn: topLevel 'actions' permission set to 'write': .github/workflows/python_ci_macos.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/python_ci_macos.yml:17","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/flake8.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/flake8.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/flake8.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/flake8.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/flake8.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/flake8.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mypy.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/mypy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/mypy.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/mypy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mypy.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/mypy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/octocheese.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/octocheese.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python_ci.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:138: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:161: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:101: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_linux.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_macos.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_macos.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python_ci_macos.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_macos.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_ci_macos.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/sphinx-toolbox/html-section/python_ci_macos.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/flake8.yml:45","Warn: pipCommand not pinned by hash: .github/workflows/flake8.yml:46","Warn: pipCommand not pinned by hash: .github/workflows/mypy.yml:49","Warn: pipCommand not pinned by hash: .github/workflows/mypy.yml:50","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:66","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:67","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:68","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:97","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:98","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:150","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:151","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_linux.yml:170","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_macos.yml:65","Warn: pipCommand not pinned by hash: .github/workflows/python_ci_macos.yml:66","Info:   0 out of  19 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of  14 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/sphinx-toolbox/html-section/releases/78439060","Warn: release artifact v0.2.0.post1 not signed: https://api.github.com/repos/sphinx-toolbox/html-section/releases/57285453","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/sphinx-toolbox/html-section/releases/57111428","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/sphinx-toolbox/html-section/releases/78439060","Warn: release artifact v0.2.0.post1 does not have provenance: https://api.github.com/repos/sphinx-toolbox/html-section/releases/57285453","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/sphinx-toolbox/html-section/releases/57111428"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/python_ci_linux.yml:132"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}}]},"last_synced_at":"2025-08-23T20:33:11.529Z","repository_id":38373641,"created_at":"2025-08-23T20:33:11.529Z","updated_at":"2025-08-23T20:33:11.529Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29165909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation","python","sphinx","sphinx-extension"],"created_at":"2026-02-06T15:08:11.057Z","updated_at":"2026-02-06T15:08:11.859Z","avatar_url":"https://github.com/sphinx-toolbox.png","language":"Python","funding_links":["https://github.com/sponsors/domdfcoding"],"categories":[],"sub_categories":[],"readme":"#############\nhtml-section\n#############\n\n.. start short_desc\n\n**Sphinx extension to hide section headers with non-HTML builders.**\n\n.. end short_desc\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t  - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |actions_linux| image:: https://github.com/sphinx-toolbox/html-section/workflows/Linux/badge.svg\n\t:target: https://github.com/sphinx-toolbox/html-section/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/sphinx-toolbox/html-section/workflows/Windows/badge.svg\n\t:target: https://github.com/sphinx-toolbox/html-section/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/sphinx-toolbox/html-section/workflows/macOS/badge.svg\n\t:target: https://github.com/sphinx-toolbox/html-section/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/sphinx-toolbox/html-section/workflows/Flake8/badge.svg\n\t:target: https://github.com/sphinx-toolbox/html-section/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/sphinx-toolbox/html-section/workflows/mypy/badge.svg\n\t:target: https://github.com/sphinx-toolbox/html-section/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/sphinx-toolbox/html-section/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/sphinx-toolbox/html-section/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/sphinx-toolbox/html-section/master?logo=coveralls\n\t:target: https://coveralls.io/github/sphinx-toolbox/html-section?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/sphinx-toolbox/html-section?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/sphinx-toolbox/html-section\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/html-section\n\t:target: https://pypi.org/project/html-section/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/html-section?logo=python\u0026logoColor=white\n\t:target: https://pypi.org/project/html-section/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/html-section\n\t:target: https://pypi.org/project/html-section/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/html-section\n\t:target: https://pypi.org/project/html-section/\n\t:alt: PyPI - Wheel\n\n.. |license| image:: https://img.shields.io/github/license/sphinx-toolbox/html-section\n\t:target: https://github.com/sphinx-toolbox/html-section/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/sphinx-toolbox/html-section\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/sphinx-toolbox/html-section/v0.4.0.post1\n\t:target: https://github.com/sphinx-toolbox/html-section/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/sphinx-toolbox/html-section\n\t:target: https://github.com/sphinx-toolbox/html-section/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2026\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/html-section\n\t:target: https://pypistats.org/packages/html-section\n\t:alt: PyPI - Downloads\n\n.. end shields\n\nInstallation\n--------------\n\n.. start installation\n\n``html-section`` can be installed from PyPI.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install html-section\n\n.. end installation\n\nThen enable the extension by adding the following to your ``conf.py`` file:\n\n.. code-block:: python\n\n\textensions = [\n\t\t\t...,  # Other extensions go here\n\t\t\t\"html_section\",\n\t\t\t]\n\n\nUsage\n---------\n\n.. code-block:: rest\n\n\tContents\n\t-----------\n\n\t.. html-section::\n\nThe section label ``Contents`` will only be shown with the HTML builder.\nHowever, the section content will still be visible, and the heading will appear in the table of contents.\nConsider using Sphinx's ``.. only:: html`` directive for that.\n\n\n.. code-block:: rest\n\n\tContents\n\t-----------\n\n\t.. latex-section::\n\nThe section label ``Contents`` will only be shown with the LaTeX builder.\nHowever, the section content will still be visible, and the heading will appear in the table of contents.\nConsider using Sphinx's ``.. only:: latex`` directive for that.\n\n*New in version 0.4.0.post1*\n\n\n.. code-block:: rest\n\n\tContents\n\t-----------\n\n\t.. phantom-section::\n\nThe section label ``Contents`` will be hidden with all builders,\nbut the section will still exist in the structure of the document\n(i.e. a new section will be started, without a label).\nThe section content will still be visible, and the heading will appear in the table of contents.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsphinx-toolbox%2Fhtml-section","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsphinx-toolbox%2Fhtml-section","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsphinx-toolbox%2Fhtml-section/lists"}