Remove redundant "Sanity Tests »" from page title.

The docs now have multi-level breadcrumbs so including "Sanity Tests »" in the title on a sanity test page is redundant.
This commit is contained in:
Matt Clay 2019-07-26 08:51:09 -07:00
parent 2f6de3aea4
commit b4494fa547
50 changed files with 100 additions and 100 deletions

View file

@ -1,4 +1,4 @@
Sanity Tests » action-plugin-docs
=================================
action-plugin-docs
==================
Each action plugin should have a matching module of the same name to provide documentation.

View file

@ -1,4 +1,4 @@
Sanity Tests » ansible-doc
==========================
ansible-doc
===========
Verifies that ``ansible-doc`` can parse module documentation on all supported Python versions.

View file

@ -1,6 +1,6 @@
:orphan:
Sanity Tests » ansible-var-precedence-check
===========================================
ansible-var-precedence-check
============================
Check the order of precedence for Ansible variables against :ref:`ansible_variable_precedence`.

View file

@ -1,5 +1,5 @@
Sanity Tests » azure-requirements
=================================
azure-requirements
==================
Update the Azure integration test requirements file when changes are made to the Azure packaging requirements file:

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » boilerplate
==========================
boilerplate
===========
Most Python files should include the following boilerplate:

View file

@ -1,4 +1,4 @@
Sanity Tests » botmeta
======================
botmeta
=======
Verifies that ``./github/BOTMETA.yml`` is valid.

View file

@ -1,5 +1,5 @@
Sanity Tests » changelog
========================
changelog
=========
Basic linting of changelog fragments with yamllint and rstcheck.

View file

@ -1,4 +1,4 @@
Sanity Tests » compile
======================
compile
=======
See :ref:`testing_compile` for more information.

View file

@ -1,5 +1,5 @@
Sanity Tests » configure-remoting-ps1
=====================================
configure-remoting-ps1
======================
The file ``examples/scripts/ConfigureRemotingForAnsible.ps1`` is required and must be a regular file.
It is used by external automated processes and cannot be moved, renamed or replaced with a symbolic link.

View file

@ -1,6 +1,6 @@
:orphan:
Sanity Tests » deprecated-config
================================
deprecated-config
=================
``DOCUMENTATION`` config is scheduled for removal

View file

@ -1,4 +1,4 @@
Sanity Tests » docs-build
=========================
docs-build
==========
Verifies that ``make singlehtmldocs`` in ``docs/docsite/`` completes without errors.

View file

@ -1,5 +1,5 @@
Sanity Tests » empty-init
=========================
empty-init
==========
The ``__init__.py`` files under the following directories must be empty. For some of these (modules
and tests), ``__init__.py`` files with code won't be used. For others (module_utils), we want the

View file

@ -1,5 +1,5 @@
Sanity Tests » future-import-boilerplate
========================================
future-import-boilerplate
=========================
Most Python files should include the following boilerplate at the top of the file, right after the
comment header:

View file

@ -1,5 +1,5 @@
Sanity Tests » ignores
======================
ignores
=======
Sanity tests for individual files can be skipped, and specific errors can be ignored.

View file

@ -1,5 +1,5 @@
Sanity Tests » import
=====================
import
======
All Python imports in ``lib/ansible/modules/`` and ``lib/ansible/module_utils/`` which are not from the Python standard library
must be imported in a try/except ImportError block.

View file

@ -1,5 +1,5 @@
Sanity Tests » integration-aliases
==================================
integration-aliases
===================
Integration tests are executed by ``ansible-test`` and reside in directories under ``test/integration/targets/``.
Each test MUST have an ``aliases`` file to control test execution.

View file

@ -1,4 +1,4 @@
Sanity Tests » line-endings
===========================
line-endings
============
All files must use ``\n`` for line endings instead of ``\r\n``.

View file

@ -1,5 +1,5 @@
Sanity Tests » metaclass-boilerplate
====================================
metaclass-boilerplate
=====================
Most Python files should include the following boilerplate at the top of the file, right after the
comment header and ``from __future__ import``:

View file

@ -1,5 +1,5 @@
Sanity Tests » no-assert
========================
no-assert
=========
Do not use ``assert`` in production Ansible python code. When running Python
with optimizations, Python will remove ``assert`` statements, potentially

View file

@ -1,5 +1,5 @@
Sanity Tests » no-basestring
============================
no-basestring
=============
Do not use ``isinstance(s, basestring)`` as basestring has been removed in
Python3. You can import ``string_types``, ``binary_type``, or ``text_type``

View file

@ -1,5 +1,5 @@
Sanity Tests » no-dict-iteritems
================================
no-dict-iteritems
=================
The ``dict.iteritems`` method has been removed in Python 3. There are two recommended alternatives:

View file

@ -1,5 +1,5 @@
Sanity Tests » no-dict-iterkeys
===============================
no-dict-iterkeys
================
The ``dict.iterkeys`` method has been removed in Python 3. Use the following instead:

View file

@ -1,5 +1,5 @@
Sanity Tests » no-dict-itervalues
=================================
no-dict-itervalues
==================
The ``dict.itervalues`` method has been removed in Python 3. There are two recommended alternatives:

View file

