@@ -57,13 +57,7 @@ function getCustomFields() {
57
57
58
58
const customFields = websitePackageJson ?. websiteConfig ?. customFields ?? { } ;
59
59
60
- let upstreamVersion
61
- if ( customFields . hasTwoNumbersVersion === 'true' && xpackSemver . endsWith ( '.0' ) ) {
62
- // Remove the patch number if zero (wine uses both 2 and 3 numbers).
63
- upstreamVersion = xpackSemver . replace ( / [ . ] 0 * $ / , '' ) ;
64
- } else {
65
- upstreamVersion = xpackSemver ;
66
- }
60
+ let upstreamVersion = xpackSemver ;
67
61
68
62
return {
69
63
version : jsonVersion ,
@@ -88,7 +82,7 @@ console.log('customFields: ' + util.inspect(customFields));
88
82
const config : Config = {
89
83
title : 'xPack Binary Development Tools' +
90
84
( ( process . env . DOCUSAURUS_IS_PREVIEW === 'true' ) ? ' (preview)' : '' ) ,
91
- tagline : 'A binary distribution of Binary Development Tools ' ,
85
+ tagline : 'Cross-platform binary tools for software development, aimed at reproducible builds ' ,
92
86
// Explicitly set in headTags.
93
87
// favicon: '/img/favicon.ico',
94
88
@@ -97,12 +91,12 @@ const config: Config = {
97
91
// Set the /<baseUrl>/ pathname under which your site is served
98
92
// For GitHub pages deployment, it is often '/<projectName>/'
99
93
baseUrl : process . env . DOCUSAURUS_BASEURL ??
100
- '/xpack-dev-tools.github.io-xpack/ ' ,
94
+ '/' ,
101
95
102
96
// GitHub pages deployment config.
103
97
// If you aren't using GitHub pages, you don't need these.
104
98
organizationName : 'xpack-dev-tools' , // Usually your GitHub org/user name.
105
- projectName : 'xpack-dev-tools.github.io-xpack ' , // Usually your repo name.
99
+ projectName : 'xpack-dev-tools.github.io' , // Usually your repo name.
106
100
107
101
onBrokenAnchors : 'throw' ,
108
102
onBrokenLinks : 'throw' ,
@@ -131,7 +125,7 @@ const config: Config = {
131
125
// Please change this to your repo.
132
126
// Remove this to remove the "edit this page" links.
133
127
editUrl :
134
- 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /edit/xpack/website/' ,
128
+ 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/edit/xpack/website/' ,
135
129
// showLastUpdateAuthor: true,
136
130
showLastUpdateTime : true ,
137
131
} ,
@@ -140,7 +134,7 @@ const config: Config = {
140
134
// Please change this to your repo.
141
135
// Remove this to remove the "edit this page" links.
142
136
editUrl :
143
- 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /edit/xpack/website/' ,
137
+ 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/edit/xpack/website/' ,
144
138
showLastUpdateTime : true ,
145
139
blogSidebarCount : 8 ,
146
140
} ,
@@ -153,9 +147,9 @@ const config: Config = {
153
147
changefreq : 'weekly' ,
154
148
priority : 0.5 ,
155
149
ignorePatterns : [
156
- '/xpack-dev-tools.github.io-xpack/ blog/archive/**' ,
157
- '/xpack-dev-tools.github.io-xpack/ blog/authors/**' ,
158
- '/xpack-dev-tools.github.io-xpack/ blog/tags/**'
150
+ '/blog/archive/**' ,
151
+ '/blog/authors/**' ,
152
+ '/blog/tags/**'
159
153
] ,
160
154
filename : 'sitemap.xml' ,
161
155
} ,
@@ -298,20 +292,20 @@ const config: Config = {
298
292
]
299
293
} ,
300
294
{
301
- href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /' ,
295
+ href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/' ,
302
296
position : 'right' ,
303
297
className : 'header-github-link' ,
304
298
'aria-label' : 'GitHub repository' ,
305
299
} ,
306
300
{
307
301
type : 'dropdown' ,
308
- href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /' ,
302
+ href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/' ,
309
303
position : 'right' ,
310
304
label : 'GitHub' ,
311
305
items : [
312
306
{
313
- label : `xpack-dev-tools.github.io-xpack ` ,
314
- href : `https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /` ,
307
+ label : `xpack-dev-tools.github.io` ,
308
+ href : `https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/` ,
315
309
} ,
316
310
{
317
311
label : 'xpack-dev-tools org' ,
@@ -350,7 +344,7 @@ const config: Config = {
350
344
items : [
351
345
{
352
346
label : 'GitHub Discussions' ,
353
- href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /discussions' ,
347
+ href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/discussions' ,
354
348
} ,
355
349
{
356
350
label : 'Stack Overflow' ,
@@ -374,8 +368,8 @@ const config: Config = {
374
368
href : 'https://www.paypal.com/donate/?hosted_button_id=5MFRG9ZRBETQ8' ,
375
369
} ,
376
370
{
377
- label : 'GitHub xpack-dev-tools.github.io-xpack ' ,
378
- href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack /' ,
371
+ label : 'GitHub xpack-dev-tools.github.io' ,
372
+ href : 'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/' ,
379
373
} ,
380
374
{
381
375
label : 'GitHub xpack-dev-tools org' ,
0 commit comments