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
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "all"
}
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
};
21 changes: 10 additions & 11 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
themeConfig: {
hideableSidebar: true,
colorMode: {
defaultMode: 'light',
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: true,
},
Expand All @@ -26,38 +26,37 @@ module.exports = {
{
href: "https://experimenter.services.mozilla.com/nimbus/",
label: "Nimbus",
position: "right"
position: "right",
},
{
href: "https://mana.mozilla.org/wiki/display/FJT/Project+Nimbus",
label: "Mana",
position: "right"
position: "right",
},
{
href: "https://github.com/mozilla/experimenter-docs",
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
],
},
footer: {
copyright: `Copyright © ${new Date().getFullYear()} Mozilla Corporation`,
},
algolia: {
apiKey: 'cce683dfea9772207408c2b161a22641',
indexName: 'experimenter',
apiKey: "cce683dfea9772207408c2b161a22641",
indexName: "experimenter",
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
routeBasePath: '/',
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/mozilla/experimenter-docs/edit/main/",
editUrl: "https://github.com/mozilla/experimenter-docs/edit/main/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"prettier": "^2.2.1"
}
}
}
52 changes: 30 additions & 22 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,84 +8,92 @@ module.exports = {
{
type: "link",
label: "Nimbus Onboarding",
href: "https://mana.mozilla.org/wiki/display/FJT/Nimbus+Onboarding#NimbusOnboarding-Branches",
href:
"https://mana.mozilla.org/wiki/display/FJT/Nimbus+Onboarding#NimbusOnboarding-Branches",
},
{
type: "link",
label: "How to Launch a Nimbus Experiment",
href: "https://mana.mozilla.org/wiki/display/FJT/How+to+Launch+a+Nimbus+Experiment",
href:
"https://mana.mozilla.org/wiki/display/FJT/How+to+Launch+a+Nimbus+Experiment",
},
{
type: "link",
label: "Nimbus Data Transfer Object",
href: "https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=130920248"
href:
"https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=130920248",
},
{
type: "link",
label: "Experiment Telemetry",
href: "https://mana.mozilla.org/wiki/display/FJT/Nimbus+Engineering#NimbusEngineering-ExperimentTelemetry"
href:
"https://mana.mozilla.org/wiki/display/FJT/Nimbus+Engineering#NimbusEngineering-ExperimentTelemetry",
},
{
type: "link",
label: "Lessons Learned",
href: "https://mana.mozilla.org/wiki/display/FJT/Lessons+Learned+-+Experiment+Incidents+and+Close+Calls",
href:
"https://mana.mozilla.org/wiki/display/FJT/Lessons+Learned+-+Experiment+Incidents+and+Close+Calls",
},
]
],
},
{
type: 'category',
label: 'Jetstream',
type: "category",
label: "Jetstream",
items: [
{
type: "link",
label: "GitHub Repo",
href: "https://github.com/mozilla/jetstream"
href: "https://github.com/mozilla/jetstream",
},
{
type: "link",
label: "Documentation",
href: "https://docs.telemetry.mozilla.org/datasets/jetstream.html"
href: "https://docs.telemetry.mozilla.org/datasets/jetstream.html",
},
],
},
{
type: 'category',
label: 'Experiment Owners',
type: "category",
label: "Experiment Owners",
items: ["experiment-owners-root"],
},
{
type: 'category',
label: 'Fenix Engineers',
type: "category",
label: "Fenix Engineers",
items: [
"fenix-engineers-root",
{
type: "link",
label: "Android API (proposal)",
href: "https://docs.google.com/document/d/1kchihPal0__A4VOAiPJarNuZXns5KhOHHfIeIzT6zfU/edit#",
href:
"https://docs.google.com/document/d/1kchihPal0__A4VOAiPJarNuZXns5KhOHHfIeIzT6zfU/edit#",
},
],
},
{
type: 'category',
label: 'Desktop Engineers',
type: "category",
label: "Desktop Engineers",
items: [
"desktop-engineers-root",
{
type: "link",
label: "Front-End Migration Guide",
href: "https://www.notion.so/Nimbus-Migration-Guide-for-Desktop-Front-End-Experiments-d36c21e505f84550aad1202897fc4ba3",
href:
"https://www.notion.so/Nimbus-Migration-Guide-for-Desktop-Front-End-Experiments-d36c21e505f84550aad1202897fc4ba3",
},
{
type: "link",
label: "SDK Docs (X-Man draft)",
href: "https://docs.google.com/document/d/1ev75pG0nAM1lz53WuPQkWqykUlZMmZRbx8wzvvn5DhU/edit",
href:
"https://docs.google.com/document/d/1ev75pG0nAM1lz53WuPQkWqykUlZMmZRbx8wzvvn5DhU/edit",
},
],
},
{
type: 'category',
label: 'Data Scientists',
type: "category",
label: "Data Scientists",
items: ["data-scientists-root"],
}
},
],
};
7 changes: 5 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7940,6 +7940,11 @@ prepend-http@^2.0.0:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=

prettier@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==

pretty-error@^2.1.1:
version "2.1.2"
resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.2.tgz#be89f82d81b1c86ec8fdfbc385045882727f93b6"
Expand Down Expand Up @@ -10027,10 +10032,8 @@ watchpack@^1.7.4:
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453"
integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==
dependencies:
chokidar "^3.4.1"
graceful-fs "^4.1.2"
neo-async "^2.5.0"
watchpack-chokidar2 "^2.0.1"
optionalDependencies:
chokidar "^3.4.1"
watchpack-chokidar2 "^2.0.1"
Expand Down