Skip to content

Documentation improvements #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 53 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
d2351ed
WIP
itamarhaber Apr 8, 2020
e3e88bf
Merge branch 'master' into docs-ih
itamarhaber Apr 8, 2020
82b0528
WIP
itamarhaber Apr 9, 2020
5c7e849
WIP
itamarhaber Apr 9, 2020
21f651f
WIP
itamarhaber Apr 18, 2020
1b521e7
Adds preview
itamarhaber Apr 19, 2020
15c33da
Merge branch 'master' into docs-ih
itamarhaber Apr 19, 2020
91b2987
[add] updated performance section with diagrams and some rephrasing
filipecosta90 Apr 19, 2020
4d6b36b
Merge branch 'docs-ih' of https://github.com/RedisAI/RedisAI into doc…
filipecosta90 Apr 19, 2020
69f94f9
[add] added configuration info regarding INTRA_OP_PARALLELISM and INT…
filipecosta90 Apr 19, 2020
d99306c
[add] added AI.DAGRUN documentation
filipecosta90 Apr 19, 2020
6042cf2
[wip] kicked off examples page
filipecosta90 Apr 22, 2020
75b3c07
[wip] kicked off examples page
filipecosta90 Apr 22, 2020
4e8265c
[wip] wip on documentation
filipecosta90 Apr 22, 2020
e20aff8
[wip] wip on documentation
filipecosta90 Apr 22, 2020
23ed2f5
[wip] chaning example image location
filipecosta90 Apr 22, 2020
80dab80
[wip] experimenting with image positioning on examples
filipecosta90 Apr 22, 2020
c7977ef
[fix] correcting classified image path
filipecosta90 Apr 22, 2020
274c8f6
[fix] fixed example image path
filipecosta90 Apr 22, 2020
a3a5916
[fix] fixed TBD on scriptrun example
filipecosta90 Apr 22, 2020
a57e2a8
ASCII-fies diagram
itamarhaber Apr 22, 2020
760bb56
ASCII-fies diagram
itamarhaber Apr 22, 2020
565b08f
Merge branch 'docs-ih' of github.com:redisai/redisai into docs-ih
itamarhaber Apr 22, 2020
ad964c5
Dang the diagram
itamarhaber Apr 22, 2020
caa0d1f
Diagram again
itamarhaber Apr 22, 2020
0fd5c4f
[add] kick-off the developer notes page
filipecosta90 Apr 23, 2020
83f4fe8
[wip] kick-off developer page. reference dlpack on documentation
filipecosta90 Apr 25, 2020
c9a288a
[add] added Developer reference link
filipecosta90 Apr 26, 2020
c34d517
[wip] added main source files to document
filipecosta90 Apr 26, 2020
d0b5484
[wip] improved code documentation of dag.h/c err.h/c and tensor.h/c
filipecosta90 Apr 26, 2020
7630237
[wip] improved further code documentation on tensor.h
filipecosta90 Apr 26, 2020
7c519d7
[wip] added backends.h and backends directory developer info. pushing…
filipecosta90 Apr 26, 2020
9c8a6cd
[add] updated model.h/c with the documentation of each method
filipecosta90 Apr 26, 2020
5925598
[wip] added further documentation on the src/background_workers.h/.c …
filipecosta90 Apr 27, 2020
05dea99
[wip] wip on coverage fix
filipecosta90 Apr 27, 2020
2c85e00
[wip] added documentation to the stats.h/c and script.h/c files. Ran …
filipecosta90 Apr 27, 2020
e24479d
[fix] removed repeating ai.tensorget from dag's documentation
filipecosta90 Apr 27, 2020
91cfbdf
[wip] fixed formatting issues on developer.md
filipecosta90 Apr 27, 2020
11d1d2c
Merge branch 'master' into docs-ih
filipecosta90 Apr 27, 2020
bfd4444
[fix] fixed documentation on ai.tensorget
filipecosta90 Apr 27, 2020
f9f349e
[wip] finished code comment all methods on the major building blocks …
filipecosta90 Apr 27, 2020
d3ff862
Adds contrib.md
itamarhaber Apr 28, 2020
13cd73a
Merge branch 'master' into docs-ih
filipecosta90 Apr 28, 2020
67f248a
[add] documentation revision for RC - iteration 1
filipecosta90 Apr 28, 2020
d7c13a8
[fix] updated developer notes
filipecosta90 Apr 28, 2020
7213a48
[fix] fixed the quickstart commands and made reference to #developer
filipecosta90 Apr 28, 2020
d8956ce
Merge branch 'docs-ih' of github.com:redisai/redisai into docs-ih
itamarhaber Apr 29, 2020
15f27c9
Tweeks pt. 1
itamarhaber Apr 29, 2020
8bd0315
[fix] fix performance diagram links
filipecosta90 Apr 29, 2020
c63ca2a
Tweaks pt.2
itamarhaber Apr 29, 2020
e8b2696
Merge branch 'docs-ih' of github.com:redisai/redisai into docs-ih
itamarhaber Apr 29, 2020
e6e1082
Corrects to `MODULE LOAD`
itamarhaber Apr 30, 2020
11b01f3
Adds versioned docs and deploys docs from a GitHub Action
itamarhaber Apr 30, 2020
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
42 changes: 18 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

