Skip to content

Commit 7cf4b5f

Browse files
committed
conf
1 parent 1ecec5d commit 7cf4b5f

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

docs/source/conf.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,22 @@
3636
# -- Options for HTML output -------------------------------------------------
3737
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3838

39+
REPO_URL = "https://github.com/chrismattmann/tika-python"
40+
41+
# TODO: no edit and view links
42+
3943
html_theme = "furo"
40-
html_static_path = ["_static"]
44+
# html_static_path = ["_static"]
45+
4146
html_theme_options = {
42-
"source_repository": "https://github.com/chrismattmann/tika-python",
43-
"source_branch": "master",
44-
"source_directory": "docs/source/",
47+
"source_repository": REPO_URL,
48+
# "source_branch": "master",
49+
# "source_directory": "docs/source/",
50+
"top_of_page_buttons": [], # do not show edit and view buttons
4551
"footer_icons": [
4652
{
4753
"name": "GitHub",
48-
"url": "https://github.com/chrismattmann/tika-python",
54+
"url": REPO_URL,
4955
# Embedded SVG instructions from furo docs
5056
# Ref: https://pradyunsg.me/furo/customisation/footer/#configuration
5157
"html": """
@@ -57,3 +63,5 @@
5763
},
5864
],
5965
}
66+
# html_copy_source = False
67+
# html_show_sourcelink = False

0 commit comments

Comments
 (0)