Skip to content

Commit dc643d8

Browse files
committed
website: re-generate commons
1 parent 69d7096 commit dc643d8

File tree

4 files changed

+33
-27
lines changed

4 files changed

+33
-27
lines changed

website/blog/tags.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
releases:
55

66
web:
7+
8+
xbb:

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"npm-link-helpers": "npm link @xpack/docusaurus-template-liquid @xpack/npm-packages-helper",
2222
"npm-ci": "npm ci",
2323
"deep-clean": "del-cli .docusaurus build node_modules package-lock.json",
24-
"generate-website-blog-post": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-blog-post.sh",
25-
"import-website-releases": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/website-import-releases.sh",
26-
"generate-dependencies-details": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-dependencies-details.sh"
24+
"generate-website-blog-post": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-blog-post.sh --xpack",
25+
"import-website-releases": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/import-releases.sh --xpack",
26+
"generate-dependencies-details": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-dependencies-details.sh --xpack"
2727
},
2828
"dependencies": {
2929
"@docusaurus/core": "3.6.3",

website/src/components/HomepageTools/index.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const coreTools = [
2323
webBaseUrl: 'xpm',
2424
npmScope: '',
2525
npmName: 'xpm',
26-
shortName: 'xpm',
27-
longName: 'xPack Project Manager',
26+
permalinkName: 'xpm',
27+
descriptiveName: 'xPack Project Manager',
2828
isWindows: true,
2929
isMacOS: true,
3030
isLinux: true,
@@ -34,8 +34,8 @@ const coreTools = [
3434
webBaseUrl: 'xcdl',
3535
npmScope: '',
3636
npmName: 'xcdl',
37-
shortName: 'xcdl',
38-
longName: 'xCDL Component Manager (work in progress)',
37+
permalinkName: 'xcdl',
38+
descriptiveName: 'xCDL Component Manager (work in progress)',
3939
isWindows: true,
4040
isMacOS: true,
4141
isLinux: true,
@@ -48,44 +48,44 @@ const npmModules = [
4848
webBaseUrl: 'logger-ts',
4949
npmScope: 'xpack',
5050
npmName: 'logger',
51-
shortName: '@xpack/logger',
52-
longName: 'The xPack Logger'
51+
permalinkName: '@xpack/logger',
52+
descriptiveName: 'The xPack Logger'
5353
},
5454
{
5555
gitHubBaseUrl: 'xpack/mock-console-ts',
5656
webBaseUrl: 'mock-console-ts',
5757
npmScope: 'xpack',
5858
npmName: 'mock-console',
59-
shortName: '@xpack/mock-console',
60-
longName: 'The xPack Mock Console'
59+
permalinkName: '@xpack/mock-console',
60+
descriptiveName: 'The xPack Mock Console'
6161
},
6262
{
6363
gitHubBaseUrl: 'xpack/xpm-liquid-ts',
6464
webBaseUrl: 'xpm-liquid-ts',
6565
npmScope: 'xpack',
6666
npmName: 'xpm-liquid',
67-
shortName: '@xpack/xpm-liquid',
68-
longName: 'The xPack Liquid Substitutions'
67+
permalinkName: '@xpack/xpm-liquid',
68+
descriptiveName: 'The xPack Liquid Substitutions'
6969
},
7070
{
7171
gitHubBaseUrl: 'xpack/update-checker-ts',
7272
webBaseUrl: 'update-checker-ts',
7373
npmScope: 'xpack',
7474
npmName: 'update-checker',
75-
shortName: '@xpack/update-checker',
76-
longName: 'The xPack Update Checker'
75+
permalinkName: '@xpack/update-checker',
76+
descriptiveName: 'The xPack Update Checker'
7777
},
7878
]
7979

8080

81-
function NpmModule({ gitHubBaseUrl, webBaseUrl, npmScope, npmName, shortName, longName, isWindows, isMacOS, isLinux }) {
81+
function NpmModule({ gitHubBaseUrl, webBaseUrl, npmScope, npmName, permalinkName, descriptiveName, isWindows, isMacOS, isLinux }) {
8282
const badgeName=(npmScope ? `%40${npmScope}%2F${npmName}` : npmName);
8383
const npmScopedName=(npmScope ? `@${npmScope}/${npmName}` : npmName);
8484
return (
8585
<>
8686
<div className="padding-vert--sm">
8787
<div>
88-
<b><Link to={'https://xpack.github.io/' + webBaseUrl + '/'}><span className="sub-web-home-link">{shortName}</span></Link></b> - <b>{longName}</b>
88+
<b><Link to={'https://xpack.github.io/' + webBaseUrl + '/'}><span className="sub-web-home-link">{permalinkName}</span></Link></b> - <b>{descriptiveName}</b>
8989
<span className="margin-left-platforms">
9090
{isWindows ? (<span className="platform-windows"></span>) : (<></>)}
9191
{isMacOS ? (<span className="platform-apple"></span>) : (<></>)}

website/src/css/custom.css

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ h2[class*="title"]
7676
.markdown h1:first-child {
7777
--ifm-h1-font-size: 2.5em
7878
}
79+
img.mac-stadium-img {
80+
float: right;
81+
width: 200px;
82+
}
83+
84+
code {
85+
vertical-align: baseline;
86+
}
87+
88+
/* ------------------------------------------------------------------------- */
7989

8090
.header-home-link::before {
8191
content: '';
@@ -139,6 +149,8 @@ h2[class*="title"]
139149
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;
140150
}
141151

152+
/* ------------------------------------------------------------------------- */
153+
142154
.getting-started-link::before {
143155
content: '';
144156
width: 1.5em;
@@ -179,7 +191,7 @@ h2[class*="title"]
179191
background: url("/img/bulb-on-svgrepo-com-dark.svg") no-repeat;
180192
}
181193

182-
/* --- */
194+
/* ------------------------------------------------------------------------- */
183195

184196
.header-github-link:hover {
185197
opacity: 0.6;
@@ -199,6 +211,7 @@ h2[class*="title"]
199211
no-repeat;
200212
}
201213

214+
/* ------------------------------------------------------------------------- */
202215

203216
.platform-windows::before {
204217
content: '';
@@ -325,13 +338,4 @@ h2[class*="title"]
325338
margin-left: 0.6em;
326339
}
327340

328-
img.mac-stadium-img {
329-
float: right;
330-
width: 200px;
331-
}
332-
333-
code {
334-
vertical-align: baseline;
335-
}
336-
337341
/* ------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)