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
Transform the current example gallery into a more docs-integrated example list #7242
Comments
Cross-posting an additional suggestion from @sosey in #6589 (which we closed as these are duplicates):
|
Got it! The GSoC description is pretty useful. Would you want the examples to be scoped within a reStructuredText directive? Or are you thinking more that it'd be a super reference target that marks the beginning of the example? The first would look like: .. astropy-example:: Demonstration of a tutorial
:tags: tag-a, tag-b
Tutorial content is here.
1. A
2. B
3. C versus .. astropy-example:: Demonstration of a tutorial
:tags: tag-a, tag-b
Tutorial content is here.
1. A
2. B
3. C The nice thing about scoping content inside the directive is that we might be able to auto-select a figure that would populate a gallery view. I think that's what you folks are talking about when you say "gallery" right? |
Jonathan and I had a lovely meeting where we talked this out and I think he has a pretty good idea of the vision. Goal is to have a MVP (minimally viable product) by Thurs, Apr 11 where I could come down to STScI to hash out with him and @eteq. Mark your calendars! :) |
@eteq , @kelle, and I discussed the example gallery project further on 2019-04-11. We discussed and agreed on the intent and design of the example gallery:
In terms of implementation, the following components need to be built:
I'm assuming that this code will go into the astropy-sphinx repository. In terms of timeline, I'll be able to start this project in June. End date is September. |
What is the status on this? Can we retire the example gallery in this repo? cc @saimn |
Another year passed and I have not seen any progress over here. We should seek alternate approach. Example Gallery is rotting. |
The sphinx example gallery, while pretty and useful in concept, has caused a fair amount of trouble. In particular it:
So at the 2017 astropy coordination meeting we decided the way forward would be to change the example gallery into a list of pointers to examples that live elsewhere in the docs. In the process we would move the examples already there into either a relevant place in the docs, or out of the docs completely and into the Astropy tutorials.
I've already started on investigating how this might be done with some test code here: https://github.com/eteq/sphinx-example-docs-testing. However, the fact that I haven't gotten to it in several months demonstrate that I am more than happy to see someone else take it on (and am happy to consult if it would be helpful).
A bit more detail on this is available here, as it is being proposed as a project idea for GSoC 2018.
The text was updated successfully, but these errors were encountered: