diff options
Diffstat (limited to 'debian/patches/docs.diff')
-rw-r--r-- | debian/patches/docs.diff | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/debian/patches/docs.diff b/debian/patches/docs.diff new file mode 100644 index 0000000..d17c88c --- /dev/null +++ b/debian/patches/docs.diff @@ -0,0 +1,62 @@ +Description: clean docs + Remove content unsuitable for Debian +Author: Philipp Huebner <debalance@debian.org> + +Index: yamllint/docs/quickstart.rst +=================================================================== +--- yamllint.orig/docs/quickstart.rst ++++ yamllint/docs/quickstart.rst +@@ -1,53 +1,6 @@ + Quickstart + ========== + +-Installing yamllint +-------------------- +- +-On Fedora / CentOS (note: `EPEL <https://docs.fedoraproject.org/en-US/epel/>`_ is +-required on CentOS): +- +-.. code:: bash +- +- sudo dnf install yamllint +- +-On Debian 8+ / Ubuntu 16.04+: +- +-.. code:: bash +- +- sudo apt-get install yamllint +- +-On Mac OS 10.11+: +- +-.. code:: bash +- +- brew install yamllint +- +-On FreeBSD: +- +-.. code:: sh +- +- pkg install py36-yamllint +- +-On OpenBSD: +- +-.. code:: sh +- +- doas pkg_add py3-yamllint +- +-Alternatively using pip, the Python package manager: +- +-.. code:: bash +- +- pip install --user yamllint +- +-If you prefer installing from source, you can run, from the source directory: +- +-.. code:: bash +- +- python -m build +- pip install --user dist/yamllint-*.tar.gz +- + Running yamllint + ---------------- + |