8000 GitHub - rizwan-241/ansible-documentation: Ansible community documentation
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rizwan-241/ansible-documentation

 
 

Repository files navigation

ansible-documentation

This repository holds the ReStructuredText (RST) source, and other files, for user documentation related to the Ansible package and Ansible Core.

Documentation for modules and plugins that are officially supported by the Ansible Core engineering team is available in the ansible/ansible repository.

Building Ansible community documentation

Follow the documentation to set up your environment and then build Ansible community documentation locally

Using nox

This project includes a nox configuration to automate checks and other functions. You should use nox to run checks locally before you submit a pull request.

Install nox using python3 -m pip install nox or your distribution's package manager.

Run nox --list from the repository root to view available sessions.

Run nox with no arguments to execute the default sessions.

Running the spelling check

This repository uses codespell to check for common spelling mistakes in the documentation source.

Run nox -s spelling to check spelling.

Run nox -s spelling -- -w to correct spelling errors.

When codespell suggests more than one word as a correction, run nox -s spelling -- -w -i 3 to select an option.

Updating the dependencies

To update dependencies, you can use nox -e pip-compile. Since this requires Python 3.10, this might not work in your environment if you do not have Python 3.10 installed. In that case, you can use root-less podman with a Python 3.10 image:

podman run --rm --tty --volume "$(pwd):/mnt:z" --workdir /mnt python:3.10 bash -c 'pip install nox ; nox -e pip-compile'

About

Ansible community documentation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.9%
  • Shell 4.1%
  • Jinja 2.0%
0