diff options
author | Julien Pagès <j.parkouss@gmail.com> | 2014-05-29 05:03:57 +0200 |
---|---|---|
committer | Julien Pagès <j.parkouss@gmail.com> | 2014-05-29 05:03:57 +0200 |
commit | 89019abc9f11c3678166d2ddcae4580d38690e35 (patch) | |
tree | e00197f9824ecf0864b7907b4e68ea82fdafb949 /doc | |
parent | 229cbf23ae738bdd27fa829c54b022880a6b99d7 (diff) |
ewmh is now a package, with a __version__
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 7 | ||||
-rw-r--r-- | doc/ewmh.rst | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py index 9e3436b..223b201 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -17,6 +17,7 @@ import sys, os # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) +from ewmh import __version__ # -- General configuration ----------------------------------------------------- @@ -41,16 +42,16 @@ master_doc = 'index' # General information about the project. project = u'pyewmh' -copyright = u'2011, parcouss' +copyright = u'2011, parkouss' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.1' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '0.1' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/ewmh.rst b/doc/ewmh.rst index 577412a..545deb7 100644 --- a/doc/ewmh.rst +++ b/doc/ewmh.rst @@ -2,7 +2,7 @@ The ewmh python module ====================== -.. automodule:: ewmh +.. automodule:: ewmh.ewmh -------------- EWMH class @@ -65,4 +65,4 @@ Example trying to close every windows on desktop 2:: ewmh.setCloseWindow(w) # flush requests - ewmh.display.flush()
\ No newline at end of file + ewmh.display.flush() |