[tor-commits] [stem/master] Certificate enum types not present on site

atagar at torproject.org atagar at torproject.org
Tue Apr 4 02:36:46 UTC 2017


commit f4107ce818b32a78b62409620ad417abe3bdb5e3
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Apr 3 19:41:43 2017 -0700

    Certificate enum types not present on site
    
    Oops, missing space caused these enums to be omitted.
---
 docs/api.rst                   | 2 +-
 stem/descriptor/certificate.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/api.rst b/docs/api.rst
index 0644d0b..9fd56c6 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -37,7 +37,7 @@ remotely like Tor does.
  * `stem.descriptor.router_status_entry <api/descriptor/router_status_entry.html>`_ - Relay entries within a network status document.
  * `stem.descriptor.hidden_service_descriptor <api/descriptor/hidden_service_descriptor.html>`_ - Descriptors generated for hidden services.
  * `stem.descriptor.tordnsel <api/descriptor/tordnsel.html>`_ - `TorDNSEL <https://www.torproject.org/projects/tordnsel.html.en>`_ exit lists.
- * `stem.descriptor.tordnsel <api/descriptor/certificate.html>`_ - `Ed25519 certificates <https://gitweb.torproject.org/torspec.git/tree/cert-spec.txt>`_.
+ * `stem.descriptor.certificate <api/descriptor/certificate.html>`_ - `Ed25519 certificates <https://gitweb.torproject.org/torspec.git/tree/cert-spec.txt>`_.
 
 * `stem.descriptor.reader <api/descriptor/reader.html>`_ - Reads and parses descriptor files from disk.
 * `stem.descriptor.remote <api/descriptor/remote.html>`_ - Downloads descriptors from directory mirrors and authorities.
diff --git a/stem/descriptor/certificate.py b/stem/descriptor/certificate.py
index cd7710c..104988b 100644
--- a/stem/descriptor/certificate.py
+++ b/stem/descriptor/certificate.py
@@ -34,7 +34,7 @@ used to validate the key used to sign server descriptors.
   **AUTH**        authentication key signed with ed25519 signing key
   ==============  ===========
 
-.. data::ExtensionType (enum)
+.. data:: ExtensionType (enum)
 
   Recognized exception types.
 
@@ -44,7 +44,7 @@ used to validate the key used to sign server descriptors.
   HAS_SIGNING_KEY       includes key used to sign the certificate
   ====================  ===========
 
-.. data::ExtensionFlag (enum)
+.. data:: ExtensionFlag (enum)
 
   Flags that can be assigned to Ed25519 certificate extensions.
 



More information about the tor-commits mailing list