Skip to content

Commit

Permalink
description for sphinx example project
Browse files Browse the repository at this point in the history
  • Loading branch information
eteq committed Feb 8, 2018
1 parent 33c619a commit 0a2c280
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions _projects/2018/astropy/sphinx-example-index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
name: Indexing examples in Sphinx docs
desc: figure out a way to identify examples, tag them, and index them within Sphinx
name: Indexing examples in Astropy Sphinx documentation
desc: Write a Sphinx plugin to identify examples in the Astropy documentation, tag/index them, and build an example gallery from them
# add a short one line description of your project
requirements:
# Student requirements:
- Knowledge of sphinx
- Knowledge of [sphinx](http://www.sphinx-doc.org/en/stable/)
- Interest in user training
difficulty: moderate
issues:
# Related issues (if any) to this project.
- https://github.com/astropy/astropy/issues/6589
- https://github.com/astropy/astropy-helpers/issues/371
mentors:
# First person in contact; mentors may change before project starts.
- eteq
Expand All @@ -25,22 +26,29 @@ collaborating_projects:
# suborganisation(s) to which this project belongs.
- astropy
---
figure out a way to identify examples, tag them, and index them within Sphinx
Write a Sphinx plugin to identify examples in the Astropy documentation, tag/index them, and build an example gallery from them

#### Description

from my memory from Sept, the goal is to identify code snippets within the docs, label them, create an index and compilation of all the examples.
The [current astropy example gallery](http://docs.astropy.org/en/stable/generated/examples/) is problematic because it duplicates content from the astropy documentation and it is not clear which examples are "worthy" of the example gallery. It also overlaps with the [astropy tutorials](http://tutorials.astropy.org). Hence, this project is focused on developing the infrastructure to auto-generate the example gallery from examples *in* the documentation. This will require building a Sphinx plugin to find tagged examples and generating links. It will also require coordinating moving of existing gallery examples to the documentation and tagging them appropriately.

#### Milestones (if any)

##### GSOC 2018 CODING STARTS

* Be awesome
* Identify what labeling technique is best for tagging the examples.
* Solicit authors of gallery examples to determine where they should be moved. Some may belong in the documentations, whil others might be better places as Astropy Tutorials.
* Determine where the plugin will go (either a standalone small package, in the astropy-helpers, or in astropy itself), in consultation with the Astropy documentation maintainers.

##### GSOC 2018 MIDTERM

* Have done awesome stuff.
* Have examples identified and ready to be moved out of the gallery and into their relevant locations in the astropy docs or tutorials.
* Have a first-draft working plugin ready for review by Astropy documentation maintainers.
* Determine how difficult it will be to have an example *gallery* (as opposed to simply an index/list of the examples).

##### GSOC 2018 FINAL

* Finished the awesome stuff.
* Release the plugin, with minimum functionality of generating the example list (or have it merged if it ends up as part of another project).
* (Stretch Goal) have the plugin generate an example gallery instead of a list.
* Complete a Pull Request to activate the (finished) plugin in the Astropy repository.
* Have a Pull Request to tag all the relevant examples which sucessfully generates the example *list*.

0 comments on commit 0a2c280

Please sign in to comment.