Skip to content

Commit ad4d60f

Browse files
committed
Rebase from main
1 parent d450472 commit ad4d60f

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

conf.py

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
"sphinx_design",
3535
"sphinx_copybutton",
3636
"sphinx.ext.intersphinx",
37-
"sphinx.ext.doctest",
37+
"sphinx.ext.todo",
3838
"sphinx_sitemap",
39-
"sphinxcontrib.gtagjs",
4039
"sphinxext.opengraph",
4140
]
4241

@@ -52,7 +51,15 @@
5251

5352
# Link to our repo for easy PR/ editing
5453
html_theme_options = {
54+
"favicons": [
55+
{
56+
"rel": "icon",
57+
"sizes": "16x16",
58+
"href": "https://www.pyopensci.org/images/favicon.ico",
59+
},
60+
],
5561
"announcement": "<p><a href='https://www.pyopensci.org/software-peer-review/about/intro.html'>Submit Your Python Package for Peer Review - Learn More!</a></p>🚧 This guide is currently being developed! 🚧 ",
62+
#"navbar_center": ["nav"], this can be a way to override the default navigation structure
5663
"external_links": [
5764
{
5865
"url": "https://www.pyopensci.org",
@@ -75,23 +82,20 @@
7582
},
7683
],
7784
"logo": {
78-
"text": "Python Package Guide",
85+
"text": "Python Packaging",
7986
"image_dark": "logo-dark-mode.png",
8087
"image_light": "logo-light-mode.png",
8188
"alt_text": "pyOpenSci Python Package Guide. The pyOpenSci logo is a purple flower with pyOpenSci under it. The o in open sci is the center of the flower",
8289
},
83-
"header_links_before_dropdown": 3,
90+
"header_links_before_dropdown": 4,
8491
"use_edit_page_button": True,
92+
"show_nav_level": 2,
93+
"navigation_depth": 3,
8594
"show_toc_level": 1,
8695
# "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly
8796
"github_url": "https://github.com/pyopensci/python-package-guide",
88-
"twitter_url": "https://twitter.com/pyopensci",
89-
"footer_items": ["copyright"],
90-
}
9197

92-
html_theme_options["analytics"] = {
93-
"google_analytics_id": "UA-141260825-1",
94-
"show_nav_level": 3,
98+
"footer_items": ["copyright"],
9599
}
96100

97101
html_context = {
@@ -100,11 +104,6 @@
100104
"github_version": "main",
101105
}
102106

103-
# Add analytics to furo theme
104-
gtagjs_ids = [
105-
"UA-141260825-1",
106-
]
107-
108107
# Add any paths that contain templates here, relative to this directory.
109108
templates_path = ["_templates"]
110109

0 commit comments

Comments
 (0)