disable spellchecker for 'highlight' shortcodes

This commit is contained in:
Robert Kaussow 2020-06-07 16:29:44 +02:00
parent a5b3eab603
commit 1b65cb43c8
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
8 changed files with 22 additions and 21 deletions

View File

@ -1,21 +1,9 @@
([a-zA-Z0-9]+[_=])+\S+
@\S+
.py
Ansible
Bott
CLI
Jinja2
Kaussow
PyPI
YAML
Yaml
ansible-.+
basename
config
dir
SELinux
subfolder
sudo
xoxys
option1:option2
todo
ansible-.+

View File

@ -6,8 +6,8 @@ _ansible-doctor_ comes with default settings which should be sufficient for most
Changes can be made on different locations which will be processed in the following order (last wins):
- default config (build-in)
- global config file (path depends on your operating system)
- folder-based config file (.ansibledoctor.yml|.ansibledoctor.yaml|.ansibledoctor in current working dir)
- default configuration (build-in)
- global configuration file (path depends on your operating system)
- folder-based configuration file (.ansibledoctor.yml|.ansibledoctor.yaml|.ansibledoctor in current working directory)
- environment variables
- CLI options

View File

@ -5,6 +5,7 @@ title: CLI options
You can get all available CLI options by running `ansible-doctor --help`:
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< highlight Shell "linenos=table" >}}
$ ansible-doctor --help
usage: ansible-doctor [-h] [-c CONFIG_FILE] [-o OUTPUT_DIR] [-f] [-d] [-v]
@ -28,4 +29,5 @@ optional arguments:
-q decrease log level
--version show program's version number and exit
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->

View File

@ -4,6 +4,7 @@ title: Default settings
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- spellchecker-disable -->
{{< highlight YAML "linenos=table" >}}
---
# default is your current working dir
@ -38,5 +39,6 @@ exclude_files: []
# - molecule/
# - files/**/*.py
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

View File

@ -3,6 +3,7 @@ title: Environment Variables
---
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< highlight Shell "linenos=table" >}}
ANSIBLE_DOCTOR_CONFIG_FILE=
ANSIBLE_DOCTOR_ROLE_DIR=
@ -18,4 +19,5 @@ ANSIBLE_DOCTOR_CUSTOM_HEADER=
ANSIBLE_DOCTOR_EXCLUDE_FILES=
ANSIBLE_DOCTOR_EXCLUDE_FILES=molecule/,files/**/*.py
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->

View File

@ -3,6 +3,7 @@ title: Using docker
---
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< highlight Shell "linenos=table" >}}
docker run \
-e ANSIBLE_DOCTOR_ROLE_DIR=example/demo-role/ \
@ -15,6 +16,7 @@ docker run \
-w /doctor \
xoxys/ansible-doctor
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->
{{< hint info >}}

View File

@ -4,6 +4,7 @@ title: Using pip
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- spellchecker-disable -->
{{< highlight Shell "linenos=table" >}}
# From PyPI as unprivileged user
$ pip install ansible-doctor --user
@ -14,5 +15,6 @@ $ sudo pip install ansible-doctor
# From Wheel file
$ pip install https://github.com/xoxys/ansible-doctor/releases/download/v0.1.1/ansible_doctor-0.1.1-py2.py3-none-any.whl
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

View File

@ -6,7 +6,7 @@ title: Usage
ansible-doctor FOLDER
```
If you don't pass a folder to _ansible-doctor_ your current working directory will be used. The first step is to identify if the given folder is an Ansible role. This check is very simple, if the folder contains a subfolder called `tasks` is MUST be an Ansible role! :)
If you don't pass a folder to _ansible-doctor_ your current working directory will be used. The first step is to identify if the given folder is an Ansible role. This check is very simple, if the folder contains a sub-directory called `tasks` is MUST be an Ansible role! :)
After the successful check, _ansible-doctor_ will try to read some static files into a dictionary:
@ -17,6 +17,7 @@ This will be the base result set which is used as data source for every output t
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- spellchecker-disable -->
{{< highlight Yaml "linenos=table" >}}
# @identifier option1:option2: <value>
@ -28,12 +29,14 @@ This will be the base result set which is used as data source for every output t
# @end
docker_registry_password: "secret"
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
These list of predefined identifiers is currently available:
- @meta
- @todo
- @var
- @tag
- `@meta`
- `@todo`
- `@var`
- `@tag`