Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: enable Sphinx nitpicky #1916

Merged
merged 51 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
90b9253
docs: enable Sphinx nitpicky
Borda Jul 13, 2023
ca7617c
mapping: matplotlib
Borda Jul 13, 2023
ed02437
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2023
f647290
Merge branch 'master' into docs/nitpicky
SkafteNicki Jul 13, 2023
c66283a
todo
Borda Jul 13, 2023
c598dea
nitpicky = true
Borda Jul 13, 2023
0b3f109
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 1, 2023
7282155
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 1, 2023
d36895c
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 1, 2023
6e2c6b7
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 1, 2023
56c5ac8
Merge branch 'master' into docs/nitpicky
Borda Aug 1, 2023
8d8ba62
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 2, 2023
3c405f4
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 3, 2023
cdbccd7
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 3, 2023
0ea3ce3
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 3, 2023
6b85915
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 3, 2023
5eac456
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 3, 2023
07be2fa
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 4, 2023
dcf3d9b
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 4, 2023
2cb3ad9
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 4, 2023
9e65875
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
83ba5bb
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
766eacd
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
c962e49
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
6fca1c9
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
53a6671
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
8c193b1
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
775b521
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 7, 2023
3e86cbb
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
67ddc09
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
0b0f61f
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
7ef3b9e
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
5cb2d16
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
d021de3
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
dffa053
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 8, 2023
31277b7
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 9, 2023
9cd0ed2
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 14, 2023
f80aafc
fix warning
SkafteNicki Aug 14, 2023
597c375
fix warning
SkafteNicki Aug 14, 2023
5dfcce4
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 15, 2023
c62175d
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 15, 2023
219de5b
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 15, 2023
11c5148
Merge branch 'master' into docs/nitpicky
mergify[bot] Aug 15, 2023
b64813c
Merge branch 'master' into docs/nitpicky
Borda Aug 15, 2023
a25b034
try full path
SkafteNicki Aug 15, 2023
34472f1
fix module classification
SkafteNicki Aug 15, 2023
5dcb721
fix functional classification
SkafteNicki Aug 15, 2023
e431056
fix detection warnings
SkafteNicki Aug 15, 2023
8898253
fix mix of warnings
SkafteNicki Aug 15, 2023
7384662
fix more warnings
SkafteNicki Aug 16, 2023
c9c3afc
fix warnings
SkafteNicki Aug 16, 2023
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
16 changes: 16 additions & 0 deletions .github/workflows/ci-rtfd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: RTFD Preview
on:
pull_request_target:
types:
- opened

permissions:
pull-requests: write

jobs:
documentation-links:
runs-on: ubuntu-latest
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "torchmetrics"
1 change: 1 addition & 0 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
PYPI_CACHE: "_ci-cache_PyPI"
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: 'python'
TOKENIZERS_PARALLELISM: false
SPHINX_FETCH_ASSETS: 1 # todo: consider not downloading on PRs

jobs:
docs-check:
Expand Down
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@ def _set_root_image_path(page_path: str):
"python": ("https://docs.python.org/3", None),
"torch": ("https://pytorch.org/docs/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"matplotlib": ("http://matplotlib.org/stable", None),
}
nitpicky = True

# -- Options for todo extension ----------------------------------------------
# -- Options for to-do extension ----------------------------------------------

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
Expand Down
Loading