mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

toctree directive doesn't accept options listed in the docs

Open fperez opened this issue 7 months ago • 0 comments
trafficstars

I have a document with a block that reads

:::{toctree}
:titlesonly:
:glob: attic
:::

But upon running myst start, I get at the terminal:

⚠️  research/index.md:147 unexpected option "titlesonly" provided for directive: toctree
⚠️  research/index.md:149 unexpected option "glob" provided for directive: toctree

Those options are listed in the docs as part of the toctree directive:

Image

fperez avatar Mar 29 '25 03:03 fperez