Skip to content

Commit

Permalink
Fixed docs internal links.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Sep 15, 2024
1 parent d1225e5 commit 2615b44
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -47,7 +47,6 @@

notfound_urls_prefix = "/pysnmp/"

html_baseurl = "https://docs.lextudio.com/pysnmp/"
sitemap_url_scheme = "{link}"
sitemap_suffix_included = False

@@ -127,6 +126,9 @@

# -- Options for HTML output ----------------------------------------------

html_baseurl = f"https://docs.lextudio.com/pysnmp/v{version}"
repo = "https://github.com/lextudio/pysnmp"

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "furo"
@@ -136,13 +138,13 @@
# documentation.

html_theme_options = {
"source_repository": "https://github.com/lextudio/pysnmp",
"source_branch": "main",
"source_repository": repo,
"source_branch": f"release-{version}",
"source_directory": "docs/source/",
"footer_icons": [
{
"name": "GitHub",
"url": "https://github.com/lextudio/pysnmp",
"url": repo,
"html": "",
"class": "fa-brands fa-solid fa-github fa-2x",
},
@@ -346,7 +348,7 @@

# Configuration for Intersphinx
intersphinx_mapping = {
"python": ("https://docs.python.org/3.7/", None),
"python": ("https://docs.python.org/3.8/", None),
"pyasn1": ("https://pyasn1.readthedocs.io/en/latest/", None),
"pysmi": ("https://docs.lextudio.com/pysmi/", None),
}

0 comments on commit 2615b44

Please sign in to comment.