diff --git a/docs/sphinx/source/conf.py b/docs/sphinx/source/conf.py index 61c2f63c8..33991fa68 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