docs: bifurcate documentation into user and admin sections (#38196)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-02-26 16:29:08 -05:00
committed by GitHub
parent 8a053bbe07
commit 6589ee48f9
171 changed files with 10899 additions and 2866 deletions

View File

@@ -22,15 +22,12 @@
/** @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 we're not doing that.
// User Docs sidebar - for analysts and business users
CustomSidebar: [
{
type: 'doc',
label: 'Introduction',
id: 'intro',
label: 'Overview',
id: 'index',
},
{
type: 'doc',
@@ -39,27 +36,19 @@ const sidebars = {
},
{
type: 'category',
label: 'Installation',
label: 'Using Superset',
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'installation',
dirName: 'using-superset',
},
],
},
{
type: 'category',
label: 'Configuration',
items: [
{
type: 'autogenerated',
dirName: 'configuration',
},
],
},
{
type: 'category',
label: 'Databases',
label: 'Connecting to Databases',
collapsed: true,
link: {
type: 'doc',
id: 'databases/index',
@@ -71,58 +60,11 @@ const sidebars = {
},
],
},
{
type: 'category',
label: 'Using Superset',
items: [
{
type: 'autogenerated',
dirName: 'using-superset',
},
],
},
{
type: 'category',
label: 'Contributing',
items: [
{
type: 'autogenerated',
dirName: 'contributing',
},
],
},
{
type: 'category',
label: 'Security',
items: [
{
type: 'autogenerated',
dirName: 'security',
},
],
},
{
type: 'doc',
label: 'FAQ',
id: 'faq',
},
{
type: 'category',
label: 'API Reference',
link: {
type: 'doc',
id: 'api',
},
items: (() => {
try {
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require('./docs/api/sidebar.js');
} catch {
// Generated by `yarn generate:api-docs`; empty until then
return [];
}
})(),
},
],
};