Skip to content

Commit 7f29621

Browse files
committedNov 22, 2022
Update to Docusaurus 2.2.0
1 parent 256cd39 commit 7f29621

File tree

10 files changed

+12270
-24680
lines changed

10 files changed

+12270
-24680
lines changed
 

‎en.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"localized-strings": {
44
"next": "Next",
55
"previous": "Previous",
6-
"tagline": "eth2-docker.",
6+
"tagline": "eth-docker.",
77
"docs": {
88
"About/Acknowledgements": {
99
"title": "Acknowledgements",
@@ -16,4 +16,4 @@
1616
"Edit this Doc|recruitment message asking to edit the doc source": "Edit",
1717
"Translate this Doc|recruitment message asking to translate the docs": "Translate"
1818
}
19-
}
19+
}

‎website/docs/About/Overview.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
id: Overview
3+
slug: /
34
title: High Level Overview.
45
sidebar_label: Overview
56
---
@@ -61,4 +62,4 @@ Here's what then happens:
6162

6263
- Reduce the attack surface of the client as much as feasible.
6364
- Guide users to good key management as much as possible
64-
- Create something that makes for a good user experience and guides people new to docker and Linux as much as feasible
65+
- Create something that makes for a good user experience and guides people new to docker and Linux as much as feasible

