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
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ build:
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
Expand Down
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

extensions: list[str] = [
"sphinx.ext.intersphinx",
"sphinx_codeautolink",
]

intersphinx_mapping = {
Expand All @@ -38,6 +39,11 @@
# see https://github.com/encode/httpx/discussions/1220
# we only have a few references to httpx though, so can just link manually.
}

# these are disabled by default, might re-disable them if they turn out to be noisy
codeautolink_warn_on_missing_inventory = True
codeautolink_warn_on_failed_resolve = True

templates_path = ["_templates"]
exclude_patterns: list[str] = ["_build", "Thumbs.db", ".DS_Store"]

Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
libcst
sphinx-codeautolink