|
34 | 34 | "sphinx_design",
|
35 | 35 | "sphinx_copybutton",
|
36 | 36 | "sphinx.ext.intersphinx",
|
37 |
| - "sphinx.ext.doctest", |
| 37 | + "sphinx.ext.todo", |
38 | 38 | "sphinx_sitemap",
|
39 |
| - "sphinxcontrib.gtagjs", |
40 | 39 | "sphinxext.opengraph",
|
41 | 40 | ]
|
42 | 41 |
|
|
52 | 51 |
|
53 | 52 | # Link to our repo for easy PR/ editing
|
54 | 53 | html_theme_options = {
|
| 54 | + "favicons": [ |
| 55 | + { |
| 56 | + "rel": "icon", |
| 57 | + "sizes": "16x16", |
| 58 | + "href": "https://www.pyopensci.org/images/favicon.ico", |
| 59 | + }, |
| 60 | + ], |
55 | 61 | "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 |
56 | 63 | "external_links": [
|
57 | 64 | {
|
58 | 65 | "url": "https://www.pyopensci.org",
|
|
75 | 82 | },
|
76 | 83 | ],
|
77 | 84 | "logo": {
|
78 |
| - "text": "Python Package Guide", |
| 85 | + "text": "Python Packaging", |
79 | 86 | "image_dark": "logo-dark-mode.png",
|
80 | 87 | "image_light": "logo-light-mode.png",
|
81 | 88 | "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",
|
82 | 89 | },
|
83 |
| - "header_links_before_dropdown": 3, |
| 90 | + "header_links_before_dropdown": 4, |
84 | 91 | "use_edit_page_button": True,
|
| 92 | + "show_nav_level": 2, |
| 93 | + "navigation_depth": 3, |
85 | 94 | "show_toc_level": 1,
|
86 | 95 | # "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly
|
87 | 96 | "github_url": "https://github.com/pyopensci/python-package-guide",
|
88 |
| - "twitter_url": "https://twitter.com/pyopensci", |
89 |
| - "footer_items": ["copyright"], |
90 |
| -} |
91 | 97 |
|
92 |
| -html_theme_options["analytics"] = { |
93 |
| - "google_analytics_id": "UA-141260825-1", |
94 |
| - "show_nav_level": 3, |
| 98 | + "footer_items": ["copyright"], |
95 | 99 | }
|
96 | 100 |
|
97 | 101 | html_context = {
|
|
100 | 104 | "github_version": "main",
|
101 | 105 | }
|
102 | 106 |
|
103 |
| -# Add analytics to furo theme |
104 |
| -gtagjs_ids = [ |
105 |
| - "UA-141260825-1", |
106 |
| -] |
107 |
| - |
108 | 107 | # Add any paths that contain templates here, relative to this directory.
|
109 | 108 | templates_path = ["_templates"]
|
110 | 109 |
|
|
0 commit comments