Skip to content

Commit ef43006

Browse files
authored
[DOC] Add sphinx configuration section to readthedocs.yml (#225)
* chore: add sphinx configuration to readthedocs.yml * chore: add options to sphinx config to match `executablebooks/MyST-Parser` * chore: set default language to English in Sphinx configuration
1 parent 1bebb47 commit ef43006

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
#
6262
# This is also used if you do content translation via gettext catalogs.
6363
# Usually you set "language" from the command line for these cases.
64-
language = None
64+
language = "en"
6565

6666
# List of patterns, relative to source directory, that match files and
6767
# directories to ignore when looking for source files.

readthedocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
version: 2
2+
23
build:
34
os: "ubuntu-22.04"
45
tools:
56
python: "3.11"
67

8+
sphinx:
9+
configuration: docs/conf.py
10+
builder: html
11+
fail_on_warning: true
12+
713
python:
814
install:
915
- method: pip

0 commit comments

Comments
 (0)