Skip to content

Commit de5cc70

Browse files
fix: resolve sidebar position conflict and add OtherTechnology type
Signed-off-by: Jonathan Norris <[email protected]>
1 parent d1ccf21 commit de5cc70

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs/reference/other-technologies/ofrep/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: OpenFeature Remote Evaluation Protocol (OFREP)
33
sidebar_label: OFREP
4-
sidebar_position: 2
4+
sidebar_position: 1
55
id: ofrep
66
---
77

scripts/process-sdk-readmes.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,17 @@ export const processSdkReadmes = {
262262
/**
263263
* Other Technologies content configuration
264264
*/
265-
// TODO: update branches to main once PRs are merged
266-
const OTHER_TECHNOLOGIES = [
265+
type OtherTechnology = {
266+
repo: string;
267+
id: string;
268+
title: string;
269+
label: string;
270+
position: number;
271+
branch: string;
272+
filename?: string;
273+
};
274+
275+
const OTHER_TECHNOLOGIES: OtherTechnology[] = [
267276
{ repo: 'cli', id: 'cli', title: 'OpenFeature CLI', label: 'CLI', position: 1, branch: 'main' },
268277
{ repo: 'protocol', id: 'ofrep', title: 'OpenFeature Remote Evaluation Protocol (OFREP)', label: 'OFREP', position: 2, branch: 'main', filename: 'ofrep/index.mdx' },
269278
{ repo: 'mcp', id: 'mcp', title: 'OpenFeature MCP Server', label: 'MCP', position: 3, branch: 'main' },

0 commit comments

Comments
 (0)