‎website/docusaurus.config.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module.exports = {
22
title: 'eth-docker',
33
tagline: 'Ethereum Docker Client',
4-
url: 'https://github.com/eth2-educators/eth2-docker-docs',
5-
baseUrl: '/',
4+
url: 'https://github.com',
5+
baseUrl: '/eth-educators/eth-docker-docs',
66
onBrokenLinks: 'throw',
7-
favicon: 'img/eth2-moby-logo.png',
7+
favicon: 'img/eth-moby-logo.png',
88
organizationName: 'Eth Docker',
99
projectName: 'eth-docker',
1010
customFields: {
11-
image: 'img/eth2-moby-logo.png',
11+
image: 'img/eth-moby-logo.png',
1212
},
1313
scripts: ['https://buttons.github.io/buttons.js'],
1414
themeConfig: {
@@ -17,11 +17,11 @@ module.exports = {
1717
logo: {
1818
alt: "eth-docker logo",
1919
href: '/docs/About/Overview',
20-
src: 'img/eth2-moby-logo.png',
20+
src: 'img/eth-moby-logo.png',
2121
},
2222
items: [
2323
{
24-
href: 'https://github.com/eth2-educators/eth2-docker-docs',
24+
href: 'https://github.com/eth-educators/eth-docker-docs',
2525
label: 'Get Started',
2626
position: 'right',
2727
}
@@ -31,12 +31,13 @@ module.exports = {
3131
logo: {
3232
alt: "eth-docker logo",
3333
href: '/',
34-
src: 'img/eth2-moby-logo.png',
34+
src: 'img/eth-moby-logo.png',
3535
},
3636
copyright: `Copyright © ${new Date().getFullYear()} eth-docker contributors`,
3737
links: [],
3838
},
3939
algolia: {
40+
appId: 'BH4D9OD16A',
4041
apiKey: 'a51366ded1891d634408de0e1e4cf1c5',
4142
indexName: 'eth-docker',
4243
algoliaOptions: { 'facetFilters': ["type:content", "version:current"] }
@@ -48,15 +49,14 @@ module.exports = {
4849
{
4950
docs: {
5051
path: './docs',
51-
routeBasePath: 'docs',
52+
routeBasePath: '/',
5253
sidebarPath: require.resolve('./sidebars.json'),
53-
editUrl: 'https://github.com/eth2-educators/eth2-docker-docs/edit/main/website/',
54+
editUrl: 'https://github.com/eth-educators/eth-docker-docs/edit/main/website/',
5455
},
5556
// theme: {
5657
// customCss: require.resolve('./src/css/custom.css'),
5758
// },
5859
sitemap: {
59-
cacheTime: 600 * 1000,
6060
changefreq: 'weekly',
6161
priority: 0.5,
6262
},

‎website/package-lock.json

+12,195-24,023
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎website/package.json

+33-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,43 @@
11
{
2+
"name": "eth-docker-docs",
3+
"version": "2.0.0",
4+
"private": true,
25
"scripts": {
3-
"examples": "docusaurus examples",
6+
"docusaurus": "docusaurus",
47
"start": "docusaurus start",
58
"build": "docusaurus build",
6-
"publish-gh-pages": "docusaurus publish",
9+
"swizzle": "docusaurus swizzle",
10+
"deploy": "docusaurus deploy",
11+
"clear": "docusaurus clear",
12+
"serve": "docusaurus serve",
713
"write-translations": "docusaurus write-translations",
8-
"version": "docusaurus version",
9-
"rename-version": "docusaurus rename-version",
10-
"swizzle": "docusaurus swizzle"
14+
"write-heading-ids": "docusaurus write-heading-ids"
15+
},
16+
"dependencies": {
17+
"@docusaurus/core": "2.2.0",
18+
"@docusaurus/preset-classic": "2.2.0",
19+
"@mdx-js/react": "^1.6.22",
20+
"clsx": "^1.2.1",
21+
"prism-react-renderer": "^1.3.5",
22+
"react": "^17.0.2",
23+
"react-dom": "^17.0.2"
1124
},
1225
"devDependencies": {
13-
"@docusaurus/core": "2.0.0-alpha.64",
14-
"@docusaurus/preset-classic": "2.0.0-alpha.64",
15-
"react": "16.13.1",
16-
"react-dom": "16.13.1"
26+
"@docusaurus/module-type-aliases": "2.2.0"
1727
},
18-
"dependencies": {
19-
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.32",
20-
"clsx": "1.1.1"
28+
"browserslist": {
29+
"production": [
30+
">0.5%",
31+
"not dead",
32+
"not op_mini all"
33+
],
34+
"development": [
35+
"last 1 chrome version",
36+
"last 1 firefox version",
37+
"last 1 safari version"
38+
]
39+
},
40+
"engines": {
41+
"node": ">=16.14"
2142
}
2243
}

‎website/src/css/custom.css

+28-93
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,30 @@
1-
:root {
2-
--prysm-pink: #ff30a0;
3-
}
4-
5-
/* General elements */
6-
7-
a {
8-
color: var(--prysm-pink);
9-
}
10-
11-
.navbar {
12-
background-color: #22292f;
13-
color: white;
14-
}
15-
16-
.navbar--fixed-top {
17-
border-bottom: 3px solid var(--prysm-pink);
18-
}
19-
20-
.navbar__link--active {
21-
font-weight: 600;
22-
}
23-
24-
.navbar__link {
25-
color: white;
26-
}
27-
28-
.navbar__link:hover,
29-
.navbar__link--active {
30-
color: var(--prysm-pink);
31-
}
32-
33-
.navbar__brand {
34-
color: white;
35-
}
36-
37-
.table-of-contents li a {
38-
font-size: 15px;
39-
padding: 2px 0;
40-
41-
}
42-
43-
.menu__link--active {
44-
color: var(--ifm-menu-color);
45-
font-weight: 600;
46-
}
1+
/**
2+
* Any CSS included here will be global. The classic template
3+
* bundles Infima by default. Infima is a CSS framework designed to
4+
* work well for content-centric websites.
5+
*/
476

48-
.menu__link:hover,
49-
.menu__link--active:hover {
50-
color: var(--prysm-pink);
51-
}
52-
53-
.table-of-contents > li > {
54-
font-size: 17px;
55-
color: #22292f;
56-
}
57-
.table-of-contents__link:hover {
58-
color: var(--prysm-pink);
59-
}
60-
61-
.toc .toggleNav ul li a:hover {
62-
color: var(--prysm-pink);
63-
64-
}
65-
.toc .toggleNav ul li.navListItemActive a {
66-
color: white;
67-
font-weight: 600;
68-
}
69-
70-
@media (max-width: 736px) {
71-
.nav-footer {
72-
text-align: center;
73-
margin:auto;
74-
}
75-
76-
.nav-home {
77-
margin:auto !important;
78-
}
79-
80-
}
81-
82-
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
83-
}
84-
85-
@media only screen and (min-width: 1024px) {
86-
}
87-
88-
@media only screen and (max-width: 1023px) {
89-
}
90-
91-
@media only screen and (min-width: 1400px) {
92-
}
93-
94-
@media only screen and (min-width: 1500px) {
7+
/* You can override the default Infima variables here. */
8+
:root {
9+
--ifm-color-primary: #2e8555;
10+
--ifm-color-primary-dark: #29784c;
11+
--ifm-color-primary-darker: #277148;
12+
--ifm-color-primary-darkest: #205d3b;
13+
--ifm-color-primary-light: #33925d;
14+
--ifm-color-primary-lighter: #359962;
15+
--ifm-color-primary-lightest: #3cad6e;
16+
--ifm-code-font-size: 95%;
17+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
18+
}
19+
20+
/* For readability concerns, you should choose a lighter palette in dark mode. */
21+
[data-theme='dark'] {
22+
--ifm-color-primary: #25c2a0;
23+
--ifm-color-primary-dark: #21af90;
24+
--ifm-color-primary-darker: #1fa588;
25+
--ifm-color-primary-darkest: #1a8870;
26+
--ifm-color-primary-light: #29d5b0;
27+
--ifm-color-primary-lighter: #32d8b4;
28+
--ifm-color-primary-lightest: #4fddbf;
29+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
9530
}

‎website/src/theme/SearchBar/algolia.css

-328
This file was deleted.

‎website/src/theme/SearchBar/index.js

-141
This file was deleted.

‎website/src/theme/SearchBar/styles.module.css

-70
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.