Skip to content

Commit d16103c

Browse files
committed
Config tweaks, replace home page with root doc, updated favicon
1 parent 0ca869e commit d16103c

File tree

5 files changed

+22
-148
lines changed

5 files changed

+22
-148
lines changed

docusaurus.config.js

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
title: "Experimenter Docs",
3-
tagline: "Documentation hub for Experimenter/Nimbus",
3+
tagline: "Documentation hub for Experimenter",
44
url: "https://github.com/mozilla/experimenter-docs",
55
baseUrl: "/experimenter-docs/",
66
onBrokenLinks: "throw",
@@ -9,28 +9,39 @@ module.exports = {
99
organizationName: "mozilla",
1010
projectName: "experimenter-docs",
1111
themeConfig: {
12+
hideableSidebar: true,
13+
colorMode: {
14+
defaultMode: 'light',
15+
disableSwitch: true,
16+
respectPrefersColorScheme: true,
17+
},
1218
navbar: {
1319
title: "Experimenter Docs",
1420
logo: {
1521
alt: "Experimenter Logo",
1622
src: "img/logo.svg",
23+
srcDark: "img/logo-dark.svg",
1724
},
1825
items: [
1926
{
20-
to: "docs/",
21-
activeBasePath: "docs",
22-
label: "Docs",
23-
position: "left",
27+
href: "https://experimenter.services.mozilla.com/nimbus/",
28+
label: "Nimbus",
29+
position: "right"
30+
},
31+
{
32+
href: "https://mana.mozilla.org/wiki/display/FJT/Project+Nimbus",
33+
label: "Mana",
34+
position: "right"
2435
},
2536
{
2637
href: "https://github.com/mozilla/experimenter-docs",
27-
label: "GitHub",
28-
position: "right",
38+
position: 'right',
39+
className: 'header-github-link',
40+
'aria-label': 'GitHub repository',
2941
},
3042
],
3143
},
3244
footer: {
33-
style: "dark",
3445
copyright: `Copyright © ${new Date().getFullYear()} Mozilla Corporation`,
3546
},
3647
},
@@ -39,9 +50,10 @@ module.exports = {
3950
"@docusaurus/preset-classic",
4051
{
4152
docs: {
53+
routeBasePath: '/',
4254
sidebarPath: require.resolve("./sidebars.js"),
4355
editUrl:
44-
"https://github.com/mozilla/experimenter-docs/edit/main/website/",
56+
"https://github.com/mozilla/experimenter-docs/edit/main/",
4557
},
4658
theme: {
4759
customCss: require.resolve("./src/css/custom.css"),

src/pages/index.js

Lines changed: 0 additions & 96 deletions
This file was deleted.

src/pages/styles.module.css

Lines changed: 0 additions & 37 deletions
This file was deleted.

static/img/favicon.ico

-344 KB
Binary file not shown.

static/img/logo.svg

Lines changed: 1 addition & 6 deletions
Loading

0 commit comments

Comments
 (0)