Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

const config: Config = {
title: "Switchmap-NG",
tagline: "Inventory, Status & Visualization of Your Network Devices.",
favicon: 'img/logo/switchmap-logo-modified.svg',
favicon: "img/logo/switchmap-logo-modified.svg",

url: "https://docs.switchmap-ng.io/",
baseUrl: '/',
baseUrl: "/",
deploymentBranch: "gh-pages",

organizationName: "PalisadoesFoundation", // GitHub org
projectName: "switchmap-ng", // repo name

onBrokenLinks: 'throw',
onBrokenLinks: "throw",
markdown: {
hooks: {
onBrokenMarkdownLinks: 'warn', // Or 'throw', 'ignore'
onBrokenMarkdownLinks: "warn", // Or 'throw', 'ignore'
},
},

// Even if you don't use internationalization, 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'],
defaultLocale: "en",
locales: ["en"],
},

presets: [
[
'classic',
"classic",
{
docs: {
sidebarPath: './sidebars.ts',
sidebarPath: "./sidebars.ts",
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/PalisadoesFoundation/switchmap-ng/tree/develop/docs/',
exclude: ['**/node_modules/**'],
"https://github.com/PalisadoesFoundation/switchmap-ng/tree/develop/docs/",
exclude: ["**/node_modules/**"],
},
theme: {
customCss: './src/css/custom.css',
customCss: "./src/css/custom.css",
},
} satisfies Preset.Options,
],
Expand All @@ -70,14 +70,14 @@ const config: Config = {
to: "/docs",
target: "_self",
},

{
to: "https://github.com/PalisadoesFoundation",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},

{
to: "https://www.youtube.com/@PalisadoesOrganization",
position: "right",
Expand All @@ -98,9 +98,9 @@ const config: Config = {
title: "Community",
items: [
{
label: " Slack",
to: "https://github.com/PalisadoesFoundation",
className: "footer__icon footer__slack",
label: " Forums",
to: "https://community.talawa.io/",
className: "footer__icon footer__news",
},
{
label: " News",
Expand Down Expand Up @@ -151,7 +151,7 @@ const config: Config = {
defaultMode: "light",
disableSwitch: false,
respectPrefersColorScheme: true,
},
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
Expand Down
10 changes: 6 additions & 4 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ function HomepageHeader() {
<div className="buttons_AeoN">
<a
className={`${styles.button} button button--primary button--lg`}
href="/docs/installation"
href="/docs"
aria-label="Get started with Switchmap-NG"
>
Get Started
</a>
<a
className={`${styles.button} button button--secondary button--lg`}
href="/docs/community"
aria-label="Join the community"
href="https://github.com/PalisadoesFoundation/switchmap-ng/"
aria-label="View SwitchMap-NG on GitHub"
target="_blank"
rel="noopener noreferrer"
>
Community
GitHub
</a>
Comment thread
coderabbitai[bot] marked this conversation as resolved.
</div>
</div>
Expand Down
Loading