-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
4,594 additions
and
2,077 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
website/blog/2017-07-02-riscv-none-gcc-v7-1-1-1-20170702-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2017-09-13-riscv-none-gcc-v7-1-1-2-20170912-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2017-11-09-riscv-none-gcc-v7-2-0-1-20171109-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2018-01-13-riscv-none-gcc-v7-2-0-2-20180111-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2018-05-06-riscv-none-gcc-v7-2-0-3-20180506-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2018-06-06-riscv-none-gcc-v7-2-0-4-20180606-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2018-10-19-riscv-none-gcc-v8-1-0-2-20181019-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2019-04-25-riscv-none-gcc-v8-2-0-2-1-20190425-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2019-05-21-riscv-none-gcc-v8-2-0-2-2-20190521-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2019-07-31-riscv-none-embed-gcc-v8-2-0-3-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2019-11-01-riscv-none-embed-gcc-v8-3-0-1-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2020-07-04-riscv-none-embed-gcc-v8-3-0-1-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2020-10-10-riscv-none-embed-gcc-v8-3-0-2-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2020-10-13-riscv-none-embed-gcc-v8-3-0-2-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2020-10-25-riscv-none-embed-gcc-v8-3-0-2-3-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2021-01-05-riscv-none-embed-gcc-v10-1-0-1-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2021-11-04-riscv-none-embed-gcc-v10-1-0-1-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2021-11-06-riscv-none-embed-gcc-v10-2-0-1-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2021-11-11-riscv-none-embed-gcc-v10-2-0-1-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2022-05-14-riscv-none-elf-gcc-v11-3-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2022-05-15-riscv-none-elf-gcc-v12-1-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2022-05-18-riscv-none-elf-gcc-v12-1-0-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2022-08-30-riscv-none-elf-gcc-v12-2-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2023-02-05-riscv-none-elf-gcc-v12-2-0-3-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2023-08-24-riscv-none-elf-gcc-v13-2-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2023-08-25-riscv-none-elf-gcc-v12-3-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2023-09-22-riscv-none-elf-gcc-v12-3-0-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2023-09-25-riscv-none-elf-gcc-v13-2-0-2-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2024-07-24-riscv-none-elf-gcc-v14-1-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2024-07-25-riscv-none-elf-gcc-v13-3-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2024-07-26-riscv-none-elf-gcc-v12-4-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
website/blog/2024-07-27-riscv-none-elf-gcc-v11-5-0-1-released.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* | ||
* This file is part of the xPack project (http://xpack.github.io). | ||
* Copyright (c) 2024 Liviu Ionescu. All rights reserved. | ||
* | ||
* Permission to use, copy, modify, and/or distribute this software | ||
* for any purpose is hereby granted, under the terms of the MIT license. | ||
* | ||
* If a copy of the license was not distributed with this file, it can | ||
* be obtained from https://opensource.org/licenses/MIT/. | ||
*/ | ||
|
||
import util from 'node:util'; | ||
|
||
export const redirects = { | ||
// fromExtensions: ['html', 'htm'], // /myPage.html -> /myPage | ||
// toExtensions: ['exe', 'zip'], // /myAsset -> /myAsset.zip (if latter exists) | ||
redirects: [ | ||
// // /docs/oldDoc -> /docs/newDoc | ||
// { | ||
// to: '/docs/newDoc', | ||
// from: '/docs/oldDoc', | ||
// }, | ||
// // Redirect from multiple old paths to the new path | ||
// { | ||
// to: '/docs/newDoc2', | ||
// from: ['/docs/oldDocFrom2019', '/docs/legacyDocFrom2016'], | ||
// }, | ||
|
||
{ | ||
from: '/docs/developer-info', | ||
to: '/docs/developer', | ||
}, | ||
{ | ||
from: '/docs/maintainer-info', | ||
to: '/docs/maintainer', | ||
}, | ||
{ | ||
from: '/docs/user-info', | ||
to: '/docs/user', | ||
} | ||
], | ||
createRedirects(existingPath) { | ||
console.log(existingPath); | ||
// if (existingPath.includes('/evenimente')) { | ||
// // console.log(`to ${existingPath} from ${existingPath.replace('/evenimente', '/events')}`); | ||
// // Redirect from /events/X to /evenimente/X | ||
// return [ | ||
// existingPath.replace('/evenimente', '/events') | ||
// ]; | ||
// } else if (existingPath.includes('/amintiri')) { | ||
// // console.log(`to ${existingPath} from ${existingPath.replace('/amintiri', '/blog')}`); | ||
// // Redirect from /blog/Z to /amintiri/X | ||
// return [ | ||
// existingPath.replace('/amintiri', '/blog') | ||
// ]; | ||
// } | ||
// return undefined; // Return a falsy value: no redirect created | ||
// }, | ||
|
||
if (existingPath.includes('/user-info')) { | ||
return [ | ||
existingPath.replace('/user-info', '/user') | ||
]; | ||
} else if (existingPath.includes('/developer-info')) { | ||
return [ | ||
existingPath.replace('/developer-info', '/developer') | ||
]; | ||
} else if (existingPath.includes('/maintainer-info')) { | ||
return [ | ||
existingPath.replace('/maintainer-info', '/maintainer') | ||
]; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.