Closed story645 closed 1 year ago
I would find it more clear not to turn the section headers themselves into links, but create an extra permalink element like in the docs:
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.plot.html#matplotlib-axes-axes-plot
I don't know how to do that. My first guess would be something like <a href='#anchor'>#</a>
Like I'm pretty sure I'm doing the anchoring strangely here as is but I can't find a good solid reference.
You can steal the HTML and CSS from the above linked page
No css to steal since that's already provided by either sphinx or pydata-sphinx.
I turned the news, resources, domain-specific-tools, and support headers into anchors/links so that I could link to those specific sections. This was motivated by wanting to provide a link to the list of resources on the homepage.