Skip to content

Testrepo for generating Python api-documentation from docstrings, using sphinx

License

Notifications You must be signed in to change notification settings

arneso-ssb/sphinx-doctest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphinx-doctest

Testrepo for generating Python api-documentation from docstrings, using sphinx, and publish to GitHub pages.

It contains a simple python source file with some documentation, and a test, to verify that the test directory is excluded from the documentation.

Install and run

pipenv install --dev
pipenv run pytest

Documentation

The API-documentation for this repo is generated from docstrings in the Python source code, using the Sphinx tool.

Generate documentation

Go to the docs-directory and run the following commands:

pipenv run sphinx-apidoc -o . ../ ../processing/tests
pipenv run make html

Then open the _build/html/index.html file to view the documentation.

About

Testrepo for generating Python api-documentation from docstrings, using sphinx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages