diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 02bd5f3..7443f5c 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -30,26 +30,20 @@ const config: Config = { { docs: { sidebarPath: './sidebars.ts', - // 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/', - }, - blog: { - showReadingTime: true, - feedOptions: { - type: ['rss', 'atom'], - xslt: 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/', - // Useful options to enforce blogging best practices - onInlineTags: 'warn', - onInlineAuthors: 'warn', - onUntruncatedBlogPosts: 'warn', + editUrl: 'https://github.com/kenstir/hemlock-docs/', }, + // blog: { + // showReadingTime: true, + // feedOptions: { + // type: ['rss', 'atom'], + // xslt: true, + // }, + // editUrl: 'https://github.com/kenstir/hemlock-docs/', + // // Useful options to enforce blogging best practices + // onInlineTags: 'warn', + // onInlineAuthors: 'warn', + // onUntruncatedBlogPosts: 'warn', + // }, theme: { customCss: './src/css/custom.css', }, @@ -59,23 +53,23 @@ const config: Config = { themeConfig: { // Replace with your project's social card - image: 'img/docusaurus-social-card.jpg', + // image: 'img/docusaurus-social-card.jpg', navbar: { - title: 'My Site', - logo: { - alt: 'My Site Logo', - src: 'img/logo.svg', - }, + title: 'Home', + // logo: { + // alt: 'My Site Logo', + // src: 'img/logo.svg', + // }, items: [ { type: 'docSidebar', - sidebarId: 'tutorialSidebar', + sidebarId: 'docsSidebar', position: 'left', - label: 'Tutorial', + label: 'Docs', }, {to: '/blog', label: 'Blog', position: 'left'}, { - href: 'https://github.com/facebook/docusaurus', + href: 'https://github.com/kenstir/hemlock-docs', label: 'GitHub', position: 'right', }, diff --git a/sidebars.ts b/sidebars.ts index acc7685..476363a 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -12,11 +12,11 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; */ const sidebars: SidebarsConfig = { // By default, Docusaurus generates a sidebar from the docs folder structure - tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], + docsSidebar: [{type: 'autogenerated', dirName: '.'}], // But you can create a sidebar manually /* - tutorialSidebar: [ + docsSidebar: [ 'intro', 'hello', { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 400a3e1..567d8cf 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -32,8 +32,8 @@ export default function Home(): JSX.Element { const {siteConfig} = useDocusaurusContext(); return ( + title={`${siteConfig.title}`} + description={`${siteConfig.tagline}`}>