Skip to content

Commit bb87544

Browse files
authored
Merge pull request #663 from djhoese/better-api-docs
2 parents 3872224 + a3d1cdf commit bb87544

22 files changed

Lines changed: 65 additions & 395 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ pyresample/gradient/_gradient_search.c
6565

6666
# don't include doctest files
6767
docs/doctest/.doctrees/*
68+
69+
# don't include auto-generated API docs
70+
docs/source/api/*.rst

continuous_integration/environment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ dependencies:
2626
- pytest-cov
2727
- pytest-lazy-fixtures
2828
- sphinx-reredirects
29+
- sphinx-autodoc-typehints
2930
- odc-geo

docs/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,4 @@ by running:
55

66
make html
77

8-
The generated HTML documentation pages are available in `build/html`. If
9-
Pyresample's API has changed (new functions, modules, classes, etc) then the
10-
API documentation should be regenerated before running the above make
11-
command.
12-
13-
sphinx-apidoc -f -T -o source/api ../pyresample ../pyresample/test
8+
The generated HTML documentation pages are available in `build/html`.

docs/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ dependencies:
1818
- pykdtree
1919
- sphinx_rtd_theme
2020
- sphinx-reredirects
21+
- sphinx-autodoc-typehints

docs/source/api/.gitkeep

Whitespace-only changes.

docs/source/api/pyresample.bilinear.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/source/api/pyresample.bucket.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/source/api/pyresample.ewa.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/source/api/pyresample.future.geometry.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/source/api/pyresample.future.resamplers.rst

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)