Skip to content

Commit 59a5a81

Browse files
Merge pull request #10 from thomasisensee/rtd-uv
Fix RTD build
2 parents c06d8c4 + e4384b1 commit 59a5a81

4 files changed

Lines changed: 5 additions & 21 deletions

File tree

.readthedocs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ build:
88
sphinx:
99
configuration: doc/conf.py
1010

11-
formats: all
12-
1311
python:
1412
install:
1513
- method: uv
16-
command: pip
17-
path: .
14+
command: sync
1815
extras:
1916
- docs

doc/conf.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,13 @@
1717
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
1818
# ones.
1919
extensions = [
20-
"sphinx_mdinclude",
20+
"myst_parser",
2121
"sphinx.ext.autodoc",
22-
"sphinx_rtd_theme",
2322
]
2423

25-
# Add any paths that contain templates here, relative to this directory.
26-
templates_path = []
27-
28-
# List of patterns, relative to source directory, that match files and
29-
# directories to ignore when looking for source files.
30-
# This pattern also affects html_static_path and html_extra_path.
31-
exclude_patterns = []
32-
3324
# -- Options for HTML output -------------------------------------------------
3425

3526
# The theme to use for HTML and HTML Help pages. See the documentation for
3627
# a list of builtin themes.
3728
#
3829
html_theme = "sphinx_rtd_theme"
39-
40-
# Add any paths that contain custom static files (such as style sheets) here,
41-
# relative to this directory. They are copied after the builtin static files,
42-
# so a file named "default.css" will overwrite the builtin "default.css".
43-
html_static_path = []

doc/intro.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.. mdinclude:: ../README.md
1+
.. include:: ../README.md
2+
:parser: myst_parser.sphinx_

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ tests = [
4141
"pytest-cov",
4242
]
4343
docs = [
44+
"myst_parser",
4445
"sphinx",
45-
"sphinx_mdinclude",
4646
"sphinx_rtd_theme",
4747
]
4848

0 commit comments

Comments
 (0)