Skip to content

Commit

Permalink
DOC: Use myst-parser for README
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Jun 18, 2024
1 parent 74b02c4 commit 0fbe498
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
"myst_parser",
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
Expand Down
3 changes: 2 additions & 1 deletion docs/readme.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.. include:: ../README.rst
.. include:: ../README.md
:parser: myst_parser.sphinx_
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ tests = [
"types-PyYAML",
]
docs = [
"myst-parser",
"sphinx",
"sphinx-argparse",
"sphinx-autodoc-typehints",
Expand Down Expand Up @@ -128,4 +129,4 @@ select = [
]

[tool.ruff.lint.isort]
combine-as-imports = true
combine-as-imports = true

0 comments on commit 0fbe498

Please sign in to comment.