Skip to content

Commit

Permalink
docs: Update for v1-v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Mar 29, 2024
1 parent 190e393 commit 88eed8b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {defineConfig} from 'vitepress'
export default defineConfig({
title: 'ImageOptimize Plugin',
description: 'Documentation for the ImageOptimize plugin',
base: '/docs/image-optimize/',
base: '/docs/image-optimize/v4/',
lang: 'en-US',
head: [
['meta', {content: 'https://github.com/nystudio107', property: 'og:see_also',}],
Expand All @@ -24,7 +24,10 @@ export default defineConfig({
algolia: {
appId: 'HVVF81UL1B',
apiKey: '84793c9eb47412ec6c79ad038c19086e',
indexName: 'image-optimize'
indexName: 'image-optimize',
searchParameters: {
facetFilters: ["version:v4"],
},
},
lastUpdatedText: 'Last Updated',
sidebar: [
Expand All @@ -46,8 +49,9 @@ export default defineConfig({
{text: 'Issues', link: 'https://github.com/nystudio107/craft-imageoptimize/issues'},
{
text: 'v4', items: [
{text: 'v5', link: 'https://nystudio107.com/docs/image-optimize/'},
{text: 'v4', link: '/'},
{text: 'v3', link: 'https://nystudio107.com/docs/image-optimize/v3/'},
{text: 'v3', link: 'https://nystudio107.com/docs/image-optimize/v1/'},
],
},
],
Expand Down

0 comments on commit 88eed8b

Please sign in to comment.