From c3d040936aa6a720a8db2caaefba5a7c677828ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Tue, 12 Nov 2024 13:41:10 +0900 Subject: [PATCH] Fix Sphinx extlinks --- .readthedocs.yaml => docs/.readthedocs.yaml | 0 docs/source/conf.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .readthedocs.yaml => docs/.readthedocs.yaml (100%) diff --git a/.readthedocs.yaml b/docs/.readthedocs.yaml similarity index 100% rename from .readthedocs.yaml rename to docs/.readthedocs.yaml diff --git a/docs/source/conf.py b/docs/source/conf.py index 0f2e8ef..d09d50e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -16,7 +16,7 @@ release = '2.7.1' # They can be extensions coming with Sphinx (named 'sphinx.ext.*') # or your custom ones. extensions = ['sphinx.ext.extlinks', 'sphinxcontrib.luadomain'] -extlinks = {'github': ('https://github.com/%s', '@')} +extlinks = {'github': ('https://github.com/%s', '@%s')} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']