Skip to content

Commit a921c03

Browse files
updates to documentation formatting
1 parent eb71964 commit a921c03

File tree

13 files changed

+32
-207
lines changed

13 files changed

+32
-207
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ build:
2121
sphinx:
2222
configuration: docs/conf.py
2323

24+
formats:
25+
- pdf
26+
- epub

docs/_static/gallery.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
21
- title: Arxiv Paper Search
3-
website: https://docsearch.redisvl.com
4-
img-bottom: ../_static/gallery-images/arxiv-search.png
2+
website: https://github.com/redis-developer/redis-arxiv-search
3+
# img-bottom: ../_static/gallery-images/arxiv-search.png
4+
- title: eCommerce Search
5+
website: https://github.com/redis-developer/redis-product-search
56
- title: Real-Time Embeddings with Redis and Bytewax
67
website: https://github.com/awmatheson/real-time-embeddings
7-
img-bottom: ../_static/gallery-images/bytewax-redis.png
8-
- title: Question and Answer with OpenAI
9-
website: https://www.redisvl.com/docs/html/examples/openai_qna.html
10-
img-bottom: ../_static/gallery-images/RedisOpenAI-QnA.png
8+
# img-bottom: ../_static/gallery-images/bytewax-redis.png
9+
- title: Redis RAG Workbench
10+
website: https://github.com/redis-developer/redis-rag-workbench
11+
# img-bottom: ../_static/gallery-images/RedisOpenAI-QnA.png
1112
- title: LLM Recommender for Hotels
12-
website: https://github.com/RedisVentures/LLM-Recommender
13-
img-bottom: ../_static/gallery-images/hotel-recommender.png
14-
- title: Chat YOUR PDF
15-
website: https://github.com/RedisVentures/gcp-redis-llm-stack/tree/main/examples/chat-your-pdf
16-
img-bottom: ../_static/gallery-images/chat-your-pdf.png
13+
website: https://github.com/redis-applied-ai/LLM-Recommender
14+
# img-bottom: ../_static/gallery-images/hotel-recommender.png
15+
- title: Agentic RAG
16+
website: https://github.com/redis-developer/agentic-rag
17+
# img-bottom: ../_static/gallery-images/chat-your-pdf.png

docs/_static/js/sidebar.js

Lines changed: 0 additions & 71 deletions
This file was deleted.

docs/_static/version_names.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

docs/_templates/custom_sidebar.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/_templates/versions.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/api/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ myst:
77

88
# RedisVL API
99

10+
Reference documentation for the RedisVL API.
11+
1012
```{toctree}
11-
:caption: RedisVL
13+
:caption: RedisVL API
1214
:maxdepth: 2
1315
1416
schema

docs/conf.py

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@
7272
# relative to this directory. They are copied after the builtin static files,
7373
# so a file named "default.css" will overwrite the builtin "default.css".
7474
html_static_path = ['_static']
75-
html_css_files=["css/custom.css", "css/sidebar.css"]
76-
html_js_files=["js/sidebar.js"]
75+
html_css_files=["css/custom.css"]#, "css/sidebar.css"]
7776
html_title = "RedisVL"
7877
html_context = {
7978
"default_mode": "dark"
@@ -87,29 +86,24 @@
8786
"doc_path": "docs",
8887
}
8988

90-
import redisvl
91-
version = redisvl.__version__
89+
9290
# This allows us to use ::: to denote directives, useful for admonitions
9391
myst_enable_extensions = ["colon_fence"]
9492
myst_heading_anchors = 3
9593

9694
html_theme_options = {
9795
"logo": {
9896
"text": "RedisVL",
99-
"image_dark": "_static/redis-cube-red-white-rgb.svg",
97+
"image_dark": "_static/Redis_Logo_Red_RGB.svg",
10098
"alt_text": "RedisVL",
10199
},
102100
"use_edit_page_button": True,
103101
"show_toc_level": 4,
104-
"show_nav_level": 3,
102+
"show_nav_level": 2,
105103
"navigation_depth": 5,
106104
"navbar_align": "content", # [left, content, right] For testing that the navbar items align properly
107-
"secondary_sidebar_items": ["page-toc", "edit-this-page", "sourcelink"],
108-
"switcher": {
109-
"json_url": "_static/version_names.json",
110-
"version_match": version,
111-
},
112-
"navbar_start": ["navbar-logo", "version-switcher"],
105+
#"secondary_sidebar_items": ["page-toc", "edit-this-page", "sourcelink"],
106+
"navbar_start": ["navbar-logo"],
113107
"icon_links": [
114108
{
115109
"name": "GitHub",
@@ -120,9 +114,6 @@
120114
]
121115
}
122116

123-
html_sidebars = {
124-
"**": ["custom_sidebar.html"]
125-
}
126117

127118
autoclass_content = 'both'
128119
add_module_names = False

docs/examples/index.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ myst:
88

99
# Example Gallery
1010

11+
Explore community examples of RedisVL in the wild.
12+
1113
```{note}
1214
If you are using RedisVL, please consider adding your example to this page by
1315
opening a Pull Request on [GitHub](https://github.com/redis/redis-vl-python)
@@ -17,9 +19,3 @@ opening a Pull Request on [GitHub](https://github.com/redis/redis-vl-python)
1719
:grid-columns: "1 1 2 2"
1820
```
1921

20-
```{toctree}
21-
:hidden:
22-
23-
openai_qna
24-
25-
```

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ docker run -d --name redis -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
4747

4848
This will also spin up the [Redis Insight GUI](https://redis.com/redis-enterprise/redis-insight/) at `http://localhost:8001`.
4949

50-
> Read more about `redisvl` installation [here](https://redisvl.com/overview/installation.html)
5150

5251
## Table of Contents
5352

0 commit comments

Comments
 (0)