mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 04:48:46 +00:00
Add linting check for RST code blocks. Fix code block languages.
This commit is contained in:
parent
ae1d457b49
commit
c1df4bc8da
@ -32,6 +32,15 @@ run_mypy = false
|
||||
|
||||
[sessions.docs_check]
|
||||
validate_collection_refs="all"
|
||||
codeblocks_restrict_types = [
|
||||
"ansible-output",
|
||||
"console",
|
||||
"yaml",
|
||||
"yaml+jinja",
|
||||
]
|
||||
codeblocks_restrict_type_exact_case = true
|
||||
codeblocks_allow_without_type = false
|
||||
codeblocks_allow_literal_blocks = false
|
||||
|
||||
[sessions.license_check]
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@ Note that plugins (inventory plugins and connection plugins) are always executed
|
||||
|
||||
You can install the Docker SDK for Python for Python 3.6 or later as follows:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install docker
|
||||
|
||||
For Python 2.7, you need to use a version between 2.0.0 and 4.4.4 since the Python package for Docker removed support for Python 2.7 on 5.0.0. You can install the specific version of the Docker SDK for Python as follows:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install 'docker==4.4.4'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user