commands:
ci_steps:
setup_steps:
parameters:
platform:
type: string
Expand All @@ -27,6 +27,13 @@ commands:
command: |
mkdir -p ~/workspace
chown `whoami` ~/workspace

test_steps:
parameters:
platform:
type: string
steps:
- checkout
- run:
name: Build
command: make -C opt all SHOW=1
Expand All @@ -48,7 +55,7 @@ commands:
- 'packages/branch/*.tgz'
- store_artifacts:
path: test/logs

deploy:
parameters:
from:
Expand All @@ -64,7 +71,9 @@ jobs:
docker:
- image: redisfab/rmbuilder:5.0.7-x64-buster
steps:
- ci_steps:
- setup_steps:
platform: debian
- test_steps:
platform: debian

coverage:
Expand All @@ -89,7 +98,7 @@ jobs:
mkdir -p ~/workspace
chown `whoami` ~/workspace
- run:
name: Build
name: Build for coverage
command: |
make -C opt all COV=1 SHOW=1
- run:
Expand All @@ -107,7 +116,9 @@ jobs:
name: Fix macOS Python installation
command: |
brew reinstall -f python2
- ci_steps:
- setup_steps:
platform: macosx
- test_steps:
platform: macosx

build-multiarch-docker:
Expand Down Expand Up @@ -170,19 +181,6 @@ jobs:
- store_artifacts:
path: ~/workspace/packages/<<parameters.package>>

deploy_docs:
docker:
- image: redisfab/rmbuilder:5.0.7-x64-buster
steps:
- checkout
- run:
name: Build Docs
command: python3 -m mkdocs build
- run:
name: Deploy Docs to S3
command: |
aws s3 cp site s3://oss.redislabs.com/$WEBSITE_FOLDER/ --acl public-read --recursive

workflows:
version: 2
build_and_package:
Expand All @@ -196,7 +194,7 @@ workflows:
branches:
only: /.*/
tags:
only: /.*/
only: /.*/
# - build-macos:
# filters:
# branches:
Expand All @@ -206,7 +204,7 @@ workflows:
#- build-multiarch-docker:
# filters:
# tags:
# only: /^v[0-9].*/
# only: /^v[0-9].*/
# branches:
# ignore: /.*/
- build-gpu:
Expand All @@ -231,10 +229,6 @@ workflows:
ignore: /.*/
tags:
only: '/^v[0-9].*/'
- deploy_docs:
filters:
branches:
only: master

#nightly:
# triggers:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy docs to website

on:
push:
branches:
- master
- '[0-9]+.[0-9]+'
paths:
- 'mkdocs.yml'
- 'docs/**'

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Set up Python 3.x
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install docs dependencies
run: pip install -r docs/requirements.txt
- name: Build docs
run: mkdocs build
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_ENDPOINT: ${{ secrets.DOCS_AWS_S3_ENDPOINT }}
AWS_S3_BUCKET: ${{ secrets.DOCS_AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: 'site'
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/test/venv/
logs/
/test/logs/
.env/
env*/
.venv/
venv*/
/install
Expand Down Expand Up @@ -79,7 +81,7 @@ __pycache__

# Debug/Profile files
# ignore perf html reports
*.html
*.html

# Kernel Module Compile Results
*.mod*
Expand Down Expand Up @@ -129,4 +131,7 @@ dkms.conf
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/
.idea_modules/

# docs site
site/
11 changes: 11 additions & 0 deletions docs/clients.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# RedisAI Clients

Some languages already have client libraries that provide support for RedisAI's commands. The following table lists the known ones:

| Project | Language | License | Author | URL |
| ------- | -------- | ------- | ------ | --- |
| JRedisAI | Java | BSD-3 | [RedisLabs](https://redislabs.com/) | [Github](https://github.com/RedisAI/JRedisAI) |
| redisai-py | Python | BSD-3 | [RedisLabs](https://redislabs.com/) | [Github](https://github.com/RedisAI/redisai-py) |
| redisai-go | Go | BSD-3 | [RedisLabs](https://redislabs.com/) | [Github](https://github.com/RedisAI/redisai-go) |

The full documentation for RedisAI's API can be found at the [Commands page](commands.md).
Loading