Skip to content

Commit d47e743

Browse files
workflow structure changes [MTT-3142] (#568)
* Making develop structures the 1.0.0 structures * Remove old versions completely * Build error fix "current" to "1.0.0" * Build error fix; line 480 * Build error fix * Build error fix attempt * Build error * Build error fix * Redirect link fixes * onlyIncludeVersions error fix * Redirects error fix Co-authored-by: s-omeilia-unity <[email protected]>
1 parent 51a3643 commit d47e743

File tree

352 files changed

+787
-60319
lines changed

Some content is hidden

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

352 files changed

+787
-60319
lines changed

docusaurus.config.js

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -309,16 +309,12 @@ module.exports = {
309309
return `https://github.com/Unity-Technologies/com.unity.multiplayer.docs/edit/main/${versionDocsDirPath}/${docPath}`;
310310
},
311311
includeCurrentVersion: true,
312-
lastVersion: '1.0.0',
312+
lastVersion: "current",
313313
versions: {
314314
current: {
315-
label: 'develop',
315+
label: '1.0.0',
316316
path: 'develop',
317317
},
318-
'1.0.0': {
319-
label: 'v. 1.0.0',
320-
path: '',
321-
},
322318
'0.1.0': {
323319
label: 'v. 0.1.0',
324320
path: '0.1.0',
@@ -481,22 +477,17 @@ module.exports = {
481477

482478
},
483479
includeCurrentVersion: true,
484-
lastVersion: '1.0.0',
480+
lastVersion: `current`,
485481
versions: {
486482
current: {
487-
label: 'develop',
483+
label: '1.0.0',
488484
path: 'transport',
489485
},
490-
'1.0.0': {
491-
label: 'v. 1.0.0',
492-
path: '1.0.0',
493-
},
494486
'0.8.0': {
495-
label: 'v. 0.8.0 preview',
487+
label: '0.8.0 preview',
496488
path: '0.8.0',
497489
},
498490
},
499-
onlyIncludeVersions: ["0.8.0", "1.0.0"],
500491
editCurrentVersion: true,
501492
routeBasePath: 'transport',
502493
sidebarPath: require.resolve('./sidebarsTransport.js'),
@@ -537,37 +528,17 @@ module.exports = {
537528
{
538529
id: 'GTM-5V25JL6', // GTM Container ID
539530
}],
540-
[
531+
/*[
541532
'@docusaurus/plugin-client-redirects',
542533
{
543534
redirects: [
544535
{
545-
to: '/docs/advanced-topics/messaging-system',
546-
from: '/docs/advanced-topics/messaging-system/about-rpc',
547-
},
548-
{
549-
to: '/docs/advanced-topics/messaging-system',
550-
from: '/docs/advanced-topics/message-system/serialization',
551-
},
552-
{
553-
to: '/docs/getting-started/about',
554-
from: '/docs/getting-started/about-mlapi.',
555-
},
556-
{
557-
to: '/docs/develop/getting-started/about',
558-
from: '/docs/develop/getting-started/about-mlapi.',
559-
},
560-
{
561-
to: '/docs/0.1.0/getting-started/about',
562-
from: '/docs/0.1.0/getting-started/about-mlapi.',
563-
},
564-
{
565-
to: `/docs/tools/install-tools`,
566-
from: `/docs/tools-install-tooltip`,
536+
to: '',
537+
from: '',
567538
},
568539
]
569540
},
570-
],
541+
],*/
571542
'plugin-image-zoom',
572543
'docusaurus-plugin-sass',
573544
'@saucelabs/theme-github-codeblock',

0 commit comments

Comments
 (0)