Skip to content

Commit

Permalink
Use MyST for parsing Markdown files in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mfasi committed Jan 11, 2025
1 parent 90e4955 commit 0fdd461
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:

- name: Install and Build
run: |
sudo apt install -y doxygen graphviz
pip install sphinx sphinx_rtd_theme breathe exhale m2r2
sudo apt install -y doxygen graphviz python3-sphinx python3-breathe python3-sphinx-rtd-theme python3-breathe python3-exhale python3-myst-parser
make docs
- name: Deploy
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'sphinx.ext.githubpages',
'breathe',
'exhale',
'm2r2',
'myst_parser',
]

# Setup the breathe extension
Expand Down
3 changes: 2 additions & 1 deletion docs/source/readme.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.. mdinclude:: ../../README.md
.. include:: ../../README.md
:parser: myst_parser.docutils_

0 comments on commit 0fdd461

Please sign in to comment.