Skip to content

Commit

Permalink
docs.conf: add Edit on GitHub button
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhsjdhjs committed Jan 3, 2024
1 parent 78be7c7 commit 18a6632
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,12 @@ def setup(app):
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []

# Configuration of the 'Edit on GitHub' button at the top right.
html_context = {
'display_github': True,
'github_user': 'eclipse-basyx',
'github_repo': 'basyx-python-sdk',
'github_version': release,
'conf_py_path': '/docs/source/'
}

0 comments on commit 18a6632

Please sign in to comment.