Skip to content

Commit 0cf9f79

Browse files
committed
adding base url
1 parent 959fecf commit 0cf9f79

File tree

1 file changed

+77
-76
lines changed

1 file changed

+77
-76
lines changed

docusaurus/docusaurus.config.js

Lines changed: 77 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -4,158 +4,159 @@
44
// There are various equivalent ways to declare your Docusaurus config.
55
// See: https://docusaurus.io/docs/api/docusaurus-config
66

7-
import {themes as prismThemes} from 'prism-react-renderer';
7+
import { themes as prismThemes } from "prism-react-renderer";
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: 'AWS Observability best practices',
12-
tagline: '🖥️ AWS Insights: Improving Cloud Observability 🚀',
13-
favicon: 'img/favicon.ico',
11+
title: "AWS Observability best practices",
12+
tagline: "🖥️ AWS Insights: Improving Cloud Observability 🚀",
13+
favicon: "img/favicon.ico",
1414

1515
// Set the production url of your site here
16-
url: 'https://aws-observability.github.io/',
16+
url: "https://aws-observability.github.io/",
1717
// Set the /<baseUrl>/ pathname under which your site is served
1818
// For GitHub pages deployment, it is often '/<projectName>/'
19-
baseUrl: '/',
19+
baseUrl: "/observability-best-practices/",
2020

2121
// GitHub pages deployment config.
2222
// If you aren't using GitHub pages, you don't need these.
23-
organizationName: 'AWS', // Usually your GitHub org/user name.
24-
projectName: 'AWS Observability best practices', // Usually your repo name.
23+
organizationName: "AWS", // Usually your GitHub org/user name.
24+
projectName: "AWS Observability best practices", // Usually your repo name.
2525

26-
onBrokenLinks: 'throw',
27-
onBrokenMarkdownLinks: 'warn',
26+
onBrokenLinks: "throw",
27+
onBrokenMarkdownLinks: "warn",
2828

2929
// Even if you don't use internationalization, you can use this field to set
3030
// useful metadata like html lang. For example, if your site is Chinese, you
3131
// may want to replace "en" with "zh-Hans".
3232
i18n: {
33-
defaultLocale: 'en',
34-
locales: ['en','ja'],
33+
defaultLocale: "en",
34+
locales: ["en", "ja"],
3535
localeConfigs: {
3636
en: {
37-
label: 'English',
37+
label: "English",
3838
},
3939
ja: {
40-
label: '日本語',
40+
label: "日本語",
4141
},
4242
},
4343
},
4444

4545
presets: [
4646
[
47-
'classic',
47+
"classic",
4848
/** @type {import('@docusaurus/preset-classic').Options} */
4949
({
5050
docs: {
51-
sidebarPath: './sidebars.js',
51+
sidebarPath: "./sidebars.js",
5252
// Please change this to your repo.
5353
// Remove this to remove the "edit this page" links.
5454
editUrl:
55-
'https://github.com/aws-observability/observability-best-practices/',
55+
"https://github.com/aws-observability/observability-best-practices/",
5656
},
57-
57+
5858
theme: {
59-
customCss: './src/css/custom.css',
59+
customCss: "./src/css/custom.css",
6060
},
6161
}),
6262
],
6363
],
6464

6565
plugins: [
66-
67-
[
68-
require.resolve("@easyops-cn/docusaurus-search-local"),
69-
({
70-
hashed: true,
71-
// language: ["en", "ja"],
72-
indexBlog: false,
73-
}),
74-
],
75-
],
66+
[
67+
require.resolve("@easyops-cn/docusaurus-search-local"),
68+
{
69+
hashed: true,
70+
// language: ["en", "ja"],
71+
indexBlog: false,
72+
},
73+
],
74+
],
7675
themeConfig:
7776
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7877
({
7978
navbar: {
80-
title: 'AWS Observability Best Practices',
79+
title: "AWS Observability Best Practices",
8180
logo: {
82-
alt: 'AWS Logo',
83-
src: 'img/logo.svg',
81+
alt: "AWS Logo",
82+
src: "img/logo.svg",
8483
},
8584
items: [
8685
{
87-
type: 'doc',
88-
docId: 'home',
89-
position: 'left',
90-
label: 'Home',
86+
type: "doc",
87+
docId: "home",
88+
position: "left",
89+
label: "Home",
9190
},
9291
{
93-
type: 'doc',
94-
docId: 'guides/index',
95-
position: 'left',
96-
label: 'Guides',
92+
type: "doc",
93+
docId: "guides/index",
94+
position: "left",
95+
label: "Guides",
9796
},
9897
{
99-
type: 'doc',
100-
docId: 'signals/alarms',
101-
position: 'left',
102-
label: 'Signals',
98+
type: "doc",
99+
docId: "signals/alarms",
100+
position: "left",
101+
label: "Signals",
103102
},
104103
{
105-
type: 'doc',
106-
docId: 'tools/observability_accelerator',
107-
position: 'left',
108-
label: 'Tools',
104+
type: "doc",
105+
docId: "tools/observability_accelerator",
106+
position: "left",
107+
label: "Tools",
109108
},
110109
{
111-
type: 'doc',
112-
docId: 'recipes/index',
113-
position: 'left',
114-
label: 'Recipes',
110+
type: "doc",
111+
docId: "recipes/index",
112+
position: "left",
113+
label: "Recipes",
115114
},
116115
{
117-
type: 'doc',
118-
docId: 'faq/adot',
119-
position: 'left',
120-
label: 'FAQ',
116+
type: "doc",
117+
docId: "faq/adot",
118+
position: "left",
119+
label: "FAQ",
121120
},
122121
{
123-
type: 'doc',
124-
docId: 'patterns/multiaccount',
125-
position: 'left',
126-
label: 'Patterns',
122+
type: "doc",
123+
docId: "patterns/multiaccount",
124+
position: "left",
125+
label: "Patterns",
127126
},
128127
{
129-
type: 'doc',
130-
docId: 'contributors',
131-
position: 'left',
132-
label: 'Contributors',
128+
type: "doc",
129+
docId: "contributors",
130+
position: "left",
131+
label: "Contributors",
133132
},
134133
{
135-
type: 'localeDropdown',
136-
position: 'right',
134+
type: "localeDropdown",
135+
position: "right",
137136
},
138137
{
139-
href: 'https://github.com/aws-observability/observability-best-practices',
140-
label: 'GitHub',
141-
position: 'right',
138+
href:
139+
"https://github.com/aws-observability/observability-best-practices",
140+
label: "GitHub",
141+
position: "right",
142142
},
143143
],
144144
},
145145
docs: {
146146
sidebar: {
147147
hideable: true,
148148
autoCollapseCategories: true,
149-
}
149+
},
150150
},
151151
colorMode: {
152-
defaultMode: 'light',
153-
disableSwitch: false,
154-
respectPrefersColorScheme: true,
155-
},
152+
defaultMode: "light",
153+
disableSwitch: false,
154+
respectPrefersColorScheme: true,
155+
},
156156
footer: {
157-
style: 'dark',
158-
copyright: `Built with ❤️ at AWS. <br/> © ${new Date().getFullYear()}. Amazon.com, Inc. or its affiliates. All Rights Reserved.`,
157+
style: "dark",
158+
copyright: `Built with ❤️ at AWS. <br/> © ${new Date().getFullYear()
159+
}. Amazon.com, Inc. or its affiliates. All Rights Reserved.`,
159160
},
160161
prism: {
161162
theme: prismThemes.github,

0 commit comments

Comments
 (0)