Skip to content

Commit c714668

Browse files
committed
Revert "Changed main entry when in development (#3601)"
This reverts commit e05b058.
1 parent c116a1c commit c714668

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docuilib/docusaurus.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const {themes} = require('prism-react-renderer');
22
const lightCodeTheme = themes.github;
33
const darkCodeTheme = themes.dracula;
4-
const isDev = process.env.NODE_ENV === 'development';
54

65
// With JSDoc @type annotations, IDEs can provide config autocompletion
76
/** @type {import('@docusaurus/types').DocusaurusConfig} */
@@ -18,7 +17,7 @@ const isDev = process.env.NODE_ENV === 'development';
1817
projectName: 'react-native-ui-lib', // Usually your repo name.
1918
trailingSlash: false,
2019
customFields: {
21-
docsMainEntry: `${isDev ? 'next/' : ''}getting-started/setup`,
20+
docsMainEntry: 'getting-started/setup',
2221
expoSnackLink: 'https://snack.expo.io/@ethanshar/rnuilib_snack',
2322
stars: '4.7'
2423
},

0 commit comments

Comments
 (0)