Skip to content

Commit

Permalink
Merge pull request #8 from AgrDataSci/booktheme
Browse files Browse the repository at this point in the history
  • Loading branch information
kauedesousa authored Dec 5, 2024
2 parents 239bdfd + d73f8bc commit 423b2be
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 63 deletions.
1 change: 1 addition & 0 deletions docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
slug: /
sidebar_position: 1
---

Expand Down
43 changes: 23 additions & 20 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,22 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
routeBasePath: '/', // Serve the docs at the site's root
sidebarPath: './sidebars.js',
sidebarCollapsible: false,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/${organizationName}/${projectName}/tree/main/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/${organizationName}/${projectName}/tree/main/',
'https://github.com/AgrDataSci/documentation/tree/main/',
},
blog: false,
// blog: {
// showReadingTime: true,
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// editUrl:
// 'https://github.com/${organizationName}/${projectName}/tree/main/',
// },
theme: {
customCss: './src/css/custom.css',
},
Expand All @@ -72,13 +75,13 @@ const config = {
src: 'img/1000FARMS.jpg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Documentation',
},
{to: '/blog', label: 'Blog', position: 'left'},
// {
// type: 'docSidebar',
// sidebarId: 'tutorialSidebar',
// position: 'left',
// label: 'Documentation',
// },
// {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/AgrDataSci/documentation',
label: 'GitHub',
Expand All @@ -97,7 +100,7 @@ const config = {
items: [
{
label: 'Tutorial',
to: '/docs/intro',
to: '/',
},
],
},
Expand All @@ -121,10 +124,10 @@ const config = {
{
title: 'More',
items: [
{
label: 'Blog',
to: '/blog',
},
// {
// label: 'Blog',
// to: '/blog',
// },
{
label: 'GitHub',
href: 'https://github.com/AgrDataSci/documentation',
Expand Down
43 changes: 0 additions & 43 deletions src/pages/index.js

This file was deleted.

0 comments on commit 423b2be

Please sign in to comment.