You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
List astropy coordinated affiliated packages on main documentation page #8221
Looking at the main page, it is not obvious how to do this. However, an easy change would be to move the astropy-coordinates packages to a separate section on the affiliated package page, and then change the lead sentence from
The Astropy Project is a community effort to develop a common core package
for Astronomy in Python and foster an ecosystem of interoperable astronomy packages.
to
The Astropy Project is a community effort to develop a common core package
for Astronomy in Python and foster an ecosystem of interoperable astronomy packages,
both within and outside of the project.
(with links, of course).
p.s. It is really for the web site, but the advantage of raising the issue here is that more people will see it... Though I guess one could pass things by astropy-dev as well.
We had a discussion about improving visibility of the astropy-coordinated affiliated packages (e.g., reproject). My understanding of the conclusion from that discussion was that we should add, e.g., a new section to the main index.rst called "Astropy-coordinated affiliated packages" with links to: reproject, astroplan, regions, astroquery, specutils, ccdproc, photutils and a link to astropy.org/affiliated. That's all I meant! This just a way to improve cross-referencing concepts and to hack Google.
just last year at the the coordination meeting we started to move away from duplicating information between docs.astropy.org that points to the docs of the core package and astropy.org that's the landing page of the package.
I'm worried that with this we're moving back to the previous setup.
(That being said, my interpretation of the discussion that seeded this issue was more about linking to the relevant coordinated package from wherever it's relevant, e.g. link to astroplan from appropriate coordinate pages, to reproject from parts of the visualization/wcs pages)
👎 on duplication as well. High risk of them being out of sync and add to even more confusion. If you move that info to the docs here, you will change the affiliated webpage to link to the docs?
From my perspective, the coordinated affiliated packages don't change on a timescale that we need to worry about duplication and it is far more important to increase visibility. All I'm suggesting is a list of links on the main docs page - no other changes.
I just point back to last year's meeting when we decided to do the exact opposite and remove the affiliated package related pages from core as well as put the contributing docs in one place as it was said to be confusing to have it at multiple location. @kelle?
(I'm not worried about the out of sync stuff, the page could even get the data from the same json file for both location, I really just want to avoid this yearly back and forth of restructuring).
I think this came up again in Astropy Coordination Meeting 2025. @taldcroft showed a proof-of-concept from his branch during a breakout session but I don't see any PR open from it, hmm.
@astrofrog - I like that a lot for astropy.org. I especially like the theme, it looks really great - clean, modern, inviting, and sunny! We should adapt that for astropy.
The project I'm working on now is a bit distinct, namely improving visibility of coordinated packages from docs.astropy.org, since many people might land on that domain and never see astropy.org.
I would encourage you to use the sunpy theme, it's a reasonably lightweight fork of pydata-sphinx-theme with the main changes to move all the sphinx navigation into the left sidebar and out of the top nav so that the top nav can be used for org-wide navigation. There's a few other things in sunpy-sphinx-theme you will probably want to disable in the config (such as our stats. We are also working on cross-project search: sunpy/sunpy-sphinx-theme#287 backed by the RTD API.
Obviously the sunpy theme has all the defaults for sunpy, but we want it to be generally useful as well, so if you find anything you can't configure out then let us know.
I would encourage you to use the sunpy theme...
... move astropy.org to be a sphinx site
@Cadair - totally agree. Anyone at Aperio interested in doing this as funded work on the Core/coordinated Package Maintenance and Development contract?
As said in Astropy Coordination Meeting 2025, I am hesitant for Astropy as a project to adopt a theme customized and named for another project, Sunpy. If we ever need anything from that theme, we will never have priority because it is Sunpy's theme, not ours. At least with pydata, it is generic and used by multiple projects (at the time of writing). I would view it differently were it somewhere more upstream like OpenAstronomy.
I mean sunpy uses lots of astropy stuff, both infrastructure and otherwise and we are always given a lot of support when we need to change stuff, I see no reason why this wouldn't be true the other way around.
If someone wants to spin out the sunpy default config from sunpy-sphinx-theme then they are welcome to but I don't think anyone on the sunpy side is going to volunteer to do that when we have already made everything sunpy specific customisable.
Anyone at Aperio interested in doing this as funded work on the Core/coordinated Package Maintenance and Development contract?
OK, I was thinking that the "Sunpy theme" was just a light variant of pydata-sphinx-theme, but it looks to be rather more involved (although it does directly inherit from pydata-sphinx-theme). The goals of sunpy-sphinx-theme (below) align well with goals from the coordination meeting:
To provide a consistent look and feel over all the sunpy.org [astropy.org] websites and subdomains.
To give all documentation pages maintained by the SunPy [Astropy] project a branded appearance.
To provide a global navigation bar over all these sites so that it is possible to navigate between the sunpy.org [astropy.org] site and all the documentation.
Kudos to SunPy for getting this done. Doing this for Astropy would be a substantial project, much bigger than I was considering in the near term.
@taldcroft it might not be that much effort though since the sunpy theme is configurable and could be used as is as an astropy theme with different config. Sunpy have already done all the hard work.
I vaguely recall that the sunpy approach was brought up as a good solution in the past already but was dismissed in favor of the "we write our search engine instead".
Glad to see we got back on track with the more maintainable, and in the right spirit of collaborative open source option. So 💯 of reusing what is already available.
(and also 💯 for sending money towards Tom and Stuart as they consistently attacking actual issues/enhancements/bugs the project faces for a long time rather than generating new ones that have zero effect on users).
Activity
pllim commentedon Dec 4, 2018
How about a webring? 🤔
bsipocz commentedon Dec 5, 2018
this is more like an issue for the astropy website, isn't it?
mhvk commentedon Dec 5, 2018
Looking at the main page, it is not obvious how to do this. However, an easy change would be to move the astropy-coordinates packages to a separate section on the affiliated package page, and then change the lead sentence from
to
(with links, of course).
p.s. It is really for the web site, but the advantage of raising the issue here is that more people will see it... Though I guess one could pass things by astropy-dev as well.
pllim commentedon Dec 5, 2018
@bsipocz , maybe the desire is to move that info from Astropy website to the docs here? @adrn , can you please clarify? Thanks.
adrn commentedon Dec 5, 2018
We had a discussion about improving visibility of the astropy-coordinated affiliated packages (e.g.,
reproject). My understanding of the conclusion from that discussion was that we should add, e.g., a new section to the mainindex.rstcalled "Astropy-coordinated affiliated packages" with links to: reproject, astroplan, regions, astroquery, specutils, ccdproc, photutils and a link to astropy.org/affiliated. That's all I meant! This just a way to improve cross-referencing concepts and to hack Google.adrn commentedon Dec 5, 2018
And @bsipocz - no, I don't mean the main website. I mean the documentation!
mhvk commentedon Dec 5, 2018
Ah, yes, that is a good idea. Indeed, just a few days ago I tried to find a link to the affiliated packages on the main docs page...
bsipocz commentedon Dec 5, 2018
just last year at the the coordination meeting we started to move away from duplicating information between docs.astropy.org that points to the docs of the core package and astropy.org that's the landing page of the package.
I'm worried that with this we're moving back to the previous setup.
(That being said, my interpretation of the discussion that seeded this issue was more about linking to the relevant coordinated package from wherever it's relevant, e.g. link to astroplan from appropriate coordinate pages, to reproject from parts of the visualization/wcs pages)
pllim commentedon Dec 5, 2018
👎 on duplication as well. High risk of them being out of sync and add to even more confusion. If you move that info to the docs here, you will change the affiliated webpage to link to the docs?
adrn commentedon Dec 5, 2018
From my perspective, the coordinated affiliated packages don't change on a timescale that we need to worry about duplication and it is far more important to increase visibility. All I'm suggesting is a list of links on the main docs page - no other changes.
adrn commentedon Dec 5, 2018
(BTW: I'm not saying we can't do more to improve visibility, but the suggestion is minimal in scope to make it easy to implement!)
astrofrog commentedon Dec 8, 2018
I agree with @adrn that we are not adding/removing coordinated packages fast enough to be worried about duplication.
pllim commentedon Dec 8, 2018
Okie dokie then. At least make it clear in the dev doc that if one add a package to website, one should also list it on the page here, and vice versa.
bsipocz commentedon Dec 8, 2018
I just point back to last year's meeting when we decided to do the exact opposite and remove the affiliated package related pages from core as well as put the contributing docs in one place as it was said to be confusing to have it at multiple location.
@kelle?
(I'm not worried about the out of sync stuff, the page could even get the data from the same json file for both location, I really just want to avoid this yearly back and forth of restructuring).
2 remaining items
pllim commentedon Jul 7, 2025
I think this came up again in Astropy Coordination Meeting 2025. @taldcroft showed a proof-of-concept from his branch during a breakout session but I don't see any PR open from it, hmm.
taldcroft commentedon Jul 8, 2025
This is still on my high-priority to-do list, but I haven't had time to get back to it since the meeting. I've assigned myself to the issue.
astrofrog commentedon Jul 8, 2025
For anyone interested in working on this (cc @taldcroft) I think the sunpy docs have done a great job at this (they also have other packages than the core sunpy package): https://sunpy.org
We might even want to consider adapting what they have done rather than reinvent the wheel
astrofrog commentedon Jul 8, 2025
In particular:
taldcroft commentedon Jul 8, 2025
@astrofrog - I like that a lot for astropy.org. I especially like the theme, it looks really great - clean, modern, inviting, and sunny! We should adapt that for astropy.
The project I'm working on now is a bit distinct, namely improving visibility of coordinated packages from docs.astropy.org, since many people might land on that domain and never see astropy.org.
Cadair commentedon Jul 8, 2025
I would encourage you to use the sunpy theme, it's a reasonably lightweight fork of pydata-sphinx-theme with the main changes to move all the sphinx navigation into the left sidebar and out of the top nav so that the top nav can be used for org-wide navigation. There's a few other things in sunpy-sphinx-theme you will probably want to disable in the config (such as our stats. We are also working on cross-project search: sunpy/sunpy-sphinx-theme#287 backed by the RTD API.
Obviously the sunpy theme has all the defaults for sunpy, but we want it to be generally useful as well, so if you find anything you can't configure out then let us know.
repo: https://github.com/sunpy/sunpy-sphinx-theme
Cadair commentedon Jul 8, 2025
oh, the other thing you will want to do is move astropy.org to be a sphinx site, so that you can use the same theme to get the consistent experience.
taldcroft commentedon Jul 8, 2025
@Cadair - totally agree. Anyone at Aperio interested in doing this as funded work on the
Core/coordinated Package Maintenance and Developmentcontract?pllim commentedon Jul 8, 2025
As said in Astropy Coordination Meeting 2025, I am hesitant for Astropy as a project to adopt a theme customized and named for another project, Sunpy. If we ever need anything from that theme, we will never have priority because it is Sunpy's theme, not ours. At least with pydata, it is generic and used by multiple projects (at the time of writing). I would view it differently were it somewhere more upstream like OpenAstronomy.
Cadair commentedon Jul 8, 2025
I mean sunpy uses lots of astropy stuff, both infrastructure and otherwise and we are always given a lot of support when we need to change stuff, I see no reason why this wouldn't be true the other way around.
If someone wants to spin out the sunpy default config from sunpy-sphinx-theme then they are welcome to but I don't think anyone on the sunpy side is going to volunteer to do that when we have already made everything sunpy specific customisable.
I think we are out of hours on that FR now.
taldcroft commentedon Jul 8, 2025
OK, I was thinking that the "Sunpy theme" was just a light variant of pydata-sphinx-theme, but it looks to be rather more involved (although it does directly inherit from pydata-sphinx-theme). The goals of
sunpy-sphinx-theme(below) align well with goals from the coordination meeting:Kudos to SunPy for getting this done. Doing this for Astropy would be a substantial project, much bigger than I was considering in the near term.
astrofrog commentedon Jul 8, 2025
@taldcroft it might not be that much effort though since the sunpy theme is configurable and could be used as is as an astropy theme with different config. Sunpy have already done all the hard work.
bsipocz commentedon Jul 8, 2025
I vaguely recall that the sunpy approach was brought up as a good solution in the past already but was dismissed in favor of the "we write our search engine instead".
Glad to see we got back on track with the more maintainable, and in the right spirit of collaborative open source option. So 💯 of reusing what is already available.
(and also 💯 for sending money towards Tom and Stuart as they consistently attacking actual issues/enhancements/bugs the project faces for a long time rather than generating new ones that have zero effect on users).