fix docs/conf.py to display correct version
This commit is contained in:
@@ -47,10 +47,11 @@ copyright = u'2013, Mathieu Agopian'
|
|||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
|
||||||
version = '0.1dev'
|
# read the VERSION file which is three level up
|
||||||
# The full version, including alpha/beta/rc tags.
|
from os.path import join, dirname, abspath
|
||||||
release = '0.1dev'
|
with open(join(dirname(dirname(dirname(abspath(__file__)))), 'VERSION')) as f:
|
||||||
|
release = version = f.read()
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ Mails are flagged according to their state, in the ``process_messages`` method:
|
|||||||
|
|
||||||
* unread (unseen): mail to be processed by MailBot
|
* unread (unseen): mail to be processed by MailBot
|
||||||
* read (seen):
|
* read (seen):
|
||||||
|
|
||||||
- starred (flagged): MailBot is checking callbacks, and triggering them if
|
- starred (flagged): MailBot is checking callbacks, and triggering them if
|
||||||
needed, the mail is being processed
|
needed, the mail is being processed
|
||||||
- not starred (unflagged): MailBot is done with this mail, and won't process
|
- not starred (unflagged): MailBot is done with this mail, and won't process
|
||||||
|
|||||||
Reference in New Issue
Block a user