-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy path.rumdl.toml
More file actions
137 lines (108 loc) · 3.72 KB
/
Copy path.rumdl.toml
File metadata and controls
137 lines (108 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# toml-language-server: $schema=https://raw.githubusercontent.com/rvben/rumdl/main/rumdl.schema.json
# rumdl configuration file
#
# Configuration reference: https://rumdl.dev/global-settings/
# Rules reference: https://rumdl.dev/rules/
# Inherit settings from another config file (relative to this file's directory)
# extends = "../base.rumdl.toml"
# Global configuration options
[global]
# List of rules to disable
# disable = ["MD013", "MD014", "MD033", "MD036"]
disable = [
"line-length",
"commands-show-output",
"no-inline-html",
"no-emphasis-as-heading",
"existing-relative-links", # fern check --broken-links handles link validation
]
# List of rules to enable exclusively (replaces defaults; only these rules will run)
# enable = ["MD001", "MD003", "MD004"]
# Additional rules to enable on top of defaults (additive, does not replace)
# Use this to activate opt-in rules like MD060, MD063, MD072, MD073, MD074
# extend-enable = ["MD060", "MD063"]
# Additional rules to disable on top of the disable list (additive)
# extend-disable = ["MD041"]
# List of file/directory patterns to include for linting (if provided, only these will be linted)
# include = [
# "docs/*.md",
# "src/**/*.md",
# "README.md"
# ]
# List of file/directory patterns to exclude from linting
exclude = [
".git",
".gitlab",
"node_modules",
"fern",
"docs/v0.5",
]
# Respect .gitignore files when scanning directories (default: true)
respect_gitignore = true
# Markdown flavor/dialect (uncomment to enable)
# Options: standard (default), gfm, commonmark, mkdocs, mdx, quarto
flavor = "mdx"
[per-file-flavor]
"docs/**/*.md" = "standard"
# Disable specific rules for specific files
[per-file-ignores]
"**/snippets/**/*.mdx" = ["MD041"] # Snippets don't need to start with an H1
# Rule-specific configurations
[MD004]
# Unordered list style (asterisk, plus, dash, consistent)
# after-marker default is 1 space after the marker
style = "consistent"
# after-marker = 1
[MD007]
# ul-indent
# indent = 4
style = "text-aligned"
[MD009]
# no-trailing-spaces
list_item_empty_lines = false
strict = false
[MD010]
# no-hard-tabs
spaces-per-tab = 4 # Number of spaces to replace each tab with (default: 4)
# [MD013]
# line-length = 100 # Line length
# code-blocks = false # Exclude code blocks from line length check
# tables = false # Exclude tables from line length check
# headings = true # Include headings in line length check
[MD024]
# no-duplicate-heading
siblings_only = true
[MD025]
level = 1 # The heading level that should be unique (default: 1)
front-matter-title = "title" # Regex pattern to match title in YAML front matter (default: "title")
allow-document-sections = true # Allow multiple H1s separated by --- thematic breaks (default: false)
allow-with-separators = true # Allow multiple H1s as document section titles (default: false)
[MD041]
# first-line-heading
level = 1
[MD044]
# names = ["NVCF", "NVIDIA"]
# code-blocks = false
[MD046]
# code-block-style
style = "fenced"
[MD048]
# code-fence-style
style = "backtick"
[MD054]
# link-image-style
# default is all true
autolink = false # Allow <https://example.com>
# inline = true # Allow [text](url) and 
# full = true # Allow [text][ref] with separate [ref]: url definition
# collapsed = true # Allow [text][] with separate [text]: url definition
# shortcut = true # Allow [text] with separate [text]: url definition
# url-inline = true # Allow [https://example.com](https://example.com)
[MD055]
# table-pipe-style
style = "leading_and_trailing"
[MD060]
# table-column-style
style = "compact"