Browse Source

configurations

main
wyrde 2 years ago
parent
commit
61b3e03b46
  1. 9
      .readthedocs.yaml
  2. 20
      docs/conf.py
  3. 1
      docs/requirements.txt

9
.readthedocs.yaml

@ -16,12 +16,13 @@ build:
# 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:
# - pdf - pdf
- epub
# Optionally declare the Python requirements required to build your docs # Optionally declare the Python requirements required to build your docs
#python: #python:

20
docs/conf.py

@ -0,0 +1,20 @@
# conf.py
# https://docs.readthedocs.io/en/stable/config-file/v2.html
# https://docs.readthedocs.io/en/stable/guides/migrate-rest-myst.html
extensions = [
# Your existing extensions
...,
"myst_parser",
]
myst_enable_extensions = [
"amsmath",
"colon_fence",
"deflist",
"dollarmath",
"html_admonition",
"html_image",
"linkify",
"replacements",
"substitution"]

1
docs/requirements.txt

@ -0,0 +1 @@
linkify-it-py
Loading…
Cancel
Save