@ -1,5 +1,5 @@
Sanity Tests » no-get-exception
===============================
no-get-exception
================
We created a function, ``ansible.module_utils.pycompat24.get_exception`` to
help retrieve exceptions in a manner compatible with Python 2.4 through

View file

@ -1,5 +1,5 @@
Sanity Tests » no-illegal-filenames
===================================
no-illegal-filenames
====================
Files and directories should not contain illegal characters or names so that
Ansible can be checked out on any Operating System.

View file

@ -1,5 +1,5 @@
Sanity Tests » no-main-display
==============================
no-main-display
===============
As of Ansible 2.8, ``Display`` should no longer be imported from ``__main__``.

View file

@ -1,4 +1,4 @@
Sanity Tests » no-smart-quotes
==============================
no-smart-quotes
===============
Smart quotes (``”“‘’``) should not be used. Use plain ascii quotes (``"'``) instead.

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » no-tests-as-filters
==================================
no-tests-as-filters
===================
Using Ansible provided Jinja2 tests as filters will be removed in Ansible 2.9.

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » no-underscore-variable
=====================================
no-underscore-variable
======================
In the future, Ansible may use the identifier ``_`` to internationalize its
message strings. To be ready for that, we need to make sure that there are

View file

@ -1,5 +1,5 @@
Sanity Tests » no-unicode_literals
==================================
no-unicode_literals
===================
The use of :code:`from __future__ import unicode_literals` has been deemed an anti-pattern. The
problems with it are:

View file

@ -1,5 +1,5 @@
Sanity Tests » no-unwanted-files
================================
no-unwanted-files
=================
Specific file types are allowed in certain directories:

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » no-wildcard-import
=================================
no-wildcard-import
==================
Using :code:`import *` is a bad habit which pollutes your namespace, hinders
debugging, and interferes with static analysis of code. For those reasons, we

View file

@ -1,5 +1,5 @@
Sanity Tests » package-data
===========================
package-data
============
Verifies that the combination of ``MANIFEST.in`` and ``package_data`` from ``setup.py``
properly installs data files from within ``lib/ansible``

View file

@ -1,5 +1,5 @@
Sanity Tests » pep8
===================
pep8
====
Python static analysis for PEP 8 style guideline compliance.

View file

@ -1,4 +1,4 @@
Sanity Tests » pslint
=====================
pslint
======
PowerShell static analysis for common programming errors using `PSScriptAnalyzer <https://github.com/PowerShell/PSScriptAnalyzer/>`_.

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » pylint-ansible-test
==================================
pylint-ansible-test
===================
Python static analysis for common programming errors.

View file

@ -1,4 +1,4 @@
Sanity Tests » pylint
=====================
pylint
======
Python static analysis for common programming errors.

View file

@ -1,4 +1,4 @@
Sanity Tests » replace-urlopen
==============================
replace-urlopen
===============
Use ``open_url`` from ``module_utils`` instead of ``urlopen``.

View file

@ -1,5 +1,5 @@
Sanity Tests » required-and-default-attributes
==============================================
required-and-default-attributes
===============================
Use only one of ``default`` or ``required`` with ``FieldAttribute``.

View file

@ -1,4 +1,4 @@
Sanity Tests » rstcheck
=======================
rstcheck
========
Check reStructuredText files for syntax and formatting issues.

View file

@ -1,4 +1,4 @@
Sanity Tests » sanity-docs
==========================
sanity-docs
===========
Documentation for each ``ansible-test sanity`` test is required.

View file

@ -1,5 +1,5 @@
Sanity Tests » shebang
======================
shebang
=======
Most executable files should only use one of the following shebangs:

View file

@ -1,4 +1,4 @@
Sanity Tests » shellcheck
=========================
shellcheck
==========
Static code analysis for shell scripts using the excellent `shellcheck <https://www.shellcheck.net/>`_ tool.

View file

@ -1,5 +1,5 @@
Sanity Tests » symlinks
=======================
symlinks
========
Symbolic links are only permitted for files that exist to ensure proper tarball generation during a release.

View file

@ -1,4 +1,4 @@
Sanity Tests » test-constraints
===============================
test-constraints
================
Constraints for test requirements should be in ``test/runner/requirements/constraints.txt``.

View file

@ -1,7 +1,7 @@
:orphan:
Sanity Tests » update-bundled
=============================
update-bundled
==============
Check whether any of our known bundled code needs to be updated for a new upstream release.

View file

@ -1,5 +1,5 @@
Sanity Tests » use-argspec-type-path
====================================
use-argspec-type-path
=====================
The AnsibleModule argument_spec knows of several types beyond the standard python types. One of
these is ``path``. When used, type ``path`` ensures that an argument is a string and expands any

View file

@ -1,4 +1,4 @@
Sanity Tests » use-compat-six
=============================
use-compat-six
==============
Use ``six`` from ``module_utils`` instead of ``six``.

View file

@ -1,5 +1,5 @@
Sanity Tests » validate-modules
===============================
validate-modules
================
Analyze modules for common issues in code and documentation.

View file

@ -1,4 +1,4 @@
Sanity Tests » yamllint
=======================
yamllint
========
Check YAML files for syntax and formatting issues.