Skip to content

Commit e4d0564

Browse files
committed
Revert "adding base url"
This reverts commit 0cf9f79.
1 parent 0cf9f79 commit e4d0564

File tree

1 file changed

+76
-77
lines changed

1 file changed

+76
-77
lines changed

docusaurus/docusaurus.config.js

Lines changed: 76 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -4,159 +4,158 @@
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: "/observability-best-practices/",
19+
baseUrl: '/',
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-
require.resolve("@easyops-cn/docusaurus-search-local"),
68-
{
69-
hashed: true,
70-
// language: ["en", "ja"],
71-
indexBlog: false,
72-
},
73-
],
74-
],
66+
67+
[
68+
require.resolve("@easyops-cn/docusaurus-search-local"),
69+
({
70+
hashed: true,
71+
// language: ["en", "ja"],
72+
indexBlog: false,
73+
}),
74+
],
75+
],
7576
themeConfig:
7677
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7778
({
7879
navbar: {
79-
title: "AWS Observability Best Practices",
80+
title: 'AWS Observability Best Practices',
8081
logo: {
81-
alt: "AWS Logo",
82-
src: "img/logo.svg",
82+
alt: 'AWS Logo',
83+
src: 'img/logo.svg',
8384
},
8485
items: [
8586
{
86-
type: "doc",
87-
docId: "home",
88-
position: "left",
89-
label: "Home",
87+
type: 'doc',
88+
docId: 'home',
89+
position: 'left',
90+
label: 'Home',
9091
},
9192
{
92-
type: "doc",
93-
docId: "guides/index",
94-
position: "left",
95-
label: "Guides",
93+
type: 'doc',
94+
docId: 'guides/index',
95+
position: 'left',
96+
label: 'Guides',
9697
},
9798
{
98-
type: "doc",
99-
docId: "signals/alarms",
100-
position: "left",
101-
label: "Signals",
99+
type: 'doc',
100+
docId: 'signals/alarms',
101+
position: 'left',
102+
label: 'Signals',
102103
},
103104
{
104-
type: "doc",
105-
docId: "tools/observability_accelerator",
106-
position: "left",
107-
label: "Tools",
105+
type: 'doc',
106+
docId: 'tools/observability_accelerator',
107+
position: 'left',
108+
label: 'Tools',
108109
},
109110
{
110-
type: "doc",
111-
docId: "recipes/index",
112-
position: "left",
113-
label: "Recipes",
111+
type: 'doc',
112+
docId: 'recipes/index',
113+
position: 'left',
114+
label: 'Recipes',
114115
},
115116
{
116-
type: "doc",
117-
docId: "faq/adot",
118-
position: "left",
119-
label: "FAQ",
117+
type: 'doc',
118+
docId: 'faq/adot',
119+
position: 'left',
120+
label: 'FAQ',
120121
},
121122
{
122-
type: "doc",
123-
docId: "patterns/multiaccount",
124-
position: "left",
125-
label: "Patterns",
123+
type: 'doc',
124+
docId: 'patterns/multiaccount',
125+
position: 'left',
126+
label: 'Patterns',
126127
},
127128
{
128-
type: "doc",
129-
docId: "contributors",
130-
position: "left",
131-
label: "Contributors",
129+
type: 'doc',
130+
docId: 'contributors',
131+
position: 'left',
132+
label: 'Contributors',
132133
},
133134
{
134-
type: "localeDropdown",
135-
position: "right",
135+
type: 'localeDropdown',
136+
position: 'right',
136137
},
137138
{
138-
href:
139-
"https://github.com/aws-observability/observability-best-practices",
140-
label: "GitHub",
141-
position: "right",
139+
href: '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()
159-
}. Amazon.com, Inc. or its affiliates. All Rights Reserved.`,
157+
style: 'dark',
158+
copyright: `Built with ❤️ at AWS. <br/> © ${new Date().getFullYear()}. Amazon.com, Inc. or its affiliates. All Rights Reserved.`,
160159
},
161160
prism: {
162161
theme: prismThemes.github,

0 commit comments

Comments
 (0)