Skip to content

Commit 423b2be

Browse files
authored
Merge pull request #8 from AgrDataSci/booktheme
2 parents 239bdfd + d73f8bc commit 423b2be

File tree

3 files changed

+24
-63
lines changed

3 files changed

+24
-63
lines changed

docs/intro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
slug: /
23
sidebar_position: 1
34
---
45

docusaurus.config.js

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,22 @@ const config = {
4040
/** @type {import('@docusaurus/preset-classic').Options} */
4141
({
4242
docs: {
43+
routeBasePath: '/', // Serve the docs at the site's root
4344
sidebarPath: './sidebars.js',
45+
sidebarCollapsible: false,
4446
// Please change this to your repo.
4547
// Remove this to remove the "edit this page" links.
4648
editUrl:
47-
'https://github.com/${organizationName}/${projectName}/tree/main/',
48-
},
49-
blog: {
50-
showReadingTime: true,
51-
// Please change this to your repo.
52-
// Remove this to remove the "edit this page" links.
53-
editUrl:
54-
'https://github.com/${organizationName}/${projectName}/tree/main/',
49+
'https://github.com/AgrDataSci/documentation/tree/main/',
5550
},
51+
blog: false,
52+
// blog: {
53+
// showReadingTime: true,
54+
// // Please change this to your repo.
55+
// // Remove this to remove the "edit this page" links.
56+
// editUrl:
57+
// 'https://github.com/${organizationName}/${projectName}/tree/main/',
58+
// },
5659
theme: {
5760
customCss: './src/css/custom.css',
5861
},
@@ -72,13 +75,13 @@ const config = {
7275
src: 'img/1000FARMS.jpg',
7376
},
7477
items: [
75-
{
76-
type: 'docSidebar',
77-
sidebarId: 'tutorialSidebar',
78-
position: 'left',
79-
label: 'Documentation',
80-
},
81-
{to: '/blog', label: 'Blog', position: 'left'},
78+
// {
79+
// type: 'docSidebar',
80+
// sidebarId: 'tutorialSidebar',
81+
// position: 'left',
82+
// label: 'Documentation',
83+
// },
84+
// {to: '/blog', label: 'Blog', position: 'left'},
8285
{
8386
href: 'https://github.com/AgrDataSci/documentation',
8487
label: 'GitHub',
@@ -97,7 +100,7 @@ const config = {
97100
items: [
98101
{
99102
label: 'Tutorial',
100-
to: '/docs/intro',
103+
to: '/',
101104
},
102105
],
103106
},
@@ -121,10 +124,10 @@ const config = {
121124
{
122125
title: 'More',
123126
items: [
124-
{
125-
label: 'Blog',
126-
to: '/blog',
127-
},
127+
// {
128+
// label: 'Blog',
129+
// to: '/blog',
130+
// },
128131
{
129132
label: 'GitHub',
130133
href: 'https://github.com/AgrDataSci/documentation',

src/pages/index.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)