Installation¶
$ pip install docshare
docshare requires Python 3.10 or later and has no runtime dependencies.
From a checkout¶
$ git clone https://github.com/noahbenson/docshare
$ cd docshare
$ pip install -e '.[dev]'
The dev extra installs everything needed to test the package and build this
site. Three narrower extras are available:
testpytest, coverage, and the two libraries whose real docstrings the test suite reads — NumPy andabsl-py. Tests that use them skip when they are absent, so the package can still be tested without them.docsSphinx, the Furo theme, and MyST for this site.
devBoth of the above, plus
ruffandbuild.
Checking a checkout¶
$ pytest
$ ruff check . && ruff format --check .
$ make -C docs html