From 51b1dc4f3e71607c7df03d0b23c0b36227843703 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 19 Feb 2025 15:16:34 +0100 Subject: [PATCH] [doc] Update conf.py (#481) * Update conf.py * Apply suggestions from code review * Update conf.py * Apply suggestions from code review --- docs/sphinx/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/conf.py b/docs/sphinx/source/conf.py index 61c2f63c..33991fa6 100644 --- a/docs/sphinx/source/conf.py +++ b/docs/sphinx/source/conf.py @@ -71,7 +71,7 @@ # General information about the project. project = u'SofaPython3' -copyright = u'2023, SOFA Framework' +copyright = '%Y, SOFA Framework' author = u'consortium@sofa-framework.org' stream = os.popen("git rev-parse --abbrev-ref HEAD") @@ -84,6 +84,10 @@ def custom_underline_filter(text, char): html_context = { 'current_version': version, 'underline_filter': custom_underline_filter, + 'display_github': True, + 'github_user': 'sofa-framework', + 'github_repo': 'SofaPython3', + 'github_version': 'master/docs/sphinx/source', } # The language for content autogenerated by Sphinx. Refer to documentation