Preface¶
This is a pilot MkDocs conversion of the FEBio Theory Manual. The manual was originally authored in
LyX (FEBio_Theory_Manual.lyx) and has been converted to Markdown using a
custom, deterministic converter (tools/lyx2md.py) so that it can be published as a searchable, versioned static site with
MkDocs and the Material for MkDocs theme, following the
same conventions established by the FEBio Feature Manual build.
Use the navigation menu on the left to browse by chapter and section.
About this pilot¶
- Source:
source/FEBio_Theory_Manual.lyx, a vendored copy of the complete manual, checked into this repository so it builds standalone from a bare clone. Which chapters actually get converted into pages is controlled byCHAPTERS_TO_CONVERTintools/lyx2md.py. - Converter:
tools/lyx2md.py— a dependency-free, deterministic LyX → Markdown parser (seeREADME.mdfor details). - Bibliography: citations are resolved against
source/FEBio3.biband rendered as page-level Markdown footnotes. - Equations: rendered with MathJax via
pymdownx.arithmatex(genericmode), using the same\( ... \)/\[ ... \]delimiters andams▸\eqrefnumbering convention as the Feature Manual. Since each section is a separate page, a same-page\eqref{}is left for MathJax to resolve on its own, but a reference to an equation defined in a different section or chapter is resolved at build time to a link with an explicit page-local number, e.g.(2.5-35). - Figures: images that aren't part of the pilot's LyX/BibTeX inputs are fetched by
build.pyfrom the upstreamfebiosoftware/FEBiorepository at build time.
See CONVERSION_NOTES.md in the repository root for a per-section breakdown of what converted cleanly and what still needs a human
pass.