@@ -10,10 +10,16 @@ const users = [
10
10
const siteConfig = {
11
11
title : 'React Navigation' ,
12
12
tagline : 'Routing and navigation for your React Native apps' ,
13
- url : 'https://reactnavigation.org' ,
13
+ url : process . env . STABLE_RELEASE
14
+ ? 'https://reactnavigation.org'
15
+ : 'https://next.react-navigation.org' ,
14
16
baseUrl : '/' ,
15
- organizationName : 'react-navigation' ,
16
- projectName : 'react-navigation.github.io' ,
17
+ organizationName : process . env . STABLE_RELEASE
18
+ ? 'react-navigation'
19
+ : 'react-navigation-next' ,
20
+ projectName : process . env . STABLE_RELEASE
21
+ ? 'react-navigation.github.io'
22
+ : 'react-navigation-next.github.io' ,
17
23
headerLinks : [
18
24
{ doc : 'getting-started' , label : 'Docs' } ,
19
25
{ doc : 'api-reference' , label : 'API' } ,
@@ -37,11 +43,16 @@ const siteConfig = {
37
43
onPageNav : 'separate' ,
38
44
scripts : [ 'https://buttons.github.io/buttons.js' ] ,
39
45
repoUrl : 'https://github.com/react-navigation/react-navigation' ,
40
- editUrl : 'https://github.com/react-navigation/react-navigation.github.io/edit/source/docs/' ,
41
- algolia : {
42
- apiKey : 'c967b4a1491b9cb486d3dca087b771e6' ,
43
- indexName : 'reactnavigation' ,
44
- } ,
46
+ editUrl :
47
+ 'https://github.com/react-navigation/react-navigation.github.io/edit/source/docs/' ,
48
+ ...( process . env . STABLE_RELEASE
49
+ ? {
50
+ algolia : {
51
+ apiKey : 'c967b4a1491b9cb486d3dca087b771e6' ,
52
+ indexName : 'reactnavigation' ,
53
+ } ,
54
+ }
55
+ : { } ) ,
45
56
} ;
46
57
47
58
module . exports = siteConfig ;
0 commit comments