Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docsite/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const organizationName = "microsoft";

Check warning on line 5 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote
const projectName = "react-native-macos";

Check warning on line 6 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote
const projectFriendlyName = "React Native macOS";

Check warning on line 7 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote
const githubUrl = "https://github.com/" + organizationName + "/" + projectName;

Check warning on line 8 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote

Check warning on line 8 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote
const mainBranchUrl = githubUrl + "/tree/main";

Check warning on line 9 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote
const docsiteUrl = mainBranchUrl + "/docsite";

Check warning on line 10 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote

const config: Config = {
title: 'React Native macOS',
Expand All @@ -15,9 +15,9 @@
favicon: 'img/favicon.ico',

url: 'https://' + organizationName + '.github.io',
baseUrl: "/" + projectName + "/",

Check warning on line 18 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote

Check warning on line 18 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Strings must use singlequote

organizationName,

Check warning on line 20 in docsite/docusaurus.config.ts

View workflow job for this annotation

GitHub Actions / JavaScript Tests

Trailing spaces not allowed
projectName,

onBrokenLinks: 'throw',
Expand Down Expand Up @@ -108,6 +108,7 @@
prism: {
theme: prismThemes.vsLight,
darkTheme: prismThemes.vsDark,
additionalLanguages: ['diff'],
},
} satisfies Preset.ThemeConfig,
};
Expand Down
Loading