From: Anil Belur Date: Fri, 2 Apr 2021 21:48:48 +0000 (+1000) Subject: Add workaround for GH black stable branch X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F67310%2F2;p=releng%2Fdocs.git Add workaround for GH black stable branch The 'stable' branch on black repo has been removed. Add workaround to point to branch/rev to '20.8b1' until the issue is resolved. Update broken link. GH Issue: https://github.com/psf/black/issues/2079 Change-Id: Ide90eecd3d0a5175a0a67568dbca87a3f8fd7c99 Signed-off-by: Anil Belur --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7038de5..64926ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: gitlint - repo: https://github.com/ambv/black - rev: stable + rev: 20.8b1 hooks: - id: black diff --git a/docs/project-documentation.rst b/docs/project-documentation.rst index f601b48..dee008e 100644 --- a/docs/project-documentation.rst +++ b/docs/project-documentation.rst @@ -268,4 +268,4 @@ links listed as ``std:label`` refer to the ``:ref:`` syntax. :caption: Example lf-docs objects.inv .. _intersphinx: http://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html -.. _linking: http://www.sphinx-doc.org/en/1.7/markup/inline.html +.. _linking: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#inline-markup