This repo contains the MFEM website MkDocs sources.
To make changes to the website you will need an install of Python version >= 3.6.9 and < 3.10 with the following libraries:
pip install --upgrade --user mkdocs==1.0.4
pip install --upgrade --user Markdown==3.0
pip install --upgrade --user PyYAML
pip install --upgrade --user mkdocs-exclude-search
pip install --upgrade --user "jinja2<3.1.0"
python3 -m venv mfem-web-venv
. ./mfem-web-venv/bin/activate
pip install -r requirements.txt
pip show mkdocs
)mkdocs-material
installed which may conflict with regular mkdocs
.md
files (you may also need to update the mkdocs.yml
config),mkdocs serve
(Windows users may need to specify a port, such as mkdocs serve --dev-addr 127.0.0.1:4000
),mkdocs gh-deploy
.tag-howto
, tag-gettingstarted
, tag-fem
, tag-mesh
each of which has a base page, e.g. howto-index.md
for tag-howto
.fem.md
.template/toc.html
.features.md
img/examples/
, e.g. img/examples/ex1.png
examples.md
following the description at the top of the C++ fileupdate
function at the end of examples.md
<option>
tag at the top of examples.md
, e.g.
<option id="wave">Wave</option>
id
in filter expressions of appropriate examples in update
, e.g.
showElement("ex25", (maxwell || wave) && hcurl && galerkin && (gmres || ams));
features.md
(if we want to advertise the miniapp to users)img/examples/
, e.g. img/examples/shaper.png
examples.md
following the description at the top of the C++ fileupdate
function at the end of examples.md
meshing-miniapps.md