-
Notifications
You must be signed in to change notification settings - Fork 66
docs: Enhance user guide structure with improved navigation and content #474
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
Open
jeremyplichta
wants to merge
17
commits into
main
Choose a base branch
from
docs/improve-user-guides-structure
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
fcdefb1
docs: Restructure user guides for better discoverability and learning…
0b93aef
docs: enhance user guide structure with improved navigation and content
d7bea48
Update docs/user_guide/use_cases/index.md
tylerhutcherson be47b49
Update docs/user_guide/how_to_guides/querying/index.md
tylerhutcherson 66bd4c1
Remove the improvement plan from repo
tylerhutcherson c8474b6
documentation overhaul with auggie
tylerhutcherson 73ecfef
fix the end of the router notebook
tylerhutcherson d5beb7c
update all user guides and rerun to get fresh outputs
tylerhutcherson fe3922c
swap pydata with book theme for sphinx and rearrange nav
nkanu17 4cac229
docs: update landing page with Redis branding and sidebar logo
nkanu17 3caba54
docs: update sidebar navigation styling
nkanu17 8e20de3
docs: update table styling with gray zebra striping
nkanu17 d072198
docs: update code block styling
nkanu17 1eb47fa
docs: update right sidebar TOC with Redis red
nkanu17 c114d35
docs: improve color accessibility
nkanu17 e860df6
docs: add dark mode Pygments style
nkanu17 e1e9836
docs: add dark mode support for custom CSS styling
nkanu17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,190 @@ | ||
| .logo__image { | ||
| transform: scale(.7); | ||
| } | ||
|
|
||
| /* Show the primary sidebar on the landing page (override hide-on-wide) */ | ||
| .bd-sidebar-primary.hide-on-wide { | ||
| display: flex !important; | ||
| } | ||
|
|
||
| /* Sidebar navigation hover styles - gray background only (light mode) */ | ||
| html[data-theme="light"] .bd-sidebar-primary .toctree-l1 > a:hover, | ||
| html[data-theme="light"] .bd-sidebar-primary .toctree-l2 > a:hover, | ||
| html[data-theme="light"] .bd-sidebar-primary .toctree-l3 > a:hover, | ||
| html[data-theme="light"] .bd-sidebar-primary nav.bd-links a:hover { | ||
| background-color: rgba(0, 0, 0, 0.04) !important; | ||
| border-radius: 8px !important; | ||
| color: inherit !important; | ||
| text-decoration: none !important; | ||
| } | ||
|
|
||
| /* Sidebar navigation hover styles (dark mode) */ | ||
| html[data-theme="dark"] .bd-sidebar-primary .toctree-l1 > a:hover, | ||
| html[data-theme="dark"] .bd-sidebar-primary .toctree-l2 > a:hover, | ||
| html[data-theme="dark"] .bd-sidebar-primary .toctree-l3 > a:hover, | ||
| html[data-theme="dark"] .bd-sidebar-primary nav.bd-links a:hover { | ||
| background-color: rgba(255, 255, 255, 0.08) !important; | ||
| border-radius: 8px !important; | ||
| color: inherit !important; | ||
| text-decoration: none !important; | ||
| } | ||
|
|
||
| /* Active/current page styling (light mode) */ | ||
| html[data-theme="light"] .bd-sidebar-primary .toctree-l1.current.active > a, | ||
| html[data-theme="light"] .bd-sidebar-primary .toctree-l2.current > a, | ||
| html[data-theme="light"] .bd-sidebar-primary li.current.active > a.reference.internal { | ||
| background-color: rgba(0, 0, 0, 0.06) !important; | ||
| border-radius: 8px !important; | ||
| border-left: none !important; | ||
| color: inherit !important; | ||
| } | ||
|
|
||
| /* Active/current page styling (dark mode) */ | ||
| html[data-theme="dark"] .bd-sidebar-primary .toctree-l1.current.active > a, | ||
| html[data-theme="dark"] .bd-sidebar-primary .toctree-l2.current > a, | ||
| html[data-theme="dark"] .bd-sidebar-primary li.current.active > a.reference.internal { | ||
| background-color: rgba(255, 255, 255, 0.1) !important; | ||
| border-radius: 8px !important; | ||
| border-left: none !important; | ||
| color: inherit !important; | ||
| } | ||
|
|
||
| /* Override default link colors in sidebar */ | ||
| .bd-sidebar-primary nav.bd-links a, | ||
| .bd-sidebar-primary nav.bd-links a:visited, | ||
| .bd-sidebar-primary nav.bd-links a:active, | ||
| .bd-sidebar-primary nav.bd-links a:focus { | ||
| color: var(--pst-color-text-base) !important; | ||
| text-decoration: none !important; | ||
| border-left: none !important; | ||
| } | ||
|
|
||
| .bd-sidebar-primary nav.bd-links a:hover { | ||
| color: var(--pst-color-text-base) !important; | ||
| text-decoration: none !important; | ||
| } | ||
|
|
||
| /* Remove blue left border (box-shadow) from expanded/active sections */ | ||
| nav.bd-links .current > a, | ||
| nav.bd-links .current > a:focus-visible { | ||
| box-shadow: none !important; | ||
| border-left: none !important; | ||
| color: inherit !important; | ||
| font-weight: inherit !important; | ||
| } | ||
|
|
||
| /* Light mode color overrides */ | ||
| :root, | ||
| html:not([data-theme]), | ||
| html[data-theme="light"] { | ||
| --pst-color-table-row-zebra-high-bg: #fff !important; | ||
| --pst-color-table-row-zebra-low-bg: #f5f5f5 !important; | ||
| --pst-color-table-heading-bg: #f0f0f0 !important; | ||
| --pst-color-table-row-hover-bg: #e8e8e8 !important; | ||
| --pst-color-secondary: #666 !important; | ||
| --pst-color-secondary-bg: #f0f0f0 !important; | ||
| --pst-color-surface: #fcfcfc !important; | ||
| --pst-color-text-muted: #6e6e80 !important; | ||
| --pst-color-inline-code: #9a4a4a !important; | ||
| --pst-color-blockquote-notch: #6e6e80 !important; | ||
| } | ||
|
|
||
| /* Dark mode color overrides */ | ||
| html[data-theme="dark"] { | ||
| --pst-color-table-row-zebra-high-bg: #1e1e1e !important; | ||
| --pst-color-table-row-zebra-low-bg: #2a2a2a !important; | ||
| --pst-color-table-heading-bg: #333 !important; | ||
| --pst-color-table-row-hover-bg: #3a3a3a !important; | ||
| --pst-color-secondary: #aaa !important; | ||
| --pst-color-secondary-bg: #333 !important; | ||
| --pst-color-surface: #1e1e1e !important; | ||
| --pst-color-text-muted: #9ca4af !important; | ||
| --pst-color-inline-code: #e8a0a0 !important; | ||
| --pst-color-blockquote-notch: #9ca4af !important; | ||
| } | ||
|
|
||
| /* Class/function names in API docs */ | ||
| html[data-theme="light"] .sig-name { | ||
| color: #005B82 !important; | ||
| } | ||
|
|
||
| html[data-theme="dark"] .sig-name { | ||
| color: #6db3d0 !important; | ||
| } | ||
|
|
||
| /* Syntax highlighting - literals/numbers use blue-brown for color blindness accessibility */ | ||
| /* Prevents green/brown confusion for protanopia/deuteranopia */ | ||
| html[data-theme="light"] .highlight .l, | ||
| html[data-theme="light"] .highlight .m, | ||
| html[data-theme="light"] .highlight .mb, | ||
| html[data-theme="light"] .highlight .mf, | ||
| html[data-theme="light"] .highlight .mh, | ||
| html[data-theme="light"] .highlight .mi, | ||
| html[data-theme="light"] .highlight .mo, | ||
| html[data-theme="light"] .highlight .il, | ||
| html[data-theme="light"] .highlight .ld, | ||
| html[data-theme="light"] .highlight .kt { | ||
| color: #6B5B3D !important; | ||
| } | ||
|
|
||
| /* Code block border radius */ | ||
| div.literal-block-wrapper, | ||
| div.highlight, | ||
| div[class*=highlight-] { | ||
| border-radius: 8px !important; | ||
| } | ||
|
|
||
| div.literal-block-wrapper div[class*=highlight-] pre, | ||
| pre { | ||
| border-radius: 8px !important; | ||
| } | ||
|
|
||
| /* Direct table styling override (light mode) */ | ||
| html[data-theme="light"] .table tbody tr:nth-child(odd) { | ||
| background-color: #f5f5f5 !important; | ||
| } | ||
|
|
||
| html[data-theme="light"] .table tbody tr:nth-child(2n) { | ||
| background-color: #fff !important; | ||
| } | ||
|
|
||
| html[data-theme="light"] .table thead tr { | ||
| background-color: #f0f0f0 !important; | ||
| border-bottom: 2px solid #ccc !important; | ||
| } | ||
|
|
||
| html[data-theme="light"] .table tbody tr:hover { | ||
| background-color: #e8e8e8 !important; | ||
| } | ||
|
|
||
| /* Direct table styling override (dark mode) */ | ||
| html[data-theme="dark"] .table tbody tr:nth-child(odd) { | ||
| background-color: #2a2a2a !important; | ||
| } | ||
|
|
||
| html[data-theme="dark"] .table tbody tr:nth-child(2n) { | ||
| background-color: #1e1e1e !important; | ||
| } | ||
|
|
||
| html[data-theme="dark"] .table thead tr { | ||
| background-color: #333 !important; | ||
| border-bottom: 2px solid #555 !important; | ||
| } | ||
|
|
||
| html[data-theme="dark"] .table tbody tr:hover { | ||
| background-color: #3a3a3a !important; | ||
| } | ||
|
|
||
| /* Right sidebar TOC active item - Redis red */ | ||
| .toc-entry a.nav-link.active { | ||
| box-shadow: inset 1px 0 0 #DC382D !important; | ||
| color: #DC382D !important; | ||
| font-weight: normal !important; | ||
| } | ||
|
|
||
| /* Right sidebar TOC hover - no underline, subtle color change */ | ||
| .toc-entry a.nav-link:hover, | ||
| .toc-entry a.nav-link.active:hover { | ||
| text-decoration: none !important; | ||
| color: #DC382D !important; | ||
| } |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,6 @@ query | |
| filter | ||
| vectorizer | ||
| reranker | ||
| utils | ||
| cache | ||
| message_history | ||
| router | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,7 +106,7 @@ VectorRangeQuery | |
| ) | ||
|
|
||
| AggregateHybridQuery | ||
| ================ | ||
| ==================== | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do these actually render any differently? At least in the GitHub preview, it all turns into a regular horizontal line. |
||
|
|
||
|
|
||
| .. currentmodule:: redisvl.query | ||
|
|
@@ -221,7 +221,7 @@ CountQuery | |
|
|
||
|
|
||
| MultiVectorQuery | ||
| ========== | ||
| ================ | ||
|
|
||
| .. currentmodule:: redisvl.query | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since
redis:latestwill only ever start the version of Redis that was latest when you downloaded the image (and not necessarily the latest Redis), it might be worth having the Makefile command print out the current version of Redis that was started.