-
Notifications
You must be signed in to change notification settings - Fork 277
DOC-5131 first attempt at links/formatting for develop landing page #1567
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
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b92667e
DOC-5131 first attempt at links/formatting for develop landing page
andy-stark-redis fd36f06
DOC-5131 added link to UI tools'
andy-stark-redis 8ac9ba5
Merge branch 'main' into DOC-5131-dev-landing-links
andy-stark-redis 9badc0b
DOC-5131 removed extra layout page, as suggested in feedback
andy-stark-redis a747b45
DOC-5131 attempt to fix broken images
andy-stark-redis 1a024bd
DOC-5131 fixed missing quotes in <img> elements
andy-stark-redis 18b7537
DOC-5131 fixed dodgy RI and RVSC links
andy-stark-redis 885e782
DOC-5131 added suggestions from feedback
andy-stark-redis 47d9b7b
DOC-5131 implemented feedback
andy-stark-redis 7babf9e
Merge branch 'main' into DOC-5131-dev-landing-links
andy-stark-redis 8bd68ee
DOC-5131 fixed UI tool image markup
andy-stark-redis dc85360
DOC-5131 changed link title to 'probabilistic types'
andy-stark-redis 987718d
DOC-5131 added relrefs for client tool links
andy-stark-redis 3de769f
DOC-5131 restored list-like presentation of other section links
andy-stark-redis 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| {{ define "head" }} | ||
| <script src='{{ relURL "js/cli.js" }}' defer></script> | ||
| <script src='{{ relURL "js/codetabs.js" }}' defer></script> | ||
| {{ end }} | ||
|
|
||
| {{ define "main" }} | ||
| <main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden"> | ||
| {{ partial "docs-nav.html" . }} | ||
| <div class="w-full py-12 md:pl-4 xl:px-16 overflow-hidden"> | ||
| {{ partial "breadcrumbs" . }} | ||
| <section class="prose w-full py-12 max-w-none"> | ||
| <h1> | ||
| {{ .Title }} | ||
| </h1> | ||
|
|
||
| {{ with .Params.description }}<p class="text-lg -mt-5 mb-10">{{ . | markdownify }}</p>{{ end }} | ||
|
|
||
| <!-- In-page banner --> | ||
| {{ if .Params.bannerText }} | ||
| <!-- Banner params are in the current page's front matter --> | ||
| {{ partial "banner-article.html" . }} | ||
| {{ else }} | ||
| <!-- Iterate through the page's ancestors to determine if a | ||
| section-wide banner is enabled by a parent page's front matter --> | ||
| {{ $ancestorDirs := slice }} | ||
| {{ with .File }} | ||
| {{ $ancestorDirs = split .Dir "/" }} | ||
| {{ end }} | ||
| {{ $currPage := .Page }} | ||
| {{ range $i, $page := $ancestorDirs }} | ||
| {{ if and $currPage.Params.bannerText $currPage.Params.bannerChildren }} | ||
| {{ partial "banner-article.html" $currPage }} | ||
| {{ end }} | ||
| {{ $currPage = $currPage.Parent }} | ||
| {{ end }} | ||
| {{ end }} | ||
|
|
||
| <!-- Responsive CLI Display Block as Table --> | ||
| <div class="overflow-x-auto"> | ||
| <table class="w-full border-collapse md:table" style="background-color: rgb(240,240,240);"> | ||
| <thead> | ||
| <tr> | ||
| <th class="p-4 text-left">Try these Redis commands</th> | ||
| <th class="p-4 text-left hidden md:table-cell">Redis CLI</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr class="flex flex-col md:table-row"> | ||
| <td class="align-top p-4 w-full md:w-[40%] text-base font-mono"> | ||
| <code><a href="/commands/ping">PING</a></code></br> | ||
| <code><a href="/commands/hset">HSET</a> user:1 name antirez vocation artist</code></br> | ||
| <code><a href="/commands/hgetall">HGETALL</a> user:1</code></br> | ||
| <code><a href="/commands/set">SET</a> e 2.71</code></br> | ||
| <code><a href="/commands/incrbyfloat">INCRBYFLOAT</a> e 0.43</code></br> | ||
| <code><a href="/commands/rename">RENAME</a> e pi</code></br> | ||
| <code><a href="/commands/get">GET</a> pi</code><br/><br/> | ||
| # <a href='{{ relURL "/commands/"}}'>See all commands</a> | ||
| </td> | ||
| <td class="align-top p-4 w-full md:w-[60%]"> | ||
| <div class="bg-slate-900 rounded-xl shadow-lg shadow-slate-900/10 h-60 overflow-y-auto"> | ||
| <div class="border-b border-slate-700 rounded-t-xl px-4 py-3 w-full flex"> | ||
| {{ partial "icons/cli-circle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} | ||
| {{ partial "icons/cli-triangle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} | ||
| {{ partial "icons/cli-star" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} | ||
| </div> | ||
| <form class="redis-cli" typewriter> | ||
| <pre tabindex="0" class="whitespace-pre"> | ||
| PING | ||
| </pre> | ||
| </form> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| </div> | ||
|
|
||
| {{ .Content }} | ||
| {{ if not .Params.hideListLinks }} | ||
| <nav> | ||
| {{ range .CurrentSection.Pages }} | ||
| <a href="{{ .RelPermalink }}"{{ with .Params.manualLinkTitle }} title="{{ . }}"{{ end }}{{ with .Params.manualLinkTarget }} target="{{ . }}"{{ if eq . "_blank" }} rel="noopener"{{ end }}{{ end }}>{{- .Title -}}</a> | ||
| {{ if .Description }} | ||
| <p>{{ .Description | markdownify }}</p> | ||
| {{ else }} | ||
| <br /><br /> | ||
| {{ end }} | ||
| {{ end }} | ||
| </nav> | ||
| {{ end }} | ||
| {{ partial "feedback.html" . }} | ||
| </section> | ||
| </div> | ||
| {{/* partial "docs-toc.html" . */}} | ||
| </main> | ||
| {{ end }} |
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 |
|---|---|---|
| @@ -0,0 +1,111 @@ | ||
| <table> | ||
| <tr> | ||
| <td> | ||
| <table> | ||
| <tr> | ||
| <th></th> | ||
| <th style="text-align:center">Getting started</th> | ||
| <th style="text-align:center">Document search</th> | ||
| <th style="text-align:center">Vector search</th> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/redis-py" -}}'>Python</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/redis-py/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/redis-py/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/redis-py/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/dotnet" -}}'>C#/.NET</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/dotnet/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/dotnet/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/dotnet/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/nodejs" -}}'>Node.js</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/nodejs/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/nodejs/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/nodejs/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/jedis" -}}'>Java</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/jedis/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/jedis/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/jedis/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/go" -}}'>Go</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/go/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/go/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/go/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><a href='{{- relref . "/develop/clients/php" -}}'>PHP</a></td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/php/connect" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/php/queryjson" -}}'>✅</a> | ||
| </td> | ||
| <td style="text-align:center"> | ||
| <a href='{{- relref . "/develop/clients/php/vecsearch" -}}'>✅</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td colspan="4"> | ||
| <img | ||
| style="float: left;padding-left: 5%;padding-right: 5%;padding-top:0" | ||
| src='{{- relURL "/develop/tools/insight/images/Browser.png" -}}' | ||
| width="300px" | ||
| /> | ||
| <p> | ||
| <a href='{{ relURL "/develop/tools/insight" }}'><strong>Redis Insight</strong></a><br/> | ||
| Visual client tool for creating, managing, and analyzing | ||
| Redis databases. | ||
| </p> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td colspan="4"> | ||
| <img | ||
| style="float: left;padding-left: 5%;padding-right: 5%" | ||
| src='{{- relURL "/images/dev/connect/vscode/vscode-cli.png" -}}' | ||
| width="300px" | ||
| /> | ||
| <p> | ||
| <a href='{{ relURL "/develop/tools/redis-for-vscode" }}'><strong>Redis for VSCode</strong></a><br/> | ||
| Create and manage Redis databases directly from a <a href="https://code.visualstudio.com/">VSCode</a> | ||
| window using our editor extension. | ||
| </p> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
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 |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <table> | ||
| <tr> | ||
| <th> | ||
| <a href='{{ relref . "/develop/get-started" }}'> | ||
| <img src={{ relURL "/images/icon_logo/icon-developers-32-midnight.png" }}/> | ||
| <strong>Quick start</strong> | ||
| </a> | ||
| </th> | ||
| <th> | ||
| <a href='{{ relref . "/develop/data-types" }}'> | ||
| <img src={{ relURL "/images/icon_logo/icon-data-structures-32-midnight.png" }}/> | ||
| <strong>Data types</strong> | ||
| </a> | ||
| </th> | ||
| <th> | ||
| <a href='{{ relref . "/develop/interact/search-and-query" }}'> | ||
| <img src={{ relURL "/images/icon_logo/icon-text-search-32-midnight.png" }}/> | ||
| <strong>Query engine</strong> | ||
| </a> | ||
| </th> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <ul style="list-style-type: none; padding-left:0%;margin-left:-2%"> | ||
|
||
| <li><a href='{{ relref . "/develop/get-started/vector-database" }}'>Vector database</a></li> | ||
| <li><a href='{{ relref . "/develop/get-started/document-database" }}'>Document store</a></li> | ||
| <li><a href='{{ relref . "/develop/get-started/data-store" }}'>Data structure store</a></li> | ||
| <li><a href='{{ relref . "/develop/get-started/rag" }}'>RAG with Redis</a></li> | ||
| <li><a href='/develop/get-started/redis-in-ai'>GenAI</a></li> | ||
| </ul> | ||
| </td> | ||
| <td> | ||
| <ul style="list-style-type: none; padding-left:0%;margin-left:-2%"> | ||
| <li><a href='{{ relref . "/develop/data-types/strings" }}'>String</a></li> | ||
| <li><a href='{{ relref . "/develop/data-types/json" }}'>JSON</a></li> | ||
| <li><a href='{{ relref . "/develop/data-types/hashes" }}'>Hash</a></li> | ||
| <li><a href='{{ relref . "/develop/data-types/vector-sets" }}'>Vector set</a></li> | ||
| <li><a href='{{ relref . "/develop/data-types/probabilistic" }}'>Probabilistic</a></li> | ||
| </ul> | ||
| </td> | ||
| <td> | ||
| <ul style="list-style-type: none; padding-left:0%;margin-left:-2%"> | ||
| <li><a href='{{ relref . "/develop/interact/search-and-query" }}'>Get started</a></li> | ||
| <li><a href='{{ relref . "/develop/interact/search-and-query/basic-constructs/field-and-type-options" }}'>Schema field types</a></li> | ||
| <li><a href='{{ relref . "/develop/interact/search-and-query/indexing" }}'>Indexing</a></li> | ||
| <li><a href='{{ relref . "/develop/interact/search-and-query/query" }}'>Querying</a></li> | ||
| <li><a href='{{ relref . "/develop/interact/search-and-query/query-use-cases" }}'>Use cases</a></li> | ||
| </ul> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
|
|
||
|
|
||
|
|
||
|
|
||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Please remove these three lines, which cause the footer to behave erratically.