Skip to content

Commit 14cc76d

Browse files
authored
Replace Algolia search with Quarto built-in search (#2007)
1 parent e8cefb7 commit 14cc76d

10 files changed

Lines changed: 0 additions & 193 deletions

.github/workflows/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ Note that technically, <prerelease.quarto.org> is also a deploy preview on Netli
3030
- For `prerelease` branch, we use `git cherry-pick` the commit from main following previous above step.
3131
- Then we trigger the `publish.yml` workflow with `workflow_call` event trigger for each of the branch.
3232

33-
- `upload-index.yml` - This workflow is triggered by a cron schedule. It updates the indexes for Algolia search engine, which powers the sites search.
34-
- `search.json` is built when the website is rendered and then it is deployed to the website.
35-
- This index file is retrieved on deployed website to be updated on Algolia.
36-
- Both `quarto.org` and `prerelease.quarto.org` indexes are updated in the same run - they each use one specific algolia index
37-
3833
- `draft-check.yml` - A lightweight workflow that detects `draft: true` pages among changed `.qmd` files. Runs on all PRs to `main` and `prerelease` with no `paths-ignore`, so it always creates a status check.
3934
- Uses the reusable composite action at `.github/workflows/actions/detect-drafts/`.
4035
- Configured as a required status check on `main` (`check-drafts` job), blocking merge until `draft: true` is removed.

.github/workflows/algolia-config.json

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

.github/workflows/test-algolia-upload.yml

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

.github/workflows/upload-algolia.rb

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

.github/workflows/upload-index.yml

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

_quarto-prerelease-docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ website:
1313
content: "Pre-release (v{{< meta version >}}) Documentation: [Download v{{< meta version >}}](/docs/download/prerelease.qmd), [Current Release Docs](http://quarto.org) "
1414
navbar:
1515
pinned: true
16-
search:
17-
algolia:
18-
index-name: prerelease_QUARTO
1916

2017
format:
2118
html:

_quarto.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
project:
22
type: website
33
output-dir: _site
4-
post-render:
5-
- _tools/algolia-add-custom-attribute.ts
64
resources:
75
- "/docs/download/_download.json"
86
- "/docs/download/_prerelease.json"
@@ -31,12 +29,6 @@ website:
3129
search:
3230
show-item-context: true
3331
type: overlay
34-
algolia:
35-
index-name: prod_QUARTO
36-
application-id: ZPJB5I1QN7
37-
search-only-api-key: 49ee55c4d51cbb25a06182d9eef55814
38-
analytics-events: true
39-
show-logo: true
4032
page-footer:
4133
left: |
4234
Proudly supported by

_tools/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Utility scripts for the quarto-web project. Run with `quarto run` (TypeScript, R
77
| Script | Language | Description |
88
|--------|----------|-------------|
99
| `publish-date.ts` | TypeScript | Set a blog post date to today and rename its directory to match |
10-
| `algolia-add-custom-attribute.ts` | TypeScript | Post-render hook: adds custom attributes to Algolia search index |
1110
| `reference.ts` | TypeScript | Generate reference documentation |
1211
| `reference-cli-generate-md.R` | R | Generate CLI reference markdown |
1312
| `gallery-screenshot.R` | R | Capture gallery screenshots |

_tools/algolia-add-custom-attribute.ts

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

search-by-algolia.png

-1.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)