Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Project Custodians #423

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add Project Custodians #423

wants to merge 2 commits into from

Conversation

Cadair
Copy link
Sponsor Member

@Cadair Cadair commented Jul 16, 2024

There's more to come, but I thought I would start collecting info. Only problem is I don't have everyone's GitHub handles.

Also I have run out of time for this today.


.. custom-card:: Will Barnes
:img_name: Will-Barnes.png
:img_name: will.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These images should be better named.

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could just grab peoples github avatar?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah if we can do that, we should. Less crap in this repo.

Copy link
Member

@dpshelio dpshelio Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the code, I'd say this could do:

Suggested change
:img_name: will.png
:img_name: https://github.com/wtbarnes.png

in here, or, change the custom-card
https://github.com/sunpy/sunpy-sphinx-theme/blob/bd031141ca7b71245b5d886b0388ab43fbefadde/src/sunpy_sphinx_theme/cards.py#L27-L29
to:


<img class="dark-light" src="https://github.com/{node['github']}.png" alt="{node['name']}">

I'd prefer the last one and remove the need to use :img_name. Or being more conservative, add some logic to the src path that unless specified it will use github's one. Maybe not everyone wants to have their picture on github's profiles, or use a different one.

about/project.rst Outdated Show resolved Hide resolved
about/project.rst Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants