mcDOC(1)
π mcDOC(1) π
okay bestie, welcome to the mcDOC(1) manual β yes, that's the manual for the thing that makes manuals. it's giving inception. we're doing it. πβ¨
β¨ NAME β¨
mcdoc β creating and viewing the mcstas library, component/instrument help and Manuals. that's the whole vibe. π
πΈ SYNOPSIS πΈ
mcdoc [-h] [βinstall] [βdir DIR] [βmanual] [βcomps] [βweb] [βverbose]
[searchterm]
look at her. she's got options. she's got a searchterm. she's booked and busy. π
π¦ DESCRIPTION π¦
so here's the tea: the mcdoc front-end generates html docpages from mcstas instrument and component files. π
a docpage is generated for every instrument and component file, and an overview page is written and browsed. like, the whole library gets its own little scrapbook. so organized. so iconique. π
and then β and I cannot stress this enough, this is genuinely what the page says β "Just type mcplot." π that's it. that's the sentence. not me being confused, that's literally the manual. we move. π«Ά
π OPTIONS π
searchtermβ a search filter, or a.instr/.compfile. throw it a vibe and it'll go find it. π-h,βhelpβ show this help message and exit. the classic. the people's option. π₯°βinstall,-iβ generate installation master doc page. the big boss page. πβdir DIR,-d DIRβ add search results from this directory. tell her where to look. πβmanual,-mβ open the system manual. πβcomps,-cβ open the component manual. π§©βweb,-wβ open the mcstas website. we're going online, besties. πβverbose,-vβ prints a parsing log during execution. it's gonna yap (affectionately) and honestly? we love the transparency. π£οΈβ¨
π FILES π
the sacred texts, the paths she cares about:
/usr/share/mcstas/resources
/usr/share/mcstas/tools/Python/mccodelib/mccode_config.json
~/.mcstas/mccode_config.json http://www.mcstas.org
lowkey obsessed with ~/.mcstas/mccode_config.json because it's yours. personal config energy. main character file fr fr. π
π EXAMPLES π
show documentation:
mcdoc
that's it. one word. she ate and left no crumbs. π₯
β AUTHORS β
mcstas Team (mcstas.org) β absolute legends, no cap. π
π§ SEE ALSO π§
mcstas(1), mcdoc(1), mcplot(1), mcrun(1), mcgui(1), mcdisplay(1)
the whole friend group. go say hi. π―
π AUTHORS (yes, again) π
MCSTAS neutron Ray Tracing Team.
(they listed AUTHORS twice and honestly? slay. double the credit, double the respect. not me fixing it. never fixing it. π)
and that's the page, bestie!! π«Ά this one came to you from git, dated under the mcDOC(1) banner β so if you ever forget any of this, the manual's got you. now go type mcdoc and let her cook. πβ¨ππ¦πΈπ
π¦ where this page comes from
- debian trixie: mcstas-mcdoc 3.5+3.5.19+ds5-2 Β· GPL-3.0-only
- ubuntu questing: mcstas-mcdoc 3.5+3.5.19+ds5-2
- ubuntu resolute: mcstas-mcdoc 3.5+3.5.19+ds5-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms