* add blog and update docusaurus
This commit is contained in:
Andrew Maguire
2023-02-05 22:19:37 +01:00
committed by GitHub
parent 9467b21d53
commit f05d6abcb7
5 changed files with 491 additions and 6 deletions
+17 -1
View File
@@ -41,7 +41,22 @@ const config = {
api: {
path: "docs/api/openapi.json",
},
blog: false,
blog: {
routeBasePath: "/blog",
showReadingTime: true,
blogTitle: "OpenAssistant Blog",
blogDescription: "Home of the OpenAssistant blog.",
blogSidebarTitle: "Blog Posts",
blogSidebarCount: "ALL",
postsPerPage: "ALL",
feedOptions: {
type: "all",
title: "OpenAssistant Blog",
description: "Home of the OpenAssistant blog.",
language: "en",
copyright: `Copyright © ${new Date().getFullYear()} OpenAssistant.`,
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
@@ -65,6 +80,7 @@ const config = {
position: "left",
label: "Docs",
},
{ to: "/blog", label: "Blog", position: "left" },
{ to: "/api", label: "API", position: "left" },
{
href: "https://github.com/LAION-AI/Open-Assistant",