Skip to content

Commit

Permalink
Update javadoc-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdwatters authored Feb 14, 2025
1 parent c69f9b1 commit 9ccd778
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/javadoc-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ jobs:
mvn clean install
mvn javadoc:javadoc \
-Dmaven.javadoc.failOnError=false \
-Dmaven.javadoc.skip=false \
-header "<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>"
-Dmaven.javadoc.skip=false
# - name: Inject MathJax script
# # Adjust path to where your Javadoc output is actually generated
# run: |
# find target/reports/apidocs -type f -name "*.html" -exec \
# sed -i '/<\/head>/i <script type="text/javascript" id="MathJax-script" async \
# src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"> \
# </script>' {} +
- name: Inject MathJax script
run: |
find target/reports/apidocs -type f -name "*.html" -exec \
sed -i '/<\/head>/i <script type="text/javascript" id="MathJax-script" async \
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"> \
</script>' {} +
- name: Upload Pages Artifact
# This action collects the directory containing docs
Expand Down

0 comments on commit 9ccd778

Please sign in to comment.