Skip to content

Commit fe4adb0

Browse files
authored
Merge pull request #661 from rohennes/660-toc-openshift
2 parents 1ecef7e + a85dd60 commit fe4adb0

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
; Vale configuration file to test the `NoTocInModules` rule
2+
StylesPath = ../../../styles
3+
MinAlertLevel = suggestion
4+
[*.adoc]
5+
OpenShiftAsciiDoc.NoTocInModules = YES
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//vale-fixture
2+
:_content-type: REFERENCE
3+
[id="cli-basic-commands_{context}"]
4+
= Basic CLI commands
5+
6+
toc::[]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//vale-fixture
2+
:_content-type: REFERENCE
3+
[id="cli-basic-commands_{context}"]
4+
= Basic CLI commands
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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::\[\]'

0 commit comments

Comments
 (0)