How oak runs MyST
MyST’s flags¶
oak build and oak start pass a subset of MyST’s flags on to MyST, such as --port, and refuse the others, for these reasons:
oak builds what the journal’s settings ask for, such as the PDF with the journal’s template and the website with its theme. MyST flags such as
--pdfor-owould change what is built or where it is written.A paper should build the same on every machine, and the CI workflows pass no MyST flags.[1]
Some flags need more than passing on. Running notebooks with
--executeneeds setup oak does not do yet.A small set of flags keeps oak simple to maintain as MyST changes.
Is there a feature you’d like for local use or testing? Open an issue to let us know.