Skip to content

Commit

Permalink
Still attempting to fix the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-harter committed Feb 17, 2022
1 parent 7fa049a commit dbaac7f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
33 changes: 24 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
image: latest
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
- xarray
- astropy
install:
- requirements: doc/requirements.txt
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3': None}
autodoc_mock_imports = ['xarray', 'astropy']
#autodoc_mock_imports = ['xarray', 'astropy']
2 changes: 2 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
xarray
astropy

0 comments on commit dbaac7f

Please sign in to comment.