Skip to content

Commit

Permalink
fixed bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
safl committed Apr 2, 2019
1 parent 851cc31 commit 8bef72d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ dev: uninstall install
bump:
@echo "# Bumping '${PROJECT_VERSION}' to '${NEXT_VERSION}'"
@sed -i -e s/"version=\".*\""/"version=\"${NEXT_VERSION}\""/g setup.py
@sed -i -e s/"version=\".*\""/"version=\"${NEXT_VERSION}\""/g docs/src/conf.py
@sed -i -e s/"release=\".*\""/"release=\"${NEXT_VERSION}\""/g docs/src/conf.py
@sed -i -e s/"version = \".*\""/"version = \"${NEXT_VERSION}\""/g docs/src/conf.py
@sed -i -e s/"release = \".*\""/"release = \"${NEXT_VERSION}\""/g docs/src/conf.py
@sed -i -e s/"^VERSION_PATCH = .*"/"VERSION_PATCH = ${NEXT_VERSION_PATCH}"/g bin/ymlf

.PHONY: clean
Expand Down
22 changes: 11 additions & 11 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@
import sys
import os

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
on_rtd = os.environ.get("READTHEDOCS", None) == "True"

extensions = [
'sphinx.ext.todo',
'sphinx.ext.imgmath',
"sphinx.ext.todo",
"sphinx.ext.imgmath",
]

templates_path = ["_templates"]
source_suffix = '.rst'
master_doc = 'index'
source_suffix = ".rst"
master_doc = "index"

project = u'ymlf'
copyright = u'2018, SAFL'
project = u"ymlf"
copyright = u"2018, SAFL"

version = '0.0.1'
release = '0.0.1'
version = "0.0.2"
release = "0.0.2"

exclude_patterns = []

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = "sphinx"

if not on_rtd:
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_static_path = ["_static"]
htmlhelp_basename = 'ymlfdoc'
htmlhelp_basename = "ymlfdoc"

0 comments on commit 8bef72d

Please sign in to comment.