|
20 | 20 | organization_name = "pyOpenSci" |
21 | 21 |
|
22 | 22 |
|
23 | | - |
24 | 23 | # -- Project information ----------------------------------------------------- |
25 | 24 |
|
26 | 25 | project = "pyOpenSci Python Package Guide" |
|
29 | 28 |
|
30 | 29 | # Get the latest Git tag - there might be a prettier way to do this but... |
31 | 30 | try: |
32 | | - release_value = subprocess.check_output(["git", "describe", "--tags"]).decode("utf-8").strip() |
| 31 | + release_value = ( |
| 32 | + subprocess.check_output(["git", "describe", "--tags"]).decode("utf-8").strip() |
| 33 | + ) |
33 | 34 | release_value = release_value[:4] |
34 | 35 | except subprocess.CalledProcessError: |
35 | 36 | release_value = "0.1" # Default value in case there's no tag |
|
57 | 58 | myst_enable_extensions = [ |
58 | 59 | "colon_fence", |
59 | 60 | "deflist", |
| 61 | + "attrs_block", |
60 | 62 | ] |
61 | 63 | myst_heading_anchors = 3 |
62 | 64 |
|
|
69 | 71 | # Link to our repo for easy PR/ editing |
70 | 72 | html_theme_options = { |
71 | 73 | "announcement": "<p><a href='https://www.pyopensci.org/about-peer-review/index.html'>We run peer review of scientific Python software. Learn more.</a></p>", |
72 | | - #"navbar_center": ["nav"], this can be a way to override the default navigation structure |
| 74 | + # "navbar_center": ["nav"], this can be a way to override the default navigation structure |
73 | 75 | "external_links": [ |
74 | 76 | { |
75 | 77 | "url": "https://www.pyopensci.org", |
|
92 | 94 | }, |
93 | 95 | ], |
94 | 96 | "logo": { |
95 | | - #"text": "Python Packaging", |
| 97 | + # "text": "Python Packaging", |
96 | 98 | "image_dark": "logo-dark-mode.png", |
97 | 99 | "image_light": "logo-light-mode.png", |
98 | 100 | "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", |
|
0 commit comments