From 6cc2be3c37bb098f8dfbcce72732944d6f86e7f3 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Mon, 9 Sep 2024 09:40:27 +0200 Subject: [PATCH] [doc] Adding the CNAME file into documentation artifact for automatic GH DNS configuration --- docs/conf.py | 3 ++- docs/requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 99111fe7..3c89b536 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ['myst_parser'] +extensions = ['myst_parser', 'sphinxcontrib.rawfiles'] templates_path = ['_templates'] exclude_patterns = [] @@ -24,6 +24,7 @@ '.md': 'markdown', } +rawfiles = ['CNAME'] # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output diff --git a/docs/requirements.txt b/docs/requirements.txt index 56c8516d..47e5a216 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ sphinx sphinx-rtd-theme myst-parser +sphinxcontrib-rawfiles