Skip to content

Commit 6c57611

Browse files
authored
Move rumdl config to pyproject.toml (#53)
1 parent 635982c commit 6c57611

2 files changed

Lines changed: 26 additions & 25 deletions

File tree

.rumdl.toml

Lines changed: 0 additions & 25 deletions
This file was deleted.

pyproject.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,29 @@ translate = [
2525
docs = [
2626
"beeware-docs-tools @ git+https://github.com/beeware/beeware-docs-tools",
2727
]
28+
29+
[tool.rumdl]
30+
flavor = "mkdocs"
31+
include = ["**/*.md"]
32+
exclude = ["CODE_OF_CONDUCT.md"]
33+
respect-gitignore = true
34+
35+
# Disable rules:
36+
# MD013: Enforces line length
37+
# MD014: Forces commands in codeblocks to show output
38+
disable = ["MD014",]
39+
40+
[tool.rumdl.per-file-ignores]
41+
"docs/en/how-to/style-guide.md" = ["MD041"]
42+
"docs/en/SUMMARY.md" = ["MD041"]
43+
44+
[tool.rumdl.MD026] # Remove punctuation at the end of headings
45+
punctuation = ",;:"
46+
47+
[tool.rumdl.MD033] # No inline HTML
48+
allowed_elements = ["nospell",] # pyspelling inline disable tag
49+
50+
[tool.rumdl.MD013] # Line length
51+
line_length = 999999
52+
reflow = true
53+
reflow_mode = "normalize"

0 commit comments

Comments
 (0)