Skip to content

Commit

Permalink
docs: Myst sphinx extension
Browse files Browse the repository at this point in the history
Change-Id: Id5b8b70fd667318e79e99c1e21d92801aacaa254
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/116424
Reviewed-by: Chad Norvell <[email protected]>
Commit-Queue: Anthony DiGirolamo <[email protected]>
  • Loading branch information
AnthonyDiGirolamo authored and CQ Bot Account committed Oct 31, 2022
1 parent 865608e commit dadc6e1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import sphinx

# The suffix of source filenames.
source_suffix = ['.rst']
source_suffix = ['.rst', '.md']

# The master toctree document. # inclusive-language: ignore
master_doc = 'index'
Expand Down Expand Up @@ -46,6 +46,21 @@
'sphinxarg.ext', # Automatic documentation of Python argparse
'sphinxcontrib.mermaid',
'sphinx_design',
'myst_parser',
]

myst_enable_extensions = [
# "amsmath",
"colon_fence",
# "deflist",
"dollarmath",
# "html_admonition",
# "html_image",
# "linkify",
# "replacements",
# "smartquotes",
# "substitution",
# "tasklist",
]

_DIAG_HTML_IMAGE_FORMAT = 'SVG'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# pigweed.dev Sphinx themes
furo==2022.6.21
sphinx-design==0.2.0
myst-parser==0.18.1
# Renode requirements
psutil==5.9.1
robotframework==5.0.1

0 comments on commit dadc6e1

Please sign in to comment.