Skip to content

Commit

Permalink
docs: auto-generate anchors
Browse files Browse the repository at this point in the history
Checks were failing when referencing anchors from different files
  • Loading branch information
nsklikas committed Jan 13, 2025
1 parent ff1ffbc commit df7a7b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
# NOTE: If set, links for viewing the documentation source files
# and creating GitHub issues are added at the bottom of each page.
"github_url": "https://github.com/ubuntu/authd",
#
#
# Add a feedback button
'github_issues': 'enabled',
# Docs branch in the repo; used in links for viewing the source files
Expand Down Expand Up @@ -199,7 +199,6 @@

linkcheck_anchors_ignore_for_url = [r"https://github\.com/.*"]


########################
# Configuration extras #
########################
Expand All @@ -213,6 +212,10 @@
# myst_enable_extensions = set()


# Auto-generate header anchors
myst_heading_anchors = 3


# Custom Sphinx extensions; see
# https://www.sphinx-doc.org/en/master/usage/extensions/index.html

Expand Down

0 comments on commit df7a7b7

Please sign in to comment.