Skip to content

Commit b290f5f

Browse files
Remove team page from docs and link to https://xarray.dev/team (#7061)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 13c52b2 commit b290f5f

File tree

4 files changed

+1
-116
lines changed

4 files changed

+1
-116
lines changed

doc/conf.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -393,39 +393,6 @@ def html_page_context(app, pagename, templatename, context, doctree):
393393
context["theme_use_edit_page_button"] = False
394394

395395

396-
def update_team(app: Sphinx):
397-
"""Update the team members list."""
398-
399-
LOGGER.info("Updating team members page...")
400-
401-
team = yaml.safe_load(pathlib.Path(app.srcdir, "team.yml").read_bytes())
402-
items = []
403-
for member in team:
404-
item = f"""
405-
.. grid-item-card::
406-
:text-align: center
407-
:link: https://github.com/{member['gh_login']}
408-
409-
.. image:: {member['avatar']}
410-
:alt: {member['name']}
411-
+++
412-
{member['name']}
413-
"""
414-
items.append(item)
415-
416-
items_md = indent(dedent("\n".join(items)), prefix=" ")
417-
418-
markdown = f"""
419-
.. grid:: 1 2 3 3
420-
:gutter: 2
421-
422-
{items_md}
423-
"""
424-
425-
pathlib.Path(app.srcdir, "team-panel.txt").write_text(markdown)
426-
LOGGER.info("Team members page updated.")
427-
428-
429396
def update_gallery(app: Sphinx):
430397
"""Update the gallery page."""
431398

@@ -496,6 +463,5 @@ def update_videos(app: Sphinx):
496463

497464
def setup(app: Sphinx):
498465
app.connect("html-page-context", html_page_context)
499-
app.connect("builder-inited", update_team)
500466
app.connect("builder-inited", update_gallery)
501467
app.connect("builder-inited", update_videos)

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ efficient, and fun!
7575
Contributing Guide <contributing>
7676
Xarray Internals <internals/index>
7777
Development Roadmap <roadmap>
78-
Team <team>
78+
Team <https://xarray.dev/team>
7979
Developers Meeting <developers-meeting>
8080
What’s New <whats-new>
8181
GitHub repository <https://github.com/pydata/xarray>

doc/team.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

doc/team.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)