[tor-commits] [stem/master] Back buttons for tutorials and example scripts

atagar at torproject.org atagar at torproject.org
Sun Mar 30 21:28:09 UTC 2014


commit 1ffa990294ec9fca12f8610184d89ca2a260b385
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Mar 30 14:26:38 2014 -0700

    Back buttons for tutorials and example scripts
    
    Adding a '<< Back' button to our tutorials and example scripts to make the
    pages easier to navigate. Most pages on our site are a pretty flat hierarchy
    (download, faq, etc), but these are an exception to that so it's handy to be
    able to go up a level.
---
 docs/_static/buttons/back.png                     |  Bin 0 -> 2774 bytes
 docs/_static/buttons/resources/back.xcf           |  Bin 0 -> 5648 bytes
 docs/tutorials/double_double_toil_and_trouble.rst |    3 +++
 docs/tutorials/east_of_the_sun.rst                |    3 +++
 docs/tutorials/examples/compare_flags.rst         |    3 +++
 docs/tutorials/examples/exit_used.rst             |    3 +++
 docs/tutorials/examples/list_circuits.rst         |    3 +++
 docs/tutorials/examples/outdated_relays.rst       |    7 ++++++-
 docs/tutorials/mirror_mirror_on_the_wall.rst      |    3 +++
 docs/tutorials/the_little_relay_that_could.rst    |    3 +++
 docs/tutorials/to_russia_with_love.rst            |    6 ++++++
 docs/tutorials/tortoise_and_the_hare.rst          |    3 +++
 12 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/docs/_static/buttons/back.png b/docs/_static/buttons/back.png
new file mode 100644
index 0000000..faeb262
Binary files /dev/null and b/docs/_static/buttons/back.png differ
diff --git a/docs/_static/buttons/resources/back.xcf b/docs/_static/buttons/resources/back.xcf
new file mode 100644
index 0000000..d6ffb6c
Binary files /dev/null and b/docs/_static/buttons/resources/back.xcf differ
diff --git a/docs/tutorials/double_double_toil_and_trouble.rst b/docs/tutorials/double_double_toil_and_trouble.rst
index 4e9e827..0f3e52a 100644
--- a/docs/tutorials/double_double_toil_and_trouble.rst
+++ b/docs/tutorials/double_double_toil_and_trouble.rst
@@ -1,6 +1,9 @@
 Double Double Toil and Trouble
 ==============================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
 Below is a listing of scripts and applications that use Stem. If you have
 something you would like to have included on this page then `let me know
 <https://www.atagar.com/contact/>`_!
diff --git a/docs/tutorials/east_of_the_sun.rst b/docs/tutorials/east_of_the_sun.rst
index 374275e..f971da8 100644
--- a/docs/tutorials/east_of_the_sun.rst
+++ b/docs/tutorials/east_of_the_sun.rst
@@ -1,6 +1,9 @@
 East of the Sun & West of the Moon
 ==================================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
 The following is an overview of some of the utilities Stem provides.
 
 * :ref:`connection-resolution`
diff --git a/docs/tutorials/examples/compare_flags.rst b/docs/tutorials/examples/compare_flags.rst
index 8aceefc..07a4126 100644
--- a/docs/tutorials/examples/compare_flags.rst
+++ b/docs/tutorials/examples/compare_flags.rst
@@ -1,6 +1,9 @@
 Comparing Directory Authority Flags
 ===================================
 
+.. image:: /_static/buttons/back.png
+   :target: ../double_double_toil_and_trouble.html
+
 Compares the votes of two directory authorities, in this case moria1 and
 maatuska, with a special interest in the 'Running' flag.
 
diff --git a/docs/tutorials/examples/exit_used.rst b/docs/tutorials/examples/exit_used.rst
index 2c27f98..a4011f1 100644
--- a/docs/tutorials/examples/exit_used.rst
+++ b/docs/tutorials/examples/exit_used.rst
@@ -1,6 +1,9 @@
 Determine The Exit You're Using
 ===============================
 
