[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem] 19/20: Add search to navbar and body



This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 118c0369d22db3a438e7a1ec66fec24927dd88ea
Author: juga <juga@xxxxxxxxxx>
AuthorDate: Tue May 30 13:54:58 2023 +0000

    Add search to navbar and body
    
    as well as contents and modindex to body too.
    search! \o/
---
 docs/_templates/layout.html | 1 +
 docs/contents.rst           | 2 ++
 docs/index.rst              | 4 ++++
 3 files changed, 7 insertions(+)

diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index fd13286b..79bf7f9f 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -63,6 +63,7 @@
               <li><a href="https://www.atagar.com/contact/";>Author</a></li>
             </ul>
           </li>
+          <li><a href="{{ pathto('search') }}">Search</a></li>
         </ul>
 
         {%- block haikurel2 %}
diff --git a/docs/contents.rst b/docs/contents.rst
index 87e75220..f5f4f8cc 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -1,3 +1,5 @@
+.. _contents:
+
 Contents
 ========
 
diff --git a/docs/index.rst b/docs/index.rst
index d8639cf2..16ed31ac 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,6 +11,10 @@ Welcome to Stem!
 
 Stem is a Python controller library for `Tor <https://www.torproject.org/>`_. With it you can use Tor's `control protocol <https://gitweb.torproject.org/torspec.git/tree/control-spec.txt>`_ to script against the Tor process, or build things such as `Nyx <https://nyx.torproject.org/>`_. Stem's latest version is **1.8.1** (released September, 2022).
 
+* :ref:`contents`
+* :ref:`modindex`
+* :ref:`search`
+
 .. Main Stem Logo
    Source: http://www.wpclipart.com/plants/assorted/P/plant_stem.png.html
    Author: Jakub Jankiewicz

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits