Skip to content

Commit 57cdd1d

Browse files
committed
TMP: team
1 parent 8645715 commit 57cdd1d

5 files changed

Lines changed: 853 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.py[co]
22
*.DS_STORE
33
_build/
4+
credits.rst

_static/js/functions.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function maintainer_translator(maint, pkgnm) {
7676

7777

7878
function createRolesTable(roles) {
79+
var tab = document.getElementById("roles-table");
80+
tab.deleteRow(1);
7981
//roles is an array of objects called "role"
8082
var rows = '';
8183
roles.forEach(function (role) {
@@ -140,8 +142,7 @@ function createRolesDescription(roles) {
140142

141143
//console.log(role['responsibilities']);
142144

143-
blocks += '<br/>' +
144-
'<h3 id="' + role["url"] + '">' + role["role-head"] + '</h3>';
145+
blocks += '<h4 id="' + role["url"] + '">' + role["role-head"] + '</h4>';
145146

146147
index = 0;
147148

conf.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'CONTRIBUTING.md',
3535
]
3636

37-
rawfiles = ["annoucement_banner.html", "affiliated/registry.json"]
37+
rawfiles = ["annoucement_banner.html", "roles.json", "affiliated/registry.json"]
3838

3939
# -- Options for HTML output -------------------------------------------------
4040
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
@@ -60,3 +60,15 @@
6060
"js/functions.js",
6161
"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js",
6262
]
63+
64+
################################################################################
65+
# Other Trickery
66+
################################################################################
67+
# We want to get the credits.rst file from astropy core, but not keep it in the repo
68+
69+
from urllib.request import urlretrieve
70+
71+
urlretrieve(
72+
"https://raw.githubusercontent.com/astropy/astropy/refs/heads/main/docs/credits.rst",
73+
filename="credits.rst",
74+
)

0 commit comments

Comments
 (0)