Add workflow for weekly linkcheck
Change-Id: I6b45566688b7d975347fa6a278d70c007fa35780
diff --git a/conf.py b/conf.py
index e1e0dcc..9537807 100644
--- a/conf.py
+++ b/conf.py
@@ -3,6 +3,8 @@
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
+import sphinx
+
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
@@ -25,6 +27,9 @@
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+# User-Agent header sent with linkcheck HTTP requests.
+user_agent = f'Sphinx/{sphinx.__version__}'
+
# Use ABNF syntax highlighting by default for code blocks.
highlight_language = 'abnf'