Skip to content

Commit

Permalink
[doc] Update conf.py (#481)
Browse files Browse the repository at this point in the history
* Update conf.py

* Apply suggestions from code review

* Update conf.py

* Apply suggestions from code review
  • Loading branch information
hugtalbot authored Feb 19, 2025
1 parent ad0d65b commit 51b1dc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

# General information about the project.
project = u'SofaPython3'
copyright = u'2023, SOFA Framework'
copyright = '%Y, SOFA Framework'
author = u'[email protected]'

stream = os.popen("git rev-parse --abbrev-ref HEAD")
Expand All @@ -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
Expand Down

0 comments on commit 51b1dc4

Please sign in to comment.