Skip to content

Commit

Permalink
Removed recommonmark infavor of myst-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
harisankar95 committed Feb 28, 2024
1 parent 3fb4c53 commit 1f16406
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build docs
run: |
pip install sphinx sphinx_rtd_theme recommonmark sphinx-autodoc-typehints sphinx-copybutton sphinx-prompt sphinx-notfound-page sphinx-autodoc-annotation
pip install sphinx sphinx_rtd_theme myst-parser sphinx-autodoc-typehints sphinx-copybutton sphinx-prompt sphinx-notfound-page
sphinx-build -b html docs/ ./public
cp -r docs/additional_resources/* ./public/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-and-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Build docs
run: |
pip install sphinx sphinx_rtd_theme recommonmark sphinx-autodoc-typehints sphinx-copybutton sphinx-prompt sphinx-notfound-page sphinx-autodoc-annotation
pip install sphinx sphinx_rtd_theme myst-parser sphinx-autodoc-typehints sphinx-copybutton sphinx-prompt sphinx-notfound-page
sphinx-build -b html docs/ ./public
cp -r docs/additional_resources/* ./public/
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog
# Version History

## 0.7.1

Expand Down
10 changes: 10 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,14 @@ div[class^='highlight'] {
border-radius: 5px;
padding: 2px 4px;
color: #333333;
}

/* Tables */
.wy-table-responsive table td,
.wy-table-responsive table th {
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
}
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@
"sphinx.ext.graphviz", # for graphviz
"sphinx.ext.mathjax", # for math
"sphinx_autodoc_typehints", # for type hints
"sphinx_autodoc_annotation", # for annotations
"sphinx_copybutton", # for copy button
"sphinx-prompt", # for prompt
"notfound.extension", # for 404 page
"recommonmark", # for markdown
"myst_parser", # for markdown
]

templates_path = ["_templates"]
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to pathfinding3d's documentation!
=========================================
Welcome to documentation of pathfinding3d!
==========================================

.. toctree::
:maxdepth: 3
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
"coverage",
"sphinx<=7.2.6",
"sphinx_rtd_theme",
"recommonmark",
"myst-parser",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-prompt",
"sphinx-notfound-page",
"sphinx-autodoc-annotation",
],
"vis": ["plotly"],
},
Expand Down

0 comments on commit 1f16406

Please sign in to comment.