X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Fconf.py;h=39bbd2dc44ac9ebba9fc46835522b20c54d8cd7b;hp=fc5892e92d5186976485c52e29ce516a382a55f6;hb=0de0e676324ae1457fdb67f4dd3bd82020061522;hpb=0299eebb6510dfd46f0c4f613b76f56cb66785aa diff --git a/doc/conf.py b/doc/conf.py index fc5892e..39bbd2d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,3 +1,5 @@ +version = open("../VERSION", "rb").read().strip().decode("ascii") + extensions = ["sphinx.ext.autodoc"] templates_path = ["_templates"] source_suffix = ".rst" @@ -5,8 +7,8 @@ master_doc = "index" project = "pyderasn" copyright = "2017, Sergey Matveev" author = "Sergey Matveev" -version = "1.0" -release = "1.0" +version = version +release = version language = None exclude_patterns = ["_build"] pygments_style = "sphinx"