File tree Expand file tree Collapse file tree 5 files changed +26
-4
lines changed
Expand file tree Collapse file tree 5 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 11---
22id : introduction
3+ slug : /
34title : Welcome!
45---
56
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = {
88 onBrokenLinks : 'warn' ,
99 favicon : 'img/favicon.ico' ,
1010 organizationName : 'Swarm' , // Usually your GitHub org/user name.
11- projectName : 'bee' , // Usually your repo name.
11+ projectName : 'bee-js-docs ' , // Usually your repo name.
1212 themeConfig : {
1313 colourMode : {
1414 defaultMode : 'dark'
@@ -110,8 +110,6 @@ module.exports = {
110110 '@docusaurus/preset-classic' ,
111111 {
112112 docs : {
113- // It is recommended to set document id as docs home page (`docs/` path).
114- homePageId : 'introduction' ,
115113 sidebarPath : require . resolve ( './sidebars.js' ) ,
116114 // Please change this to your repo.
117115 editUrl :
Original file line number Diff line number Diff line change 11{
2- "name" : " bee-docusaurus-v-2 " ,
2+ "name" : " bee-js-docs " ,
33 "version" : " 0.0.0" ,
44 "private" : true ,
5+ "description" : " Documentation for bee-js library" ,
6+ "keywords" : [
7+ " Bee" ,
8+ " Swarm" ,
9+ " Decentralised Storage" ,
10+ " Documentation"
11+ ],
12+ "homepage" : " https://github.com/ethersphere/bee-js-docs" ,
13+ "bugs" : {
14+ "url" : " https://github.com/ethersphere/bee-js-docs/issues/"
15+ },
16+ "license" : " BSD-3-Clause" ,
17+ "repository" : {
18+ "type" : " git" ,
19+ "url" : " https://github.com/ethersphere/bee-js-docs.git"
20+ },
521 "scripts" : {
622 "docusaurus" : " docusaurus" ,
723 "start" : " docusaurus start" ,
3046 " last 1 firefox version" ,
3147 " last 1 safari version"
3248 ]
49+ },
50+ "engines" : {
51+ "node" : " >=14.0.0" ,
52+ "npm" : " >=6.0.0"
3353 }
3454}
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ const Search = props => {
1616 const { siteConfig = { } } = useDocusaurusContext ( ) ;
1717 const { baseUrl } = siteConfig ;
1818 const initAlgolia = ( searchDocs , searchIndex , DocSearch ) => {
19+ if ( searchDocs . length === 0 ) {
20+ return ;
21+ }
1922 new DocSearch ( {
2023 searchDocs,
2124 searchIndex,
You can’t perform that action at this time.
0 commit comments