Skip to content

Commit

Permalink
feat: Implement search (and dynamic nav bar resizing) (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
svennam92 authored Sep 9, 2024
1 parent b71c2ef commit e77dca7
Show file tree
Hide file tree
Showing 5 changed files with 953 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
MILESTONE_NUMBER: "${{ github.event.milestone.number }}"
run: |
npm install
npm run build
npm run exec
- name: Set Git config
run: |
Expand Down
12 changes: 10 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@ const config = {
organizationName: "aws-samples",
projectName: "eks-workshop-v2",

plugins: ["docusaurus-plugin-sass"],
plugins: [
"docusaurus-plugin-sass",
[
"docusaurus-lunr-search",
{
disableVersioning: true,
},
],
],

i18n: {
defaultLocale: "en",
Expand Down Expand Up @@ -113,7 +121,7 @@ const config = {
type: "doc",
docId: "introduction/index",
position: "left",
label: "Introduction",
label: "Intro",
},
{
type: "doc",
Expand Down
Loading

0 comments on commit e77dca7

Please sign in to comment.