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
13 changes: 11 additions & 2 deletions .readthedocs.yml → .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .readthedocs.yml
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

Expand All @@ -7,7 +7,9 @@ version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/source/conf.py
fail_on_warning: false

# Build documentation with MkDocs
#mkdocs:
Expand All @@ -16,9 +18,16 @@ sphinx:
# Optionally build your docs in additional formats such as PDF and ePub
formats: all

build:
os: ubuntu-24.04
tools:
python: mambaforge-latest

conda:
environment: docs/rtd_environment.yaml

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
Expand Down
2 changes: 1 addition & 1 deletion costools/timefilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def toRect(longitude, latitude):
latitude in degrees.

Returns
--------
-------
array_like
Unit vector in rectangular coordinates.
"""
Expand Down
6 changes: 6 additions & 0 deletions docs/rtd_environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
channels:
- conda-forge
dependencies:
- python=3.13
- pip
- graphviz
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,6 @@

# If false, no module index is generated.
#latex_use_modindex = True

# Enable nitpicky mode - which ensures that all references in the docs resolve.
nitpicky = True
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'docs': [
'sphinx',
'numpydoc',
'sphinx_rtd_theme>1.2.0',
],
'test': [
'pytest',
Expand Down
Loading