McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


mcdoc / mxdoc

← back to overview

mcdoc / mxdoc

Generates browsable documentation for installed and local instrument/component files, under tools/Python/mcdoc.

Option Description
searchterm (optional) search filter, or a specific .instr/.comp filename
-i, --install generate the full installation master doc page
-d, --dir DIR also include search results from DIR (local instruments/components)
-m, --manual open the user manual PDF
-c, --comps open the component manual PDF
-w, --web open the McStas/McXtrace website
-v, --verbose print a parsing log during execution
-M, --md also emit Markdown (.md) doc files (HTML is always written)
-T, --tex also emit LaTeX (.tex) doc files
-A, --all-formats emit HTML, Markdown, and LaTeX together
--in-repo place output next to the source files instead of the installed docdir (no master page)
-o, --outdir DIR write results to DIR (in-repo use only)

(No searchterm/--install/--manual/--comps/--web at all → browse the existing installed docs directly.)


← back to overview


Last Modified: Friday, 11-Sep-2026 15:00:08 CEST
Search website mailinglist archive GitHub repos