Skip to content

Commit

Permalink
diff syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
anaismoller committed Jan 16, 2025
1 parent 8be0a84 commit 9b00a5e
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
version: 2

build:
image: ubuntu-22.04 # Valid build image
sphinx:
configuration: docs/conf.py

jobs:
build-docs:
runs-on: ubuntu-latest

python:
version: 3.6 # Match your project's Python version
install:
- method: pip
requirements: requirements.txt # Or docs/requirements.txt if used
steps:
- name: Checkout repository
uses: actions/checkout@v3

sphinx:
configuration: docs/conf.py # Adjust the path to your conf.py
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.6.8"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
# Optional: Conda configuration if needed
# conda:
# file: docs/conda_env_cpu_linux64.yml # If using Conda, specify your environment file
- name: Build documentation
run: |
cd docs
make html

0 comments on commit 9b00a5e

Please sign in to comment.