Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This splits up the
lasagne.layers
Sphinx documentation across multiple pages; one per submodule (but taking care to present all classes as belonging to thelasagne.layers
namespace if appropriate). It requires Sphinx 1.2.3 to build because of a regression in more recent versions (see #203 (comment)), but we use that one on readthedocs anyway (just note that a more recent version will omit the autosummary tables, so make sure to use Sphinx version 1.2.3 or the latest git version if building locally).I've tried a few different options for the TOC and layout, and this is the best I found. It has a bunch of autosummary tables for
lasagne.layers
, and the TOC is set up such that clickingConvolutional layers
in the left-hand navbar takes you to the detail page for convolutional layers, not to the autosummary table within thelasagne.layers
overview page (mainly because then we'd either have a second navbar entry for the detail page or have Sphinx whine about the detail page not being included in any TOC).Finally, I did some minor docstring fixes that triggered Sphinx warnings or caught my eye in the overview page.