44// There are various equivalent ways to declare your Docusaurus config.
55// See: https://docusaurus.io/docs/api/docusaurus-config
66
7- import { themes as prismThemes } from 'prism-react-renderer' ;
7+ import { themes as prismThemes } from 'prism-react-renderer' ;
88
99// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
1010
@@ -53,21 +53,7 @@ const config = {
5353 editUrl :
5454 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/' ,
5555 } ,
56- blog : {
57- showReadingTime : true ,
58- feedOptions : {
59- type : [ 'rss' , 'atom' ] ,
60- xslt : true ,
61- } ,
62- // Please change this to your repo.
63- // Remove this to remove the "edit this page" links.
64- editUrl :
65- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/' ,
66- // Useful options to enforce blogging best practices
67- onInlineTags : 'warn' ,
68- onInlineAuthors : 'warn' ,
69- onUntruncatedBlogPosts : 'warn' ,
70- } ,
56+ blog : false , // Disable blog feature
7157 theme : {
7258 customCss : './src/css/custom.css' ,
7359 } ,
@@ -93,7 +79,6 @@ const config = {
9379 position : 'left' ,
9480 label : 'Tutorial' ,
9581 } ,
96- { to : '/blog' , label : 'Blog' , position : 'left' } ,
9782 {
9883 href : 'https://github.com/facebook/docusaurus' ,
9984 label : 'GitHub' ,
@@ -133,10 +118,6 @@ const config = {
133118 {
134119 title : 'More' ,
135120 items : [
136- {
137- label : 'Blog' ,
138- to : '/blog' ,
139- } ,
140121 {
141122 label : 'GitHub' ,
142123 href : 'https://github.com/facebook/docusaurus' ,
0 commit comments