[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Downloadable tutorial examples
commit 2a0110cc6fc682cdbf56cac100ce228e2b6b0699
Merge: 3b2a31b 7f4a535
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon May 25 10:11:47 2015 -0700
Downloadable tutorial examples
Moving our tutorial's examples to _static/examples/*, and adding them via a
literalinclude directive. Advantages are...
* We now have a '[Download]' link to... well, download it!
* Now that we've isolated the example scripts we can exercise these with our
tests (rather than duplicating the code there).
https://trac.torproject.org/projects/tor/ticket/10411
Nice work, Sambuddha!
docs/_static/example/client_usage_using_pycurl.py | 54 ++++
.../_static/example/client_usage_using_socksipy.py | 25 ++
docs/_static/example/compare_flags.py | 41 +++
docs/_static/example/current_descriptors.py | 9 +
docs/_static/example/custom_path_selection.py | 79 ++++++
.../example/descriptor_from_tor_control_socket.py | 7 +
.../example/descriptor_from_tor_data_directory.py | 4 +
docs/_static/example/ephemeral_hidden_services.py | 27 ++
docs/_static/example/event_listening.py | 177 +++++++++++++
docs/_static/example/exit_used.py | 35 +++
.../example/get_hidden_service_descriptor.py | 8 +
docs/_static/example/hello_world.py | 9 +
docs/_static/example/introduction_points.py | 10 +
docs/_static/example/list_circuits.py | 21 ++
docs/_static/example/outdated_relays.py | 19 ++
docs/_static/example/past_descriptors.py | 5 +
docs/_static/example/persisting_a_consensus.py | 8 +
.../persisting_a_consensus_with_parse_file.py | 10 +
docs/_static/example/read_with_parse_file.py | 6 +
docs/_static/example/reading_twitter.py | 87 +++++++
docs/_static/example/running_hidden_service.py | 48 ++++
.../example/saving_and_loading_descriptors.py | 7 +
docs/_static/example/tor_descriptors.py | 32 +++
docs/_static/example/utilities.py | 28 +++
.../_static/example/validate_descriptor_content.py | 4 +
.../example/votes_by_bandwidth_authorities.py | 29 +++
docs/_static/style.css | 7 +
docs/_templates/layout.html | 2 +
docs/change_log.rst | 1 +
docs/conf.py | 2 +-
docs/faq.rst | 2 +-
docs/tutorials/east_of_the_sun.rst | 33 +--
docs/tutorials/examples/compare_flags.rst | 46 +---
docs/tutorials/examples/exit_used.rst | 40 +--
docs/tutorials/examples/list_circuits.rst | 26 +-
docs/tutorials/examples/outdated_relays.rst | 24 +-
docs/tutorials/examples/persisting_a_consensus.rst | 28 +--
.../examples/votes_by_bandwidth_authorities.rst | 34 +--
docs/tutorials/mirror_mirror_on_the_wall.rst | 114 ++-------
docs/tutorials/over_the_river.rst | 113 +--------
docs/tutorials/the_little_relay_that_could.rst | 14 +-
docs/tutorials/to_russia_with_love.rst | 265 +-------------------
docs/tutorials/tortoise_and_the_hare.rst | 184 +-------------
43 files changed, 880 insertions(+), 844 deletions(-)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits