Update website and send total=-1 when no content-type

This commit is contained in:
Jerome Wu
2022-10-05 17:51:09 +08:00
parent c9f20b8dc2
commit b8314a96e3
26 changed files with 193 additions and 66 deletions

View File

@@ -14,20 +14,17 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
"intro",
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
type: "category",
label: "API",
items: ["api/classes/FFmpeg"],
},
],
*/
};
module.exports = sidebars;