How would you modify a TOC at build time? #9943
Unanswered
DavidMarquezF
asked this question in
Q&A
Replies: 1 comment
-
It can customize generated TOCs on build-time by adding
Thought by this approach. it can access TOC items metadata. But can't read cmd parameters. Note Currently |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our docs we have some articles that should get excluded depending on a metadata field in the TOC items and a parameter passed to the cmd. From my understanding this should probably be achievable by using document processors. I was looking for a way to extend the TocDocumentProcessor or add another Toc build step, but I'm not sure which is the way to go.
Has anybody tried to do something similar or has any recommendations on how to approach it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions