Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

stephenfin/sphinx_ext_coverage_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of sphinx.ext.coverage

A demo of the sphinx.ext.coverage extension found in core Sphinx.

Note

There's an open issue regarding the C coverage support, which is currently broken in Sphinx 7.x (and likely much earlier versions). As such, the C parts of this demo won't work until that's addressed.

Usage

Install Sphinx:

virtualenv .venv
source .venv/bin/activate
pip install sphinx

Once done, build documentation using the coverage builder:

make -C docs coverage

Coverage reports can be found in the docs/build/coverage directory. You'll note that two APIs - one from the C API docs and one Python API docs -are noted as undocumented. If you go into the docs/source/api.rst file you will see these are documented but commented out. Uncomment these are run the build again:

make -C docs coverage

You will now see no undocumented methods.

About

Demonstration of the `sphinx.ext.coverage` Sphinx extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published