Skip to content

Commit e9b2aaf

Browse files
Merge remote-tracking branch 'lwasser/license-pyproject' into license-pyproject
2 parents 8493f03 + 8e150d5 commit e9b2aaf

File tree

2 files changed

+138
-92
lines changed

2 files changed

+138
-92
lines changed

conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
organization_name = "pyOpenSci"
2121

2222

23-
2423
# -- Project information -----------------------------------------------------
2524

2625
project = "pyOpenSci Python Package Guide"
@@ -29,7 +28,9 @@
2928

3029
# Get the latest Git tag - there might be a prettier way to do this but...
3130
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+
)
3334
release_value = release_value[:4]
3435
except subprocess.CalledProcessError:
3536
release_value = "0.1" # Default value in case there's no tag
@@ -57,6 +58,7 @@
5758
myst_enable_extensions = [
5859
"colon_fence",
5960
"deflist",
61+
"attrs_block",
6062
]
6163
myst_heading_anchors = 3
6264

@@ -69,7 +71,7 @@
6971
# Link to our repo for easy PR/ editing
7072
html_theme_options = {
7173
"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
7375
"external_links": [
7476
{
7577
"url": "https://www.pyopensci.org",
@@ -92,7 +94,7 @@
9294
},
9395
],
9496
"logo": {
95-
#"text": "Python Packaging",
97+
# "text": "Python Packaging",
9698
"image_dark": "logo-dark-mode.png",
9799
"image_light": "logo-light-mode.png",
98100
"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

Comments
 (0)