Skip to content

Commit

Permalink
doc: fix error "conf value "version" should not be empty for EPUB3"
Browse files Browse the repository at this point in the history
$ 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
  • Loading branch information
tlvu committed Jul 24, 2020
1 parent 7b535b4 commit 6e6f637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6e6f637

Please sign in to comment.