From 6e6f63727f8c684fd7ac8a975303ae404db5b13e Mon Sep 17 00:00:00 2001 From: Long Vu Date: Fri, 24 Jul 2020 13:11:07 -0400 Subject: [PATCH] doc: fix error "conf value "version" should not be empty for EPUB3" $ make SPHINXOPTS='-b epub' docs Generating docs with Sphinx ... make[1]: Entering directory '/zstore/repos/raven/docs' Removing everything under 'build'... Running Sphinx v3.1.2 making output directory... done Warning, treated as error: conf value "version" should not be empty for EPUB3 Makefile:23: recipe for target 'html' failed make[1]: *** [html] Error 2 make[1]: Leaving directory '/zstore/repos/raven/docs' Makefile:257: recipe for target 'docs' failed make: *** [docs] Error 2 --- docs/source/conf.py | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index caf8d106..99a92f44 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -90,7 +90,7 @@ # the built documents. # # The short X.Y version. -version = "" +version = "0.10.0" # The full version, including alpha/beta/rc tags. release = "0.10.0" diff --git a/setup.cfg b/setup.cfg index b21b2d96..223d7eec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,8 @@ values = [bumpversion:file:docs/source/conf.py] search = release = {current_version} replace = {new_version} +search = version = {current_version} +replace = {new_version} [bumpversion:file:Dockerfile] search = Version={current_version}