Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@
"sphinx.ext.todo",
"sphinx.ext.intersphinx",
"sphinx_rtd_theme",
'sphinx_search.extension', # search tools
'sphinx.ext.autodoc',
]
pygments_style = "sphinx"
autoapi_type = 'python'
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
html_theme = "sphinx_rtd_theme"
html_logo = 'images/logo.png'
html_use_smartypants = True
html_last_updated_fmt = "%b %d, %Y"
html_split_index = False
html_static_path = ['_static']
html_sidebars = {
"**": ["searchbox.html", "globaltoc.html", "sourcelink.html"],
}
Expand Down
Binary file added docs/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,22 @@ nose = "^1.3.7"
ml2rt = "^0.2.0"
tox = ">=3.23.1"
tox-poetry = "^0.3.0"
Sphinx = "^4.1.2"
sphinx-rtd-theme = "^0.5.2"
readthedocs-sphinx-search = "^0.1.0"
sphinx-autoapi = "^1.8.3"
toml = "^0.10.2"
bandit = "^1.7.0"
pylint = "^2.8.2"
vulture = "^2.3"
scikit-image = "==0.16.2"

[tool.poetry.urls]
url = "https://redisai.io"
repository = "https://github.com/RedisAI/redisai-py"

"Project URL" = "https://redisai.io"
Repository = "https://github.com/RedisAI/redisai-py"
Documentation = "https://redisai.readhtedocs.io"
Homepage = "https://oss.redislabs.com/redisai/"
Tracker = "https://github.com/RedisAI/redisai-py/issues"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ commands =
flake8 --show-source
vulture redisai --min-confidence 80
bandit redisai/**

[testenv:docs]
commands = make html