Add pipeline checks for tabbed content
We added code for using tabs on the docs site.
Users might not follow the correct format when they contribute to content that has tabs, so we should do some pipeline checking/failing if the format is incorrect.
We can check for:
- Do we have an equal number of opening
::Tabs
and closing::EndTabs
elements? - Does each tab set contain between 2 and 6 tabs? (6 is sort of an arbitrary upper limit, open to other suggestions on that one)
We should make these updates to the pipelines in the four main repos. (GitLab, Charts, Omnibus, Runner)
Code example
::Tabs
:::TabTitle This is the first tab
Here's some content in tab panel one.
:::TabTitle Tab two
Here's some content in tab panel two.
::EndTabs
Edited by Sarah German