mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
docs: Integrate docusaraus for docs (#5482)
* feat:Integrate docusaraus for docs * Update docs for Excalidraw Co-authored-by: David Luzar <luzar.david@gmail.com> * remove blogs * remove blog authors * get started docs * typo * add static assets * change port number * Add script to build docs only if docs updated * dummy * update script to be compatible with ignoreBuild in vercel * remove script and dummy log Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
339212e563
commit
2b049b4a65
28 changed files with 8110 additions and 1 deletions
31
docs/sidebars.js
Normal file
31
docs/sidebars.js
Normal file
|
@ -0,0 +1,31 @@
|
|||
/**
|
||||
* Creating a sidebar enables you to:
|
||||
- create an ordered group of docs
|
||||
- render a sidebar for each doc of that group
|
||||
- provide next/previous navigation
|
||||
|
||||
The sidebars can be generated from the filesystem, or explicitly defined here.
|
||||
|
||||
Create as many sidebars as you want.
|
||||
*/
|
||||
|
||||
// @ts-check
|
||||
|
||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||
const sidebars = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['hello'],
|
||||
},
|
||||
],
|
||||
*/
|
||||
};
|
||||
|
||||
module.exports = sidebars;
|
Loading…
Add table
Add a link
Reference in a new issue