mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 15:38:33 +02:00
Revert "Add accordion dropdown to Hugo" (#707)
This commit is contained in:
@@ -274,26 +274,3 @@ From the root of the project:
|
||||
```bash
|
||||
sass --watch --style=compressed ./qdrant-landing/themes/qdrant/static/css/pages/marketing-landing.scss ./qdrant-landing/themes/qdrant/static/css/marketing-landing.css
|
||||
```
|
||||
|
||||
## SEO Help: Progressive disclosure (accordions)
|
||||
|
||||
Minimize what readers see. Documentation like FAQs can seem overwhelming to readers. We can
|
||||
incorporate an "accordion" with a forward-pointing triangle which allows users to read more about
|
||||
a topic.
|
||||
|
||||
Proper use of the accordion enhances SEO.
|
||||
|
||||
Example: the following code sets up an accordion for the content contained therein:
|
||||
|
||||
```markdown
|
||||
<details>
|
||||
<summary>"More info on HNSW"</summary>
|
||||
Once we have a canonical Qdrant definition for HNSW, we can add it here.
|
||||
</details>
|
||||
```
|
||||
|
||||
From this code, all the user sees in the build is:
|
||||
|
||||
`> More info on HNSW`
|
||||
|
||||
When the user selects (clicks) on the forward triangle, the user sees additional information.
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
title: POC - Test documentation for partials
|
||||
draft: true
|
||||
weight: 10000
|
||||
hideInSidebar: true
|
||||
draft: true
|
||||
---
|
||||
|
||||
This is a POC of features that we already have, and possibly others from Hugo
|
||||
(gohugo.io) that I'd like to incorporate into our docs. We should also be able
|
||||
to use this in our articles and blog posts.
|
||||
|
||||
This feature relates to progressive disclosure. When we have a "lot" of content,
|
||||
many readers may want to skip over content such as descriptions of HNSW that they
|
||||
already know. (Tip, click on the right facing arrow.)
|
||||
|
||||
<!-- commenting out related Hugo feature
|
||||
{{% expand "More info on HNSW" %}}
|
||||
Once we have a canonical Qdrant definition for HNSW, we can add it here.
|
||||
{{% /expand %}}
|
||||
<br>-->
|
||||
|
||||
<details>
|
||||
<summary>More info on HNSW</summary>
|
||||
Once we have a canonical Qdrant definition for HNSW, we can add it here.
|
||||
</details>
|
||||
Reference in New Issue
Block a user