Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- rm -f docs/cid.rst docs/modules.rst
- python -m sphinx.ext.apidoc -o docs/ cid

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ coverage: ## check code coverage quickly with the default Python
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/cid.rst
sphinx-apidoc -o docs/ --separate --no-toc cid
$(MAKE) -C docs clean
$(MAKE) -C docs html
$(BROWSER) docs/_build/html/index.html

check-docs-ci: ## check documentation for CI
rm -f docs/cid.rst
sphinx-apidoc -o docs/ --separate --no-toc cid
$(MAKE) -C docs clean
$(MAKE) -C docs html
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', 'modules.rst', 'cid.rst', 'cid.cid.rst', 'cid.base58.rst']

# The reST default role (used for this markup: `text`) to use for all
# documents.
Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Table of contents
installation
usage
api_reference
cid
contributing
authors
history
Expand Down