@@ -57,13 +57,7 @@ function getCustomFields() {
5757
5858 const customFields = websitePackageJson ?. websiteConfig ?. customFields ?? { } ;
5959
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 ;
6761
6862 return {
6963 version : jsonVersion ,
@@ -88,7 +82,7 @@ console.log('customFields: ' + util.inspect(customFields));
8882const config : Config = {
8983 title : 'xPack Binary Development Tools' +
9084 ( ( 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 ' ,
9286 // Explicitly set in headTags.
9387 // favicon: '/img/favicon.ico',
9488
@@ -97,12 +91,12 @@ const config: Config = {
9791 // Set the /<baseUrl>/ pathname under which your site is served
9892 // For GitHub pages deployment, it is often '/<projectName>/'
9993 baseUrl : process . env . DOCUSAURUS_BASEURL ??
100- '/xpack-dev-tools.github.io-xpack/ ' ,
94+ '/' ,
10195
10296 // GitHub pages deployment config.
10397 // If you aren't using GitHub pages, you don't need these.
10498 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.
106100
107101 onBrokenAnchors : 'throw' ,
108102 onBrokenLinks : 'throw' ,
@@ -131,7 +125,7 @@ const config: Config = {
131125 // Please change this to your repo.
132126 // Remove this to remove the "edit this page" links.
133127 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/' ,
135129 // showLastUpdateAuthor: true,
136130 showLastUpdateTime : true ,
137131 } ,
@@ -140,7 +134,7 @@ const config: Config = {
140134 // Please change this to your repo.
141135 // Remove this to remove the "edit this page" links.
142136 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/' ,
144138 showLastUpdateTime : true ,
145139 blogSidebarCount : 8 ,
146140 } ,
@@ -153,9 +147,9 @@ const config: Config = {
153147 changefreq : 'weekly' ,
154148 priority : 0.5 ,
155149 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/**'
159153 ] ,
160154 filename : 'sitemap.xml' ,
161155 } ,
@@ -298,20 +292,20 @@ const config: Config = {
298292 ]
299293 } ,
300294 {
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/' ,
302296 position : 'right' ,
303297 className : 'header-github-link' ,
304298 'aria-label' : 'GitHub repository' ,
305299 } ,
306300 {
307301 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/' ,
309303 position : 'right' ,
310304 label : 'GitHub' ,
311305 items : [
312306 {
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/` ,
315309 } ,
316310 {
317311 label : 'xpack-dev-tools org' ,
@@ -350,7 +344,7 @@ const config: Config = {
350344 items : [
351345 {
352346 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' ,
354348 } ,
355349 {
356350 label : 'Stack Overflow' ,
@@ -374,8 +368,8 @@ const config: Config = {
374368 href : 'https://www.paypal.com/donate/?hosted_button_id=5MFRG9ZRBETQ8' ,
375369 } ,
376370 {
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/' ,
379373 } ,
380374 {
381375 label : 'GitHub xpack-dev-tools org' ,
0 commit comments