Skip to content

Commit 5da27ba

Browse files
authored
Merge branch 'master' into master
2 parents 7a72e2a + e402a57 commit 5da27ba

File tree

105 files changed

+16617
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+16617
-273
lines changed

.wordlist.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
mongodb
2+
jsx
3+
src
4+
img
5+
png
26
eventtracker
37
eventtrackerpolicies
48
portalScope

website/.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
{
3+
"printWidth": 120,
4+
"useTabs": true,
5+
"trailingComma": "none",
6+
"bracketSpacing": true,
7+
"tabWidth": 2,
8+
"semi": false,
9+
"singleQuote": true,
10+
"jsxBracketSameLine": true,
11+
"arrowParens": "always"
12+
}

website/docs/assets/arrow.png

281 Bytes
Loading

website/docs/assets/chaos-hub.png

52.1 KB
Loading

website/docs/assets/tutorials.png

1.17 KB
Loading

website/docs/chaos-hub.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
id: chaos-hub
3+
title: ChaosHub
4+
sidebar_label: ChaosHub
5+
---
6+
7+
import {ChaosHub} from '@site/src/components/section/ChaosHub/ChaosHub.jsx'
8+
9+
<ChaosHub/>

website/docs/tutorials.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
id: tutorials
3+
title: Tutorials
4+
sidebar_label: Tutorials
5+
---
6+
7+
import {Tutorials} from '@site/src/components/tutorials/Tutorials/Tutorials.jsx'
8+
9+
The tutorials help you to quickly learn some of the standard day-0 to day-n flows associated with the LitmusChaos framework (and Chaos Engineering in general). Each tutorial is created with a definitive objective. If you believe the objective is not met, please create issues on the Github repository stating what is missing.
10+
11+
---
12+
13+
<Tutorials/>

website/docusaurus.config.js

Lines changed: 138 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -1,136 +1,143 @@
1-
const versions = require("./versions.json");
1+
const versions = require('./versions.json')
22
const communities = [
3-
{
4-
label: "Slack",
5-
href: "https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN",
6-
},
7-
{
8-
label: "GitHub",
9-
href: "https://github.com/litmuschaos",
10-
},
11-
{
12-
label: "Twitter",
13-
href: "https://twitter.com/LitmusChaos",
14-
},
15-
{
16-
label: "Blog",
17-
href: "https://dev.to/t/litmuschaos/latest",
18-
},
19-
{
20-
label: "YouTube",
21-
href: "https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw ",
22-
},
23-
];
3+
{
4+
label: 'Slack',
5+
href: 'https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN'
6+
},
7+
{
8+
label: 'GitHub',
9+
href: 'https://github.com/litmuschaos'
10+
},
11+
{
12+
label: 'Twitter',
13+
href: 'https://twitter.com/LitmusChaos'
14+
},
15+
{
16+
label: 'Blog',
17+
href: 'https://dev.to/t/litmuschaos/latest'
18+
},
19+
{
20+
label: 'YouTube',
21+
href: 'https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw '
22+
}
23+
]
2424

2525
const resources = [
26-
{
27-
label: "Docs",
28-
href: "https://docs.litmuschaos.io/",
29-
},
30-
{
31-
label: "FAQ",
32-
href: "https://docs.litmuschaos.io/docs/faq-general/",
33-
},
34-
{
35-
label: "Issues",
36-
href: "https://github.com/litmuschaos/litmus/issues",
37-
},
38-
];
26+
{
27+
label: 'Docs',
28+
href: 'https://docs.litmuschaos.io/'
29+
},
30+
{
31+
label: 'FAQ',
32+
href: 'https://docs.litmuschaos.io/docs/faq-general/'
33+
},
34+
{
35+
label: 'Issues',
36+
href: 'https://github.com/litmuschaos/litmus/issues'
37+
}
38+
]
3939

