Skip to content

Commit 51b1dc4

Browse files
authored
[doc] Update conf.py (#481)
* Update conf.py * Apply suggestions from code review * Update conf.py * Apply suggestions from code review
1 parent ad0d65b commit 51b1dc4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/sphinx/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
# General information about the project.
7373
project = u'SofaPython3'
74-
copyright = u'2023, SOFA Framework'
74+
copyright = '%Y, SOFA Framework'
7575
author = u'[email protected]'
7676

7777
stream = os.popen("git rev-parse --abbrev-ref HEAD")
@@ -84,6 +84,10 @@ def custom_underline_filter(text, char):
8484
html_context = {
8585
'current_version': version,
8686
'underline_filter': custom_underline_filter,
87+
'display_github': True,
88+
'github_user': 'sofa-framework',
89+
'github_repo': 'SofaPython3',
90+
'github_version': 'master/docs/sphinx/source',
8791
}
8892

8993
# The language for content autogenerated by Sphinx. Refer to documentation

0 commit comments

Comments
 (0)