File tree 8 files changed +64
-24
lines changed 8 files changed +64
-24
lines changed Original file line number Diff line number Diff line change
1
+ # Read the Docs configuration file
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version : 2
6
+
7
+ # Set the version of Python and other tools you might need
8
+ build :
9
+ os : ubuntu-20.04
10
+ tools :
11
+ python : " mambaforge-4.10"
12
+ jobs :
13
+ pre_build : # Generate api stub files before building
14
+ - make -C doc api
15
+
16
+ # Build documentation in the doc/ directory with Sphinx
17
+ sphinx :
18
+ configuration : doc/conf.py
19
+
20
+ # If using Sphinx, optionally build your docs in additional formats such as PDF
21
+ # formats:
22
+ # - pdf
23
+
24
+ # Optionally declare the Python requirements required to build your docs
25
+ conda :
26
+ environment : ci/requirements/docs.yml
27
+ python :
28
+ install :
29
+ - method : pip
30
+ path : .
Original file line number Diff line number Diff line change 1
1
prune .dvc
2
2
prune .github*
3
+ prune ci
3
4
prune doc*
4
5
prune examples*
5
6
exclude .dvcignore
6
7
exclude .gitignore
8
+ exclude .readthedocs.yaml
7
9
exclude AUTHORSHIP.md
8
10
exclude CONTRIBUTING.md
9
11
exclude Makefile
10
12
exclude environment.yml
11
- exclude package.json
12
13
exclude requirements.txt
13
- exclude vercel.json
Original file line number Diff line number Diff line change
1
+ name : pygmt
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ # Required dependencies
7
+ - pip
8
+ - gmt=6.3.0
9
+ - numpy>=1.20
10
+ - pandas
11
+ - xarray
12
+ - netCDF4
13
+ - packaging
14
+ # Optional dependencies
15
+ - geopandas
16
+ # Development dependencies (general)
17
+ - build
18
+ - ipython
19
+ - make
20
+ # Dev dependencies (building documentation)
21
+ - myst-parser
22
+ - sphinx
23
+ - sphinx-copybutton
24
+ - sphinx-design
25
+ - sphinx-gallery
26
+ - sphinx_rtd_theme
Original file line number Diff line number Diff line change 142
142
.. |year| replace:: { year }
143
143
"""
144
144
145
+ html_baseurl = "https://pygmt.org/latest/"
145
146
html_last_updated_fmt = "%b %d, %Y"
146
147
html_title = "PyGMT"
147
148
html_short_title = "PyGMT"
Original file line number Diff line number Diff line change @@ -289,8 +289,8 @@ download and install anything:
289
289
click on the "Propose changes" button to open a pull request.
290
290
7 . The pull request will run the GMT automated tests and make a preview deployment.
291
291
You can see how your change looks in the PyGMT documentation by clicking the
292
- "View deployment " button after the Vercel bot has finished (usually 5-10 minutes
293
- after the pull request was created).
292
+ "Details " button of the "docs/readthedocs.org : pygmt-dev " status check,
293
+ after the building has finished (usually 10-15 minutes after the pull request was created).
294
294
8 . We'll review your pull request, recommend changes if necessary, and then merge
295
295
them in if everything is OK.
296
296
9 . Done!
Original file line number Diff line number Diff line change @@ -151,13 +151,10 @@ There are 11 configuration files located in `.github/workflows`:
151
151
152
152
## Continuous Documentation
153
153
154
- We use the [ Vercel for GitHub ] ( https://github.com/apps/vercel ) App to preview changes
154
+ We use the [ ReadtheDocs ] ( https://readthedocs.org/ ) service to preview changes
155
155
made to our documentation website every time we make a commit in a pull request.
156
- The service has a configuration file ` vercel.json ` , with a list of options to
157
- change the default behaviour at https://vercel.com/docs/configuration .
158
- The actual script ` package.json ` is used by Vercel to install the necessary packages,
159
- build the documentation, copy the files to a 'public' folder and deploy that to the web,
160
- see https://vercel.com/docs/build-step .
156
+ The service has a configuration file ` .readthedocs.yaml ` , with a list of options
157
+ to change the default behaviour at https://docs.readthedocs.io/en/stable/config-file/index.html .
161
158
162
159
163
160
## Dependencies Policy
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments