From 3b686758a589181b803b485c70df5c7040f8ad4b Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Thu, 1 Aug 2024 17:38:31 -0500 Subject: [PATCH] fix: add COS link to ignores since anchor is part of hyperlink to COS documenation Signed-off-by: Jason C. Nucciarone --- custom_conf.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/custom_conf.py b/custom_conf.py index e52934c..a2feb31 100644 --- a/custom_conf.py +++ b/custom_conf.py @@ -13,15 +13,13 @@ ogp_site_url = "https://canonical-starter-pack.readthedocs-hosted.com/" ogp_site_name = project ogp_image = "https://assets.ubuntu.com/v1/253da317-image-document-ubuntudocs.svg" -html_favicon = '.sphinx/_static/favicon.png' +html_favicon = ".sphinx/_static/favicon.png" html_context = { # Product information "product_page": "ubuntu.com/hpc", "product_tag": "_static/tag.png", - # Chat and updates "matrix": "https://matrix.to/#/#hpc:ubuntu.com", - # GitHub "github_url": "https://github.com/charmed-hpc", "github_repository": "docs", @@ -30,11 +28,10 @@ "github_issues": "enabled", "github_discussions": "https://github.com/orgs/charmed-hpc/discussions", "github_qa": "https://github.com/orgs/charmed-hpc/discussions/new?category=q-a", - # Footer configuration "sequential_nav": "both", "display_contributors": True, - "display_contributors_since": "" + "display_contributors_since": "", } slug = "" @@ -42,6 +39,7 @@ linkcheck_ignore = [ "http://127.0.0.1:8000", "https://matrix.to/#/#hpc:ubuntu.com", + "https://charmhub.io/topics/canonical-observability-stack/tutorials/install-microk8s#heading--deploy-the-cos-lite-bundle-with-overlays", ] custom_linkcheck_anchors_ignore_for_url = [] custom_myst_extensions = [] @@ -72,7 +70,7 @@ # manpages_url = "https://manpages.ubuntu.com/manpages/noble/en/man{section}/{page}.{section}.html" # Define a :center: role that can be used to center the content of table cells. -rst_prolog = ''' +rst_prolog = """ .. role:: center :class: align-center -''' +"""