-
Notifications
You must be signed in to change notification settings - Fork 664
/
mkdocs.yml
193 lines (187 loc) · 5.19 KB
/
mkdocs.yml
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
---
site_name: Ansible Lint Documentation
site_url: https://ansible.readthedocs.io/projects/lint/
repo_url: https://github.com/ansible/ansible-lint
edit_uri: blob/main/docs/
copyright: Copyright © 2023 Red Hat, Inc.
docs_dir: docs
strict: true
extra_css:
- stylesheets/extra.css
theme:
name: ansible
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
- header.autohide
- navigation.expand
- navigation.footer
- navigation.indexes
- navigation.instant
- navigation.path
- navigation.prune
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.integrate
extra:
social:
- icon: fontawesome/brands/python
link: https://pypi.org/project/ansible-lint/
name: PyPI
- icon: fontawesome/solid/scroll
link: https://github.com/ansible/ansible-lint/releases
name: Releases
- icon: simple/mastodon
link: https://fosstodon.org/@ansible
name: Mastodon
- icon: fontawesome/brands/twitter
link: https://twitter.com/ansible
name: Twitter
- icon: simple/matrix
link: https://matrix.to/#/#devtools:ansible.com
name: Matrix
- icon: fontawesome/brands/discourse
link: https://forum.ansible.com/c/project/7
name: Ansible forum
- icon: fontawesome/brands/github-alt
link: https://github.com/ansible/ansible-lint
name: GitHub
nav:
- Home:
- home: index.md
- Philosophy: philosophy.md
- usage.md
- Setup:
- installing.md
- configuring.md
- profiles.md
- autofix.md
- Rules:
- index: rules/index.md
- rules/args.md
- rules/avoid-implicit.md
- rules/complexity.md
- rules/command-instead-of-module.md
- rules/command-instead-of-shell.md
- rules/deprecated-bare-vars.md
- rules/deprecated-local-action.md
- rules/deprecated-module.md
- rules/empty-string-compare.md
- rules/fqcn.md
- rules/galaxy-version-incorrect.md
- rules/galaxy.md
- rules/ignore-errors.md
- rules/inline-env-var.md
- rules/internal-error.md
- rules/jinja.md
- rules/key-order.md
- rules/latest.md
- rules/literal-compare.md
- rules/load-failure.md
- rules/loop-var-prefix.md
- rules/meta-incorrect.md
- rules/meta-no-tags.md
- rules/meta-runtime.md
- rules/meta-video-links.md
- rules/name.md
- rules/no-changed-when.md
- rules/no-free-form.md
- rules/no-handler.md
- rules/no-jinja-when.md
- rules/no-log-password.md
- rules/no-prompting.md
- rules/no-relative-paths.md
- rules/no-same-owner.md
- rules/no-tabs.md
- rules/only-builtins.md
- rules/package-latest.md
- rules/parser-error.md
- rules/partial-become.md
- rules/playbook-extension.md
- rules/risky-file-permissions.md
- rules/risky-octal.md
- rules/risky-shell-pipe.md
- rules/role-name.md
- rules/run-once.md
- rules/sanity.md
- rules/schema.md
- rules/syntax-check.md
- rules/var-naming.md
- rules/warning.md
- rules/yaml.md
- Developer Guide:
- Contributing: contributing.md
- custom-rules.md
exclude_docs: |
_autofix_rules.md
plugins:
- autorefs
- macros:
modules: [mkdocs-ansible:mkdocs_ansible]
render_by_default: false
- markdown-exec
- gen-files:
scripts:
- tools/generate_docs.py
- material/search:
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- material/social
- material/tags
# https://github.com/manuzhang/mkdocs-htmlproofer-plugin
# - htmlproofer
- mkdocstrings:
handlers:
python:
paths: [src]
options:
# Sphinx is for historical reasons, but we could consider switching if needed
# https://mkdocstrings.github.io/griffe/docstrings/
docstring_style: sphinx
merge_init_into_class: yes
show_submodules: yes
import:
- url: https://docs.ansible.com/ansible/latest/objects.inv
domains: [py, std]
markdown_extensions:
- markdown_include.include:
base_path: docs
- admonition
- def_list
- footnotes
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
social_url_shorthand: true
social_url_shortener: true
user: facelessuser
repo: pymdown-extensions
normalize_issue_symbols: true
- pymdownx.tabbed:
alternate_style: true
- toc:
toc_depth: 2
permalink: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- name: python
class: python
validator: !!python/name:markdown_exec.validator
format: !!python/name:markdown_exec.formatter