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

Readthedocs version tag #505

Merged
merged 1 commit into from
Sep 10, 2024
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
9 changes: 7 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_build:
- payu --version # Display version of payu

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -23,6 +26,8 @@ formats:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
python:
install:
- method: pip
path: . # Installs payu
# - requirements: docs/requirements.txt
7 changes: 0 additions & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import os
import sys

sys.path.insert(1, '../../')
import payu

# Path to extensions
sys.path.insert(0, os.path.dirname(os.path.abspath(os.pardir)))

# Sphinx setup
#needs_sphinx = '1.0'
extensions = ['sphinx.ext.autodoc',
Expand Down
Loading