Browse Source

config

main
wyrde 2 years ago
parent
commit
9bf7ef2a7e
  1. 12
      .readthedocs.yaml
  2. 5
      docs/conf.py

12
.readthedocs.yaml

@ -14,17 +14,15 @@ build:
# nodejs: "19" # nodejs: "19"
# rust: "1.64" # rust: "1.64"
# golang: "1.19" # golang: "1.19"
# Build documentation in the docs/ directory with Sphinx # Build documentation in the docs/ directory with Sphinx
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF # If using Sphinx, optionally build your docs in additional formats such as PDF
formats: formats: all
- pdf
- epub
# Optionally declare the Python requirements required to build your docs # Optionally declare the Python requirements required to build your docs
#python: python:
# install: install:
# - requirements: docs/requirements.txt - requirements: docs/requirements.txt

5
docs/conf.py

@ -2,7 +2,10 @@
# https://docs.readthedocs.io/en/stable/config-file/v2.html # https://docs.readthedocs.io/en/stable/config-file/v2.html
# https://docs.readthedocs.io/en/stable/guides/migrate-rest-myst.html # https://docs.readthedocs.io/en/stable/guides/migrate-rest-myst.html
source_suffix = [
".rst",
".md",
]
extensions = [ extensions = [
# Your existing extensions # Your existing extensions
"myst_parser", "myst_parser",

Loading…
Cancel
Save