Skip to content

Commit d336fd0

Browse files
committed
Enable definition lists and linkify extensions in the MyST parser
linkify extra was added to the `myst-parser` dependency and `uv.lock` was updated accordingly.
1 parent 7f14abb commit d336fd0

File tree

3 files changed

+51
-15
lines changed

3 files changed

+51
-15
lines changed

docs/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,16 @@
145145
sphinxemoji_source = "twemoji.min.js"
146146

147147

148+
# -- Options for the MyST extension ------------------------------------------
149+
# Available options are described in the docs:
150+
# https://myst-parser.readthedocs.io/en/v0.15.1/sphinx/reference.html
151+
myst_enable_extensions = [
152+
"dollarmath",
153+
"deflist",
154+
"linkify",
155+
]
156+
157+
148158
# -- Setting up extensions ---------------------------------------------------
149159

150160

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires-python = "==3.12.*"
55
dependencies = [
66
"click==8.2.1",
77
"jinja2==3.1.6",
8-
"myst-parser==4.0.1",
8+
"myst-parser[linkify]==4.0.1",
99
"pydantic==2.11.7",
1010
"requests==2.32.4",
1111
"sphinx-rtd-theme==3.0.2",

uv.lock

Lines changed: 40 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)