Skip to content

Commit

Permalink
Remove m2r dependency for documentation
Browse files Browse the repository at this point in the history
M2R is not maintained anymore and myst-parser provides the same
functionality.
  • Loading branch information
schmoelder committed May 6, 2024
1 parent d2b4c27 commit beb3509
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@
'sphinx_sitemap',
'sphinxcontrib.bibtex',
'sphinx_multiversion',
'm2r',
"myst_parser",
]

# Bibliography
bibtex_bibfiles = ['literature.bib']
# Myst
source_suffix = {
".rst": "restructuredtext",
".txt": "markdown",
".md": "markdown",
}

# Multiversion
smv_released_pattern = r'^refs/tags/.*$' # Tags only
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_started/build_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Build for Linux
===============

.. mdinclude:: ../../BUILD-LINUX.md
.. literalinclude:: ../../BUILD-LINUX.md
2 changes: 1 addition & 1 deletion doc/getting_started/build_osx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Build for OSX
=============

.. mdinclude:: ../../BUILD-OSX.md
.. literalinclude:: ../../BUILD-OSX.md
2 changes: 1 addition & 1 deletion doc/getting_started/build_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Build for MS Windows
====================

.. mdinclude:: ../../BUILD-WINDOWS.md
.. literalinclude:: ../../BUILD-WINDOWS.md
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ sphinx
sphinx-sitemap
sphinxcontrib-bibtex
sphinx_multiversion
m2r
myst-parser

0 comments on commit beb3509

Please sign in to comment.