+.. image:: /_static/buttons/back.png
+   :target: ../double_double_toil_and_trouble.html
+
 Lets say you're using Tor and one day you run into something odd. Maybe a
 misconfigured relay, or maybe one that's being malicious. How can you figure
 out what exit you're using?
diff --git a/docs/tutorials/examples/list_circuits.rst b/docs/tutorials/examples/list_circuits.rst
index 9f4fb93..800b945 100644
--- a/docs/tutorials/examples/list_circuits.rst
+++ b/docs/tutorials/examples/list_circuits.rst
@@ -1,6 +1,9 @@
 List Circuits
 =============
 
+.. image:: /_static/buttons/back.png
+   :target: ../double_double_toil_and_trouble.html
+
 Tor creates new circuits and tears down old ones on your behalf, so how can you
 get information about circuits Tor currently has available?
 
diff --git a/docs/tutorials/examples/outdated_relays.rst b/docs/tutorials/examples/outdated_relays.rst
index 8e11258..283b94f 100644
--- a/docs/tutorials/examples/outdated_relays.rst
+++ b/docs/tutorials/examples/outdated_relays.rst
@@ -1,7 +1,12 @@
 List Outdated Relays
 ====================
 
-Time marches on. Tor makes new releases, and at some point needs to drop support for old ones. Below is the script we used on :trac:`9476` to reach out to relay operators that needed to upgrade.
+.. image:: /_static/buttons/back.png
+   :target: ../double_double_toil_and_trouble.html
+
+Time marches on. Tor makes new releases, and at some point needs to drop
+support for old ones. Below is the script we used on :trac:`9476` to reach out
+to relay operators that needed to upgrade.
 
 ::
 
diff --git a/docs/tutorials/mirror_mirror_on_the_wall.rst b/docs/tutorials/mirror_mirror_on_the_wall.rst
index a5ba5e6..fba0a22 100644
--- a/docs/tutorials/mirror_mirror_on_the_wall.rst
+++ b/docs/tutorials/mirror_mirror_on_the_wall.rst
@@ -1,6 +1,9 @@
 Mirror Mirror on the Wall
 =========================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
 The following is an overview of **Tor descriptors**. If you're already familiar
 with what they are and where to get them then you may want to skip to the end.
 
diff --git a/docs/tutorials/the_little_relay_that_could.rst b/docs/tutorials/the_little_relay_that_could.rst
index 63e4493..9252da0 100644
--- a/docs/tutorials/the_little_relay_that_could.rst
+++ b/docs/tutorials/the_little_relay_that_could.rst
@@ -1,6 +1,9 @@
 The Little Relay that Could
 ===========================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
 Let's say you just set up your very first `Tor relay
 <https://www.torproject.org/docs/tor-doc-relay.html.en>`_ (thank you!), and now
 you want to write a script that tells you how much it is being used.
diff --git a/docs/tutorials/to_russia_with_love.rst b/docs/tutorials/to_russia_with_love.rst
index 33c04d3..6e3415a 100644
--- a/docs/tutorials/to_russia_with_love.rst
+++ b/docs/tutorials/to_russia_with_love.rst
@@ -1,6 +1,12 @@
 To Russia With Love
 ===================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
+The following is an quick introduction for scripts and applications that go
+through Tor.
+
 * :ref:`using-socksipy`
 * :ref:`using-pycurl`
 * :ref:`reading-twitter`
diff --git a/docs/tutorials/tortoise_and_the_hare.rst b/docs/tutorials/tortoise_and_the_hare.rst
index 50edba6..bd21486 100644
--- a/docs/tutorials/tortoise_and_the_hare.rst
+++ b/docs/tutorials/tortoise_and_the_hare.rst
@@ -1,6 +1,9 @@
 Tortoise and the Hare
 =====================
 
+.. image:: /_static/buttons/back.png
+   :target: ../tutorials.html
+
 Controllers have two methods of talking with Tor...
 
 * **Synchronous** - Most commonly you make a request to Tor then receive its



More information about the tor-commits mailing list