From 4b7c8422cbeaa086fd3781dd8f8c11ab7e36566e Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:34:16 +0200 Subject: [PATCH] docs: prune ignored links (#18694) --- .pre-commit-config.yaml | 4 ++-- docs/source-pytorch/conf.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 376044ea93..5d06048015 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: rev: v3.8.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: ["--py38-plus"] name: Upgrade code - repo: https://github.com/codespell-project/codespell @@ -94,7 +94,7 @@ repos: rev: 1.14.0 hooks: - id: blacken-docs - args: [--line-length=120] + args: ["--line-length=120"] exclude: docs/source-app - repo: https://github.com/executablebooks/mdformat diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 0bdcc86778..07de6a0f97 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -596,8 +596,6 @@ linkcheck_exclude_documents = [r"^(.*\/)*CHANGELOG.*$"] # ignore the following relative links (false positive errors during linkcheck) linkcheck_ignore = [ - r"^starter/installation.html$", - r"^installation.html$", - r"^../cli/lightning_cli.html$", + r"installation.html$", r"^../common/trainer.html#trainer-flags$", ]