File tree 4 files changed +24
-0
lines changed
fixtures/OpenShiftAsciiDoc/NoTocInModules
4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ ; Vale configuration file to test the `NoTocInModules` rule
2
+ StylesPath = ../../../styles
3
+ MinAlertLevel = suggestion
4
+ [*.adoc]
5
+ OpenShiftAsciiDoc.NoTocInModules = YES
Original file line number Diff line number Diff line change
1
+ //vale-fixture
2
+ :_content-type: REFERENCE
3
+ [id="cli-basic-commands_{context} "]
4
+ = Basic CLI commands
5
+
6
+ toc::[]
Original file line number Diff line number Diff line change
1
+ //vale-fixture
2
+ :_content-type: REFERENCE
3
+ [id="cli-basic-commands_{context} "]
4
+ = Basic CLI commands
Original file line number Diff line number Diff line change
1
+ ---
2
+ extends : existence
3
+ scope : raw
4
+ level : error
5
+ nonword : true
6
+ link : https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#module-file-metadata
7
+ message : " Do not include TOCs in modules, only assemblies."
8
+ tokens :
9
+ - ' toc::\[\]'
You can’t perform that action at this time.
0 commit comments