Skip to content

Commit fd481ee

Browse files
committed
Update conf.py
1 parent 0ccf293 commit fd481ee

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

docs/source/conf.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file for the Sphinx documentation builder.
22
# Read https://www.sphinx-doc.org/en/master/usage/configuration.html for more options available
33

4-
import sphinx_pdj_theme
4+
# import sphinx_pdj_theme
55

66
# -- Project information
77

@@ -29,17 +29,27 @@
2929
"fieldlist",
3030
]
3131

32+
# https://myst-parser.readthedocs.io/en/latest/configuration.html#setting-html-metadata
33+
myst_html_meta = {
34+
"description": "IP2Proxy PHP library enables user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.",
35+
"keywords": "IP2Proxy, Proxy, IP location",
36+
"google-site-verification": "DeW6mXDyMnMt4i61ZJBNuoADPimo5266DKob7Z7d6i4",
37+
}
38+
3239
# templates_path = ['_templates']
3340

3441
# -- Options for HTML output
3542

36-
html_theme = 'sphinx_pdj_theme'
37-
html_theme_path = [sphinx_pdj_theme.get_html_theme_path()]
43+
html_theme = 'sphinx_book_theme'
44+
# html_theme_path = [sphinx_pdj_theme.get_html_theme_path()]
3845

3946
# PDJ theme options, see the list of available options here: https://github.com/jucacrispim/sphinx_pdj_theme/blob/master/sphinx_pdj_theme/theme.conf
4047
html_theme_options = {
41-
# Hide the name of the project above the search bar
42-
'home_link': 'hide'
48+
"use_edit_page_button": False,
49+
"use_source_button": False,
50+
"use_issues_button": False,
51+
"use_download_button": False,
52+
"use_sidenotes": False,
4353
}
4454

4555
# The name of an image file (relative to this directory) to place at the top
@@ -49,4 +59,6 @@
4959
# Favicon
5060
html_favicon = 'images/favicon.ico'
5161

52-
html_title = "IP2Location Python"
62+
html_title = "IP2Proxy PHP"
63+
64+
html_baseurl = "https://ip2proxy-php.readthedocs.io/en/latest/"

0 commit comments

Comments
 (0)