Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions admin_manual/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
import datetime
sys.path.insert(0, os.path.abspath('../'))
from conf import *

html_context = {**html_context, 'conf_py_path': '/admin_manual/'}
10 changes: 10 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@
}
html_extra_path = ['html']

# "Edit on GitHub" link shown at the top of each page by sphinx_rtd_theme.
# Each manual overrides conf_py_path with its own directory.
html_context = {
'display_github': True,
'github_user': 'LibreSign',
'github_repo': 'documentation',
'github_version': 'main',
'conf_py_path': '/',
}

# -- Options for sphinx-notfound-page extension -----------------------------------
# https://github.com/readthedocs/sphinx-notfound-page

Expand Down
2 changes: 2 additions & 0 deletions developer_manual/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
import datetime
sys.path.insert(0, os.path.abspath('../'))
from conf import *

html_context = {**html_context, 'conf_py_path': '/developer_manual/'}
2 changes: 2 additions & 0 deletions main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
import datetime
sys.path.insert(0, os.path.abspath('../'))
from conf import *

html_context = {**html_context, 'conf_py_path': '/main/'}
2 changes: 2 additions & 0 deletions user_manual/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
import datetime
sys.path.insert(0, os.path.abspath('../'))
from conf import *

html_context = {**html_context, 'conf_py_path': '/user_manual/'}
Loading