diff options
author | Evan Read <eread@gitlab.com> | 2021-04-22 02:48:22 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-04-22 02:48:22 +0300 |
commit | 99486cea451d17ef21f86210b7fc0efc5b5e6ff5 (patch) | |
tree | 95f8a62b9077171257408677d282e3bd5ea93777 | |
parent | 1d999273a54ad9ec2b3a403ff02966f222b08c13 (diff) |
Add exception for new anchorscreen-reader-fixa
-rw-r--r-- | lib/checks/anchors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checks/anchors.rb b/lib/checks/anchors.rb index 91238bfc..3fbbb154 100644 --- a/lib/checks/anchors.rb +++ b/lib/checks/anchors.rb @@ -3,7 +3,7 @@ Nanoc::Check.define(:internal_anchors) do Gitlab::Docs::Page.new(file).links.each do |link| next unless link.internal? next unless link.to_anchor? - next if link.anchor_name == 'markdown-toc' + next if link.anchor_name == 'markdown-toc' || link.anchor_name == 'content-body' if link.destination_page_not_found? add_issue <<~ERROR |