GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — javascript-mastery.github.io/docusaurus.config.ts at main · javascript-mastery/javascript-mastery.github.io

Expand file tree

/

docusaurus.config.ts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
171 lines (162 loc) · 4.78 KB
/

docusaurus.config.ts

Copy path

File metadata and controls

171 lines (162 loc) · 4.78 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
const remarkMath = require("remark-math");
const rehypeKatex = require("rehype-katex");
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
const config: Config = {
title: "JavaScript Mastery",
tagline: "Master Modern JavaScript & Open Source Software Engineering",
favicon: "img/js.svg",
url: 'https://javascript-mastery.github.io',
baseUrl: '/',
organizationName: 'javascript-mastery',
projectName: 'javascript-mastery.github.io',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// 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"],
},
presets: [
[
"classic",
{
docs: {
sidebarPath: "./sidebars.ts",
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"#",
},
blog: {
showReadingTime: true,
feedOptions: {
type: ["rss", "atom"],
xslt: true,
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"#",
// Useful options to enforce blogging best practices
onInlineTags: "warn",
onInlineAuthors: "warn",
onUntruncatedBlogPosts: "warn",
},
theme: {
customCss: "./src/css/custom.css",
},
} satisfies Preset.Options,
],
],
stylesheets: [
{
href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css",
type: "text/css",
integrity:
"sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM",
crossorigin: "anonymous",
},
],
themeConfig: {
// Replace with your project's social card
image: "img/docusaurus-social-card.jpg",
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
title: 'JS Mastery',
logo: { alt: 'JS Mastery Logo', src: 'img/js.svg' },
items: [
{ to: '/docs', label: 'Docs', position: 'left' },
{ to: "/tutorial", label: "Tutorial", position: "left" },
{ to: '/blog', label: 'Blog', position: 'left' },
{ to: '/faq', label: 'FAQ', position: 'left' },
{ to: '/about', label: 'About', position: 'left' },
{ to: '/contact', label: 'Contact', position: 'left' },
{
href: 'https://github.com/javascript-mastery',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Curriculum',
items: [
{ label: 'JavaScript', to: '/docs' },
{ label: 'Tutorial', to: '/tutorial' },
{ label: 'Blog Articles', to: '/blog' },
],
},
{
title: 'Company & Compliance',
items: [
{ label: 'About Us', to: '/about' },
{ label: 'Contact Us', to: '/contact' },
{ label: 'FAQ', to: '/faq' },
{ label: 'Privacy Policy', to: '/privacy-policy' },
{ label: 'Terms of Service', to: '/terms' },
],
},
{
title: 'Community',
items: [
{ label: 'GitHub', href: 'https://github.com/javascript-mastery' },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} JavaScript Mastery. All rights reserved.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: [
"java",
"latex",
"haskell",
"matlab",
"PHp",
"powershell",
"bash",
"diff",
"json",
"scss",
],
},
} satisfies Preset.ThemeConfig,
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "warn",
},
},
themes: ["@docusaurus/theme-mermaid", "@docusaurus/theme-live-codeblock"],
plugins: [
"./src/plugins/tailwind-config.js",
[
"@docusaurus/plugin-content-docs",
/** @type {import('@docusaurus/plugin-content-docs').Options} */
{
id: "tutorial",
path: "tutorial",
routeBasePath: "tutorial",
// breadcrumbs: true,
// editUrl: "#",
sidebarPath: require.resolve("./sidebars.ts"),
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
],
],
};
export default config;
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.