Skip to content

Commit

Permalink
Update Docusaurus configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Feb 20, 2024
1 parent 2909bbc commit 9bea382
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 60 deletions.
67 changes: 29 additions & 38 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { themes as prismThemes } from 'prism-react-renderer';
const config = {
title: 'Rossum.ai Cookbook',
tagline: 'Build something cool with Rossum.ai',
favicon: 'img/favicon.ico',
favicon: 'img/128-blue-crunch.png',

// Set the production url of your site here
url: 'https://rossumai-community.github.io',
Expand Down Expand Up @@ -42,17 +42,11 @@ const config = {
({
docs: {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
editUrl: 'https://github.com/rossumai-community/cookbook/tree/master/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
editUrl: 'https://github.com/rossumai-community/cookbook/tree/master/',
},
theme: {
customCss: './src/css/custom.css',
Expand All @@ -67,10 +61,10 @@ const config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'Cookbook',
title: 'Rossum.ai Cookbook',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
alt: 'Rossum.ai Logo',
src: 'img/128-blue-crunch.png',
},
items: [
{
Expand All @@ -85,13 +79,21 @@ const config = {
position: 'left',
label: 'Extensions',
},
{
type: 'docSidebar',
sidebarId: 'docusaurusSidebar',
position: 'left',
label: 'Docusaurus',
},
{ to: '/blog', label: 'Blog', position: 'left' },

// See: http://localhost:3000/cookbook/docs/docusaurus/intro
// {
// type: 'docSidebar',
// sidebarId: 'docusaurusSidebar',
// position: 'left',
// label: 'Docusaurus',
// },

// http://localhost:3000/cookbook/blog
// {
// to: '/blog',
// label: 'Blog',
// position: 'left',
// },
{
href: 'https://github.com/rossumai-community/cookbook',
label: 'GitHub',
Expand All @@ -111,23 +113,6 @@ const config = {
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
},
],
},
{
title: 'More',
items: [
Expand All @@ -137,16 +122,22 @@ const config = {
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
href: 'https://github.com/rossumai-community/cookbook',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} Rossum.ai`,
},
announcementBar: {
content: '🚧 Work in progress. 🚧',
backgroundColor: '#fff8e6',
isCloseable: false,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['json'],
},
}),
};
Expand Down
29 changes: 7 additions & 22 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,23 @@ import styles from './styles.module.css';

const FeatureList = [
{
title: 'Easy to Use',
title: 'WIP',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
used to get your website up and running quickly.
</>
),
description: <>Work in progress.</>,
},
{
title: 'Focus on What Matters',
title: 'WIP',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
ahead and move your docs into the <code>docs</code> directory.
</>
),
description: <>Work in progress.</>,
},
{
title: 'Powered by React',
title: 'WIP',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
</>
),
description: <>Work in progress.</>,
},
];

function Feature({Svg, title, description}) {
function Feature({ Svg, title, description }) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
Expand Down
Binary file added static/img/128-blue-crunch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9bea382

Please sign in to comment.