mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-26 22:19:46 -08:00
convert tabs indentation to spaces on docu config
This commit is contained in:
parent
f861bf4f7e
commit
58fa59240d
|
@ -4,136 +4,136 @@ require("dotenv").config();
|
||||||
|
|
||||||
/** @type {import('@docusaurus/types').Config} */
|
/** @type {import('@docusaurus/types').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
title: "Meshtastic",
|
title: "Meshtastic",
|
||||||
tagline:
|
tagline:
|
||||||
"An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices",
|
"An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices",
|
||||||
url: "https://meshtastic.org",
|
url: "https://meshtastic.org",
|
||||||
baseUrl: "/",
|
baseUrl: "/",
|
||||||
onBrokenLinks: "throw",
|
onBrokenLinks: "throw",
|
||||||
onBrokenMarkdownLinks: "warn",
|
onBrokenMarkdownLinks: "warn",
|
||||||
favicon: "design/web/favicon.ico",
|
favicon: "design/web/favicon.ico",
|
||||||
organizationName: "meshtastic",
|
organizationName: "meshtastic",
|
||||||
projectName: "meshtastic",
|
projectName: "meshtastic",
|
||||||
themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ {
|
themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ {
|
||||||
docs: {
|
docs: {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
autoCollapseCategories: true,
|
autoCollapseCategories: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
title: "Meshtastic",
|
title: "Meshtastic",
|
||||||
hideOnScroll: true,
|
hideOnScroll: true,
|
||||||
logo: {
|
logo: {
|
||||||
alt: "Meshtastic Logo",
|
alt: "Meshtastic Logo",
|
||||||
src: "design/logo/svg/Mesh_Logo_Black.svg",
|
src: "design/logo/svg/Mesh_Logo_Black.svg",
|
||||||
srcDark: "design/logo/svg/Mesh_Logo_White.svg",
|
srcDark: "design/logo/svg/Mesh_Logo_White.svg",
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: "Docs",
|
label: "Docs",
|
||||||
to: "docs/introduction",
|
to: "docs/introduction",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Downloads",
|
label: "Downloads",
|
||||||
to: "downloads",
|
to: "downloads",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "About",
|
label: "About",
|
||||||
position: "right",
|
position: "right",
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: "Introduction",
|
label: "Introduction",
|
||||||
to: "docs/introduction",
|
to: "docs/introduction",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Getting Started",
|
label: "Getting Started",
|
||||||
to: "docs/getting-started",
|
to: "docs/getting-started",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Contributing",
|
label: "Contributing",
|
||||||
to: "docs/contributing",
|
to: "docs/contributing",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Legal",
|
label: "Legal",
|
||||||
to: "docs/legal",
|
to: "docs/legal",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "FAQs",
|
label: "FAQs",
|
||||||
to: "docs/faq",
|
to: "docs/faq",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "https://github.com/meshtastic",
|
href: "https://github.com/meshtastic",
|
||||||
position: "right",
|
position: "right",
|
||||||
className: "header-github-link",
|
className: "header-github-link",
|
||||||
"aria-label": "GitHub repository",
|
"aria-label": "GitHub repository",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
copyright: `<a href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss">Powered by ▲ Vercel</a> | Meshtastic® is a registered trademark of Meshtastic LLC. | <a href="/docs/legal">Legal Information</a>.`,
|
copyright: `<a href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss">Powered by ▲ Vercel</a> | Meshtastic® is a registered trademark of Meshtastic LLC. | <a href="/docs/legal">Legal Information</a>.`,
|
||||||
},
|
},
|
||||||
algolia: {
|
algolia: {
|
||||||
appId: "IG2GQB8L3V",
|
appId: "IG2GQB8L3V",
|
||||||
apiKey: "2e4348812173ec7ea6f7879c7032bb21",
|
apiKey: "2e4348812173ec7ea6f7879c7032bb21",
|
||||||
indexName: "meshtastic",
|
indexName: "meshtastic",
|
||||||
contextualSearch: false,
|
contextualSearch: false,
|
||||||
searchPagePath: "search",
|
searchPagePath: "search",
|
||||||
},
|
},
|
||||||
colorMode: {
|
colorMode: {
|
||||||
respectPrefersColorScheme: true,
|
respectPrefersColorScheme: true,
|
||||||
},
|
},
|
||||||
mermaid: {
|
mermaid: {
|
||||||
theme: { light: "base", dark: "base" },
|
theme: { light: "base", dark: "base" },
|
||||||
options: {
|
options: {
|
||||||
themeVariables: {
|
themeVariables: {
|
||||||
primaryColor: "#67EA94",
|
primaryColor: "#67EA94",
|
||||||
primaryTextColor: "var(--tw-prose-headings)",
|
primaryTextColor: "var(--tw-prose-headings)",
|
||||||
primaryBorderColor: "#4D4D4D",
|
primaryBorderColor: "#4D4D4D",
|
||||||
lineColor: "#EAD667",
|
lineColor: "#EAD667",
|
||||||
secondaryColor: "#EA67BD",
|
secondaryColor: "#EA67BD",
|
||||||
tertiaryColor: "#677CEA",
|
tertiaryColor: "#677CEA",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
() => {
|
() => {
|
||||||
return {
|
return {
|
||||||
name: "docusaurus-tailwindcss",
|
name: "docusaurus-tailwindcss",
|
||||||
configurePostCss(postcssOptions) {
|
configurePostCss(postcssOptions) {
|
||||||
postcssOptions.plugins.push(require("tailwindcss"));
|
postcssOptions.plugins.push(require("tailwindcss"));
|
||||||
postcssOptions.plugins.push(require("autoprefixer"));
|
postcssOptions.plugins.push(require("autoprefixer"));
|
||||||
return postcssOptions;
|
return postcssOptions;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@docusaurus/preset-classic",
|
"@docusaurus/preset-classic",
|
||||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||||
{
|
{
|
||||||
docs: {
|
docs: {
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
editUrl: "https://github.com/meshtastic/meshtastic/edit/master/",
|
editUrl: "https://github.com/meshtastic/meshtastic/edit/master/",
|
||||||
breadcrumbs: false,
|
breadcrumbs: false,
|
||||||
showLastUpdateAuthor: true,
|
showLastUpdateAuthor: true,
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve("./src/css/custom.css"),
|
customCss: require.resolve("./src/css/custom.css"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
customFields: {
|
customFields: {
|
||||||
API_URL: process.env.API_URL,
|
API_URL: process.env.API_URL,
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
mermaid: true,
|
mermaid: true,
|
||||||
},
|
},
|
||||||
themes: ["@docusaurus/theme-mermaid"],
|
themes: ["@docusaurus/theme-mermaid"],
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
Loading…
Reference in a new issue