mcDOC(1)

πŸ“¦
version 3.5+3.5.19 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute

πŸ’– 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/.comp file. 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