4040
module.exports = {
41-
title: "Litmus Docs",
42-
tagline: "A website for testing",
43-
url: "https://litmusdocs.netlify.app",
44-
baseUrl: "/",
45-
onBrokenLinks: "throw",
46-
favicon: "img/favicon.ico",
47-
organizationName: "litmuschaos",
48-
projectName: "litmus",
49-
themeConfig: {
50-
navbar: {
51-
title: "Litmus Docs",
52-
logo: {
53-
alt: "Litmus Logo",
54-
srcDark: "img/litmus-icon.svg",
55-
src: "img/litmus-light-icon.svg",
56-
},
57-
items: [
58-
{
59-
type: "docsVersion",
60-
position: "right",
61-
},
62-
{
63-
activeBasePath: "Version",
64-
label: "Versions",
65-
position: "left",
66-
items: [
67-
// adding items will create a dropdown
68-
{
69-
label: versions[0],
70-
to: "docs/",
71-
activeBaseRegex: `docs/(?!${versions.join("|")}|next)`,
72-
},
73-
...versions.slice(1).map((version) => ({
74-
label: version,
75-
to: `docs/${version}/getstarted`,
76-
})),
77-
{
78-
label: "Master/Unreleased",
79-
to: "docs/next/introduction",
80-
},
81-
],
82-
},
83-
{
84-
href: "https://github.com/litmuschaos/litmus",
85-
label: "GitHub",
86-
position: "right",
87-
},
88-
{
89-
href: "https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN",
90-
label: "Slack",
91-
position: "right",
92-
},
93-
{
94-
href: "https://hub.litmuschaos.io/",
95-
label: "Chaos Hub",
96-
position: "right",
97-
},
98-
],
99-
},
100-
footer: {
101-
style: "dark",
102-
logo: {
103-
alt: "Litmus Logo",
104-
src: "img/litmus-logo-dark-bg-icon.svg",
105-
},
106-
links: [
107-
{
108-
title: "Community",
109-
items: communities,
110-
},
111-
{
112-
title: "Resources",
113-
items: resources,
114-
},
115-
],
116-
copyright: `Copyright © ${new Date().getFullYear()} LitmusChaos Authors. All rights reserved.`,
117-
},
118-
hideableSidebar: true,
119-
},
120-
presets: [
121-
[
122-
"@docusaurus/preset-classic",
123-
{
124-
docs: {
125-
sidebarPath: require.resolve("./sidebars.js"),
126-
editUrl:
127-
"https://github.com/litmuschaos/litmus-docs-beta/edit/staging/",
128-
showLastUpdateTime: true,
129-
},
130-
theme: {
131-
customCss: require.resolve("./src/css/custom.css"),
132-
},
133-
},
134-
],
135-
],
136-
};
41+
title: 'Litmus Docs',
42+
tagline: 'A website for testing',
43+
url: 'https://litmusdocs.netlify.app',
44+
baseUrl: '/',
45+
onBrokenLinks: 'throw',
46+
favicon: 'img/favicon.ico',
47+
organizationName: 'litmuschaos',
48+
projectName: 'litmus',
49+
themeConfig: {
50+
navbar: {
51+
title: 'Litmus Docs',
52+
logo: {
53+
alt: 'Litmus Logo',
54+
srcDark: 'img/litmus-icon.svg',
55+
src: 'img/litmus-light-icon.svg'
56+
},
57+
items: [
58+
{
59+
type: 'docsVersion',
60+
position: 'right'
61+
},
62+
{
63+
activeBasePath: 'Version',
64+
label: 'Versions',
65+
position: 'left',
66+
items: [
67+
// adding items will create a dropdown
68+
{
69+
label: versions[0],
70+
to: 'docs/',
71+
activeBaseRegex: `docs/(?!${versions.join('|')}|next)`
72+
},
73+
...versions.slice(1).map((version) => ({
74+
label: version,
75+
to: `docs/${version}/getstarted`
76+
})),
77+
{
78+
label: 'Master/Unreleased',
79+
to: 'docs/next/introduction'
80+
}
81+
]
82+
},
83+
{
84+
href: 'https://github.com/litmuschaos/litmus',
85+
label: 'GitHub',
86+
position: 'right'
87+
},
88+
{
89+
href: 'https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN',
90+
label: 'Slack',
91+
position: 'right'
92+
},
93+
{
94+
href: 'https://hub.litmuschaos.io/',
95+
label: 'Chaos Hub',
96+
position: 'right'
97+
}
98+
]
99+
},
100+
colorMode: {
101+
// "light" | "dark"
102+
defaultMode: 'light',
103+
104+
// Hides the switch in the navbar
105+
// Useful if you want to support a single color mode
106+
disableSwitch: true
107+
},
108+
footer: {
109+
style: 'dark',
110+
logo: {
111+
alt: 'Litmus Logo',
112+
src: 'img/litmus-logo-dark-bg-icon.svg'
113+
},
114+
links: [
115+
{
116+
title: 'Community',
117+
items: communities
118+
},
119+
{
120+
title: 'Resources',
121+
items: resources
122+
}
123+
],
124+
copyright: `Copyright © ${new Date().getFullYear()} LitmusChaos Authors. All rights reserved.`
125+
},
126+
hideableSidebar: true
127+
},
128+
presets: [
129+
[
130+
'@docusaurus/preset-classic',
131+
{
132+
docs: {
133+
sidebarPath: require.resolve('./sidebars.js'),
134+
editUrl: 'https://github.com/litmuschaos/litmus-docs-beta/edit/staging/',
135+
showLastUpdateTime: true
136+
},
137+
theme: {
138+
customCss: require.resolve('./src/css/global.css')
139+
}
140+
}
141+
]
142+
]
143+
}

0 commit comments

Comments
 (0)