2022-12-11 04:21:56 +08:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
|
2023-12-07 03:24:19 +08:00
|
|
|
const lightCodeTheme = require('prism-react-renderer').themes.github;
|
|
|
|
const darkCodeTheme = require('prism-react-renderer').themes.dracula;
|
2022-12-11 04:21:56 +08:00
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
|
|
|
title: 'BigBlueButton',
|
|
|
|
tagline: 'Official Documentation',
|
2023-03-22 22:39:40 +08:00
|
|
|
url: 'https://docs.bigbluebutton.org/',
|
|
|
|
baseUrl: '/',
|
2022-12-11 04:21:56 +08:00
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
favicon: 'img/favicon.ico',
|
|
|
|
|
|
|
|
// GitHub pages deployment config.
|
|
|
|
// If you aren't using GitHub pages, you don't need these.
|
|
|
|
organizationName: 'bigbluebutton', // Usually your GitHub org/user name.
|
2023-02-09 18:02:57 +08:00
|
|
|
projectName: 'bigbluebutton', // Usually your repo name.
|
2022-12-11 04:21:56 +08:00
|
|
|
|
|
|
|
// Even if you don't use internalization, you can use this field to set useful
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
i18n: {
|
|
|
|
defaultLocale: 'en',
|
|
|
|
locales: ['en'],
|
|
|
|
},
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'classic',
|
|
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
|
|
({
|
|
|
|
docs: {
|
|
|
|
routeBasePath: "/",
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],
|
|
|
|
|
|
|
|
themeConfig:
|
2023-01-13 04:46:18 +08:00
|
|
|
|
2022-12-11 04:21:56 +08:00
|
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
|
|
({
|
2023-01-13 04:46:18 +08:00
|
|
|
tableOfContents: {
|
|
|
|
minHeadingLevel: 2,
|
|
|
|
maxHeadingLevel: 4,
|
|
|
|
},
|
2022-12-11 04:21:56 +08:00
|
|
|
navbar: {
|
|
|
|
title: 'BigBlueButton',
|
|
|
|
logo: {
|
|
|
|
alt: 'BigBlueButton Logo',
|
|
|
|
src: 'img/logo.svg',
|
|
|
|
},
|
|
|
|
items: [
|
2023-03-22 00:26:57 +08:00
|
|
|
{to: 'https://bigbluebutton.org/teachers/tutorials/', label: 'Teaching', position: 'left'},
|
2022-12-11 04:21:56 +08:00
|
|
|
{to: '/development/guide', label: 'Development', position: 'left'},
|
|
|
|
{to: '/administration/install', label: 'Administration', position: 'left'},
|
2023-04-01 04:03:00 +08:00
|
|
|
{to: '/greenlight/v3/install', label: 'Greenlight', position: 'left'},
|
2022-12-11 04:21:56 +08:00
|
|
|
{to: '/new-features', label: 'New Features', position: 'left'},
|
2023-02-09 17:53:47 +08:00
|
|
|
{
|
|
|
|
type: 'docsVersionDropdown',
|
|
|
|
position: 'right',
|
|
|
|
dropdownActiveClassDisabled: true,
|
|
|
|
},
|
2022-12-11 04:21:56 +08:00
|
|
|
{
|
2023-03-17 03:18:27 +08:00
|
|
|
href: 'https://github.com/bigbluebutton/bigbluebutton/tree/v2.6.x-release/docs',
|
2022-12-11 04:21:56 +08:00
|
|
|
label: 'GitHub',
|
|
|
|
position: 'right',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: 'BigBlueButton',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Release notes',
|
|
|
|
href: '/release-notes',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Github',
|
|
|
|
href: 'https://github.com/bigbluebutton',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Community',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Setup Forums',
|
|
|
|
href: 'https://groups.google.com/forum/#!forum/bigbluebutton-setup',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Users Forums',
|
|
|
|
href: 'https://groups.google.com/forum/#!forum/bigbluebutton-users',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Developers Forums',
|
|
|
|
href: 'https://groups.google.com/forum/#!forum/bigbluebutton-dev',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Support',
|
2023-01-13 04:46:18 +08:00
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Road Map',
|
|
|
|
to: '/support/road-map',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'FAQ',
|
|
|
|
to: '/support/faq',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Getting help',
|
|
|
|
to: '/support/getting-help',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Troubleshooting',
|
|
|
|
to: '/support/troubleshooting',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Resources',
|
2022-12-11 04:21:56 +08:00
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Knowledge Base',
|
2023-01-13 04:46:18 +08:00
|
|
|
href: 'https://support.bigbluebutton.org/',
|
2022-12-11 04:21:56 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Tutorial Videos',
|
2023-01-13 04:46:18 +08:00
|
|
|
href: 'https://bigbluebutton.org/teachers/tutorials/',
|
2022-12-11 04:21:56 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Social',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Facebook',
|
|
|
|
href: 'https://www.facebook.com/bigbluebutton',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Twitter',
|
|
|
|
href: 'https://twitter.com/bigbluebutton',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Youtube',
|
|
|
|
href: 'https://www.youtube.com/channel/UCYj1_2Q3HTWCAImvI6eZ0SA',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2023-03-17 03:18:27 +08:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} BigBlueButton Inc., Built with Docusaurus.`,
|
2022-12-11 04:21:56 +08:00
|
|
|
},
|
|
|
|
prism: {
|
|
|
|
theme: lightCodeTheme,
|
|
|
|
darkTheme: darkCodeTheme,
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|