Skip to content

Commit

Permalink
[Doc] Use MathJax instead of KaTeX
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 9, 2023
1 parent bfc26cf commit 25851e7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ jobs:
- name: Install Python dependencies
run: |
python3 -m pip install ruamel.yaml scons numpy cython sphinx==5.1.1 \
sphinxcontrib-katex sphinxcontrib-matlabdomain sphinxcontrib-doxylink pint \
sphinxcontrib-matlabdomain sphinxcontrib-doxylink pint \
pydata-sphinx-theme==0.13.3
- name: Build Cantera with documentation
run: python3 `which scons` build -j2 doxygen_docs=y sphinx_docs=y debug=n optimize=n use_pch=n
Expand Down
7 changes: 0 additions & 7 deletions doc/sphinx/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
div.math {
/* Fix equations to be centered instead of right aligned */
padding-right: unset;
flex-direction: unset;
justify-content: center;
}

p + div.math {
/* Remove post-paragraph space ahead of equation to center vertically */
margin-top: -1.15em;
Expand Down
1 change: 0 additions & 1 deletion doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
'sphinx.ext.todo',
'sphinx.ext.autosummary',
'sphinxcontrib.doxylink',
'sphinxcontrib.katex', # Use KaTeX because it's faster and the main site uses it
'sphinx.ext.intersphinx',
]

Expand Down

0 comments on commit 25851e7

Please sign in to comment.