-
- Downloads
move tutorial script generation, reorganize doc/source
I assume that most people encounter the tutorial example scripts by reading the documentation, and not by viewing the tutorial subdirectory of a checked-out Kwant source. That's the motivation for moving all the manipulations of tutorial scripts from setup.py to doc/Makefile. Previously, a successful 'make html' would require a preceding execution of 'setup.py build_tut'. Now, a simple 'make html' is enough. While at it, I reorganized where the example scripts and their outputs are stored. Everything is now in 'doc/source/code' with its three subdirectories 'download' (to be shown to readers), 'include' (with include markers), and 'figure' (figure generation & figures). This organization is clearer and also makes the generation of figures separate from the tutorial.
Showing
- .gitignore 7 additions, 6 deletions.gitignore
- doc/Makefile 40 additions, 33 deletionsdoc/Makefile
- doc/source/code/figure/_defs.py 1 addition, 1 deletiondoc/source/code/figure/_defs.py
- doc/source/code/figure/ab_ring.py.diff 0 additions, 0 deletionsdoc/source/code/figure/ab_ring.py.diff
- doc/source/code/figure/ab_ring_sketch.svg 0 additions, 0 deletionsdoc/source/code/figure/ab_ring_sketch.svg
- doc/source/code/figure/ab_ring_sketch2.svg 0 additions, 0 deletionsdoc/source/code/figure/ab_ring_sketch2.svg
- doc/source/code/figure/band_structure.py.diff 0 additions, 0 deletionsdoc/source/code/figure/band_structure.py.diff
- doc/source/code/figure/closed_system.py.diff 0 additions, 0 deletionsdoc/source/code/figure/closed_system.py.diff
- doc/source/code/figure/discretize.py.diff 0 additions, 0 deletionsdoc/source/code/figure/discretize.py.diff
- doc/source/code/figure/faq.py.diff 0 additions, 0 deletionsdoc/source/code/figure/faq.py.diff
- doc/source/code/figure/graphene.py.diff 0 additions, 0 deletionsdoc/source/code/figure/graphene.py.diff
- doc/source/code/figure/kernel_polynomial_method.py.diff 0 additions, 0 deletionsdoc/source/code/figure/kernel_polynomial_method.py.diff
- doc/source/code/figure/magnetic_texture.py.diff 0 additions, 0 deletionsdoc/source/code/figure/magnetic_texture.py.diff
- doc/source/code/figure/plot_graphene.py.diff 0 additions, 0 deletionsdoc/source/code/figure/plot_graphene.py.diff
- doc/source/code/figure/plot_qahe.py.diff 0 additions, 0 deletionsdoc/source/code/figure/plot_qahe.py.diff
- doc/source/code/figure/plot_zincblende.py.diff 0 additions, 0 deletionsdoc/source/code/figure/plot_zincblende.py.diff
- doc/source/code/figure/quantum_well.py.diff 0 additions, 0 deletionsdoc/source/code/figure/quantum_well.py.diff
- doc/source/code/figure/quantum_wire.py.diff 0 additions, 0 deletionsdoc/source/code/figure/quantum_wire.py.diff
- doc/source/code/figure/spin_orbit.py.diff 0 additions, 0 deletionsdoc/source/code/figure/spin_orbit.py.diff
- doc/source/code/figure/superconductor.py.diff 0 additions, 0 deletionsdoc/source/code/figure/superconductor.py.diff
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved