[tor-commits] [stem/master] Missing datetime_to_unix() docs

atagar at torproject.org atagar at torproject.org
Wed Nov 11 17:10:26 UTC 2015


commit 4ecaa61ccb07868ab6f33f446bd747a0f1d0d7d4
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Nov 11 09:11:51 2015 -0800

    Missing datetime_to_unix() docs
    
    Oops, since this is in a new module it needs a little more to wire it up with
    the docs.
---
 docs/api/util/init.rst |    5 +++++
 docs/contents.rst      |    1 +
 stem/util/__init__.py  |    1 +
 3 files changed, 7 insertions(+)

diff --git a/docs/api/util/init.rst b/docs/api/util/init.rst
new file mode 100644
index 0000000..fae2719
--- /dev/null
+++ b/docs/api/util/init.rst
@@ -0,0 +1,5 @@
+Util
+====
+
+.. automodule:: stem.util.__init__
+
diff --git a/docs/contents.rst b/docs/contents.rst
index a402dd6..ec41dda 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -49,6 +49,7 @@ Contents
    api/descriptor/reader
    api/descriptor/remote
 
+   api/util/init
    api/util/conf
    api/util/connection
    api/util/enum
diff --git a/stem/util/__init__.py b/stem/util/__init__.py
index b7f0a3c..ecdf288 100644
--- a/stem/util/__init__.py
+++ b/stem/util/__init__.py
@@ -17,6 +17,7 @@ __all__ = [
   'term',
   'test_tools',
   'tor_tools',
+  'datetime_to_unix',
 ]
 
 import datetime



More information about the tor-commits mailing list