Files
OpenBB/website/sidebars.js
montezdesousa 00febe1942 Docs/excel examples (#5920)
* regen excel md

* add syntax + basic example

* fix example

* create json with docs map

* update docs to latest functions.json + remove tiingo

* remove space from examples

* minor fix

* remove spaces

* remove spaces

* bug fix: remove folder before generating

* fix typo

* add link to appsource

* fix

* Update templates.md

* regenerate content

* change docs colors

* fix light mode

* add back tiingo

* update functions.json

* templates go later

* remove Library from reference

* Make the excel markdown being generated at runtime

* fix reference cards having commands under menu

* remove excel/reference folder since this is built at runtime by gh-pages action

* black formatting

* improve title

* add excel to the main page

* add excel image bg

* make excel sidebar show up next to pro

* improve main page

* small fix for platform page title

* update basics page

* add tip to autocomplete

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2024-01-08 11:53:05 +00:00

92 lines
2.1 KiB
JavaScript
Vendored

/**
* 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: "category",
label: "OpenBB Terminal Pro",
items: [{ type: "autogenerated", dirName: "pro" }],
customProps: {
hiddenByDefault: true,
},
},
{
type: "category",
label: "OpenBB Excel Add-in",
items: [{ type: "autogenerated", dirName: "excel" }],
customProps: {
hiddenByDefault: true,
},
},
{
type: "category",
label: "OpenBB Platform",
items: [
{ type: "autogenerated", dirName: "platform" }],
},
{
type: "category",
label: "OpenBB Terminal",
items: [{ type: "autogenerated", dirName: "terminal" }],
},
{
type: "category",
label: "OpenBB Bot",
items: [{ type: "autogenerated", dirName: "bot" }],
},
{
type: "html",
value: '<span class="sidebar-divider" />',
},
{
type: "html",
className: "sidebar-title",
value: "LEGACY",
defaultStyle: true,
},
{
type: "category",
label: "OpenBB SDK",
items: [{ type: "autogenerated", dirName: "sdk" }],
},
// Can do stuff like this too
// {
// type: "html",
// defaultStyle: true,
// className: "powered-by-banner",
// value: `
// <span>Powered by</span>
// <img src="/img/docusaurus.png" alt="Docusaurus Logo" />
// `,
// },
],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
};
module.exports = sidebars;