Skip to content

Commit 3475560

Browse files
committed
Update mathjax cdn, fix header links, and clean up web gen script
1 parent b1e9535 commit 3475560

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

gen-website

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,20 @@ cmake -DCMAKE_INSTALL_PREFIX=/opt/biogears/usr -DBiogears_BUILD_WEBSITE=ON -DBio
99
cd runtime
1010

1111
echo "Finished building BioGears"
12-
sleep 5
1312

1413
if [ "${GENSTATES}" == "true" ]; then
1514
echo "Running cmd_bio GENSTATES ..."
1615
../outputs/Release/bin/cmd_bio GENSTATES
1716
fi
1817

1918
echo "Passed GENSTATES"
20-
sleep 5
2119

2220
if [ "${VALIDATE}" == "true" ]; then
2321
echo "Running cmd_bio VALIDATE all ..."
2422
../outputs/Release/bin/cmd_bio VALIDATE all
2523
fi
2624

2725
echo "Passed VALIDATE"
28-
sleep 5
2926

3027
# Only run if starting from a clean build of BioGears... running and validating everything from scratch
3128

@@ -34,25 +31,21 @@ echo "Running cmd_bio GENTABLES ..."
3431
../outputs/Release/bin/cmd_bio GENTABLES all
3532

3633
echo "Passed GENTABLES"
37-
sleep 5
3834

3935
# Copy non-regenerated files from share/website into runtime and reorganizes files in runtime+
4036
python3 ../../share/website/WebsiteGenerationPreProcess.py /opt/biogears/core/share/website /opt/biogears/core/build/runtime
4137

4238
echo "Passed WebGenPreProcess"
43-
sleep 5
4439

4540
# Preprocess MD files for website generation and create graphs
4641
cmake --build .. --target docs-prepare
4742

4843
echo "Passed docs-prepare"
49-
sleep 5
5044

5145
# Run Doxygen
5246
cmake --build .. --target docs-doxygen
5347

5448
echo "Passed docs-doxygen"
55-
sleep 5
5649

5750
# Copy files into documentation folder
5851
cmake --build .. --target docs-stage

share/doc/doxygen/doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ MATHJAX_FORMAT = HTML-CSS
14861486
# The default value is: http://cdn.mathjax.org/mathjax/latest.
14871487
# This tag requires that the tag USE_MATHJAX is set to YES.
14881488

1489-
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
1489+
MATHJAX_RELPATH = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js
14901490

14911491
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
14921492
# extension names that should be enabled during MathJax rendering. For example

share/doc/doxygen/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<span class="icon-bar"></span>
4444
<span class="icon-bar"></span>
4545
</button>
46-
<a class="navbar-brand hidden-sm" href="./"><img style='margin-top: -8px !important;height: 40px !important;' src='./images/biogears_logoWT.png' /></a>
47-
<a class="navbar-brand visible-sm" style='margin-left: -30px !important;width: 60px !important;' href="./"><img style='margin-top: -10px !important;height: 40px !important;' src='./images/bg_symbolWT.png' /></a>
46+
<a class="navbar-brand hidden-sm" href="/"><img style='margin-top: -8px !important;height: 40px !important;' src='./images/biogears_logoWT.png' /></a>
47+
<a class="navbar-brand visible-sm" style='margin-left: -30px !important;width: 60px !important;' href="/"><img style='margin-top: -10px !important;height: 40px !important;' src='./images/bg_symbolWT.png' /></a>
4848
</div>
4949
<div class="collapse navbar-collapse">
5050
<!-- Left -->

0 commit comments

Comments
 (0)