Skip to content

Commit

Permalink
Merge pull request #56 from RedisAI/sherin/restructuring
Browse files Browse the repository at this point in the history
Restructuring and formatting
  • Loading branch information
Sherin Thomas committed Mar 16, 2021
2 parents ceb88c7 + 6489884 commit c0c7bb5
Show file tree
Hide file tree
Showing 12 changed files with 701 additions and 503 deletions.
15 changes: 7 additions & 8 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
[bumpversion]
current_version = 1.0.1
current_version = 1.0.2
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}

[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:redisai/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:docs/conf.py]
search = release = '{current_version}'
replace = release = '{new_version}'

search = release = "{current_version}"
replace = release = "{new_version}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ redisai.egg-info
build/
dist/
docs/_build/
.DS_Store
42 changes: 22 additions & 20 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
project = 'redisai-py'
copyright = '2020, RedisLabs'
author = 'RedisLabs'
release = '1.0.1'
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.extlinks',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinx.ext.intersphinx',
"sphinx_rtd_theme"]
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_theme = 'sphinx_rtd_theme'
project = "redisai-py"
copyright = "2020, RedisLabs"
author = "RedisLabs"
release = "1.0.2"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
"sphinx.ext.napoleon",
"sphinx.ext.todo",
"sphinx.ext.intersphinx",
"sphinx_rtd_theme",
]
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
html_theme = "sphinx_rtd_theme"
html_use_smartypants = True
html_last_updated_fmt = '%b %d, %Y'
html_last_updated_fmt = "%b %d, %Y"
html_split_index = False
html_sidebars = {
'**': ['searchbox.html', 'globaltoc.html', 'sourcelink.html'],
"**": ["searchbox.html", "globaltoc.html", "sourcelink.html"],
}
html_short_title = '%s-%s' % (project, release)
html_short_title = "%s-%s" % (project, release)

napoleon_use_ivar = True
napoleon_use_rtype = True
Expand All @@ -29,4 +31,4 @@

add_module_names = False
doctest_test_doctest_blocks = None
autoclass_content = 'class'
autoclass_content = "class"
2 changes: 1 addition & 1 deletion redisai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .client import Client

__version__ = '1.0.1'
__version__ = "1.0.2"

0 comments on commit c0c7bb5

Please sign in to comment.