Skip to content

Commit

Permalink
Merge pull request #10 from Quinten-D/add_documentation
Browse files Browse the repository at this point in the history
Add necessary readthedocs.yaml file
  • Loading branch information
Robin Manhaeve authored Oct 12, 2023
2 parents c97cd0e + 06480dc commit ae77bc2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .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 OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

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

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# 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:
- requirements: src/docs/requirements.txt
4 changes: 4 additions & 0 deletions src/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
problog
torchvision
torch
furo
1 change: 1 addition & 0 deletions src/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

#html_theme = "default"
html_theme = 'furo'
html_static_path = ['_static']

0 comments on commit ae77bc2

Please sign in to comment.