Skip to content

Commit 1394c95

Browse files
Sidebar change for complile.
1 parent b73290e commit 1394c95

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ npm-debug.log*
2525
yarn-debug.log*
2626
yarn-error.log*
2727
CLAUDE.md
28+
.claude/settings.local.json

sidebars/endpointprotector/5.9.4.js

Lines changed: 0 additions & 8 deletions
This file was deleted.
File renamed without changes.

src/config/products.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,19 +260,13 @@ export const PRODUCTS = [
260260
icon: '',
261261
versions: [
262262
{
263-
version: '5.9.4.2',
264-
label: '5.9.4.2',
263+
version: 'current',
264+
label: 'Current',
265265
isLatest: true,
266-
sidebarFile: './sidebars/endpointprotector/5.9.4.2.js',
267-
},
268-
{
269-
version: '5.9.4',
270-
label: '5.9.4',
271-
isLatest: false,
272-
sidebarFile: './sidebars/endpointprotector/5.9.4.js',
266+
sidebarFile: './sidebars/endpointprotector/epp.js',
273267
},
274268
],
275-
defaultVersion: '5.9.4.2',
269+
defaultVersion: 'current',
276270
},
277271
{
278272
id: 'identitymanager',
@@ -704,10 +698,10 @@ export function getDefaultProduct() {
704698
*/
705699
export function generateDocusaurusPlugins() {
706700
const plugins = [];
707-
701+
708702
// Filter products if DOCS_PRODUCT environment variable is set
709703
const targetProduct = process.env.DOCS_PRODUCT;
710-
const productsToProcess = targetProduct
704+
const productsToProcess = targetProduct
711705
? PRODUCTS.filter(product => product.id === targetProduct)
712706
: PRODUCTS;
713707

0 commit comments

Comments
 (0)