mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
Docs(refactor): minor renaming of variables for clarity
This commit is contained in:
parent
468d687a50
commit
daf1ec05c1
@ -15,7 +15,7 @@
|
|||||||
// type ReadmeData = Readme & { repoUrl: string };
|
// type ReadmeData = Readme & { repoUrl: string };
|
||||||
|
|
||||||
// all SDK repos and what they map to for the sidebar.
|
// all SDK repos and what they map to for the sidebar.
|
||||||
const SDKS_base = {
|
const sdksUnmapped = {
|
||||||
'unleash-client-go': {
|
'unleash-client-go': {
|
||||||
sidebarName: 'Go',
|
sidebarName: 'Go',
|
||||||
branch: 'v3',
|
branch: 'v3',
|
||||||
@ -34,7 +34,7 @@ const SDKS_base = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const SDKS = Object.fromEntries(
|
const SDKS = Object.fromEntries(
|
||||||
Object.entries(SDKS_base).map(([repoName, repoData]) => {
|
Object.entries(sdksUnmapped).map(([repoName, repoData]) => {
|
||||||
const repoUrl = `https://github.com/Unleash/${repoName}`;
|
const repoUrl = `https://github.com/Unleash/${repoName}`;
|
||||||
const slugName = (
|
const slugName = (
|
||||||
repoData.slugName ?? repoData.sidebarName
|
repoData.slugName ?? repoData.sidebarName
|
||||||
|
Loading…
Reference in New Issue
Block a user