File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ export type LinkObject = {
1919} ;
2020
2121export const EXTERNAL_NAVIGATION_LINKS : LinkObject [ ] = [
22+ {
23+ name : "Sway Core Lib" ,
24+ link : "https://fuellabs.github.io/sway/master/core/" ,
25+ } ,
2226 {
2327 name : "Sway Std Lib" ,
2428 link : "https://fuellabs.github.io/sway/master/std/" ,
@@ -75,6 +79,10 @@ export const NAVIGATION: any[] = [
7579 name : "Standard Library" ,
7680 link : "https://fuellabs.github.io/sway/master/std/" ,
7781 } ,
82+ {
83+ name : "Core Library" ,
84+ link : "https://fuellabs.github.io/sway/master/core/" ,
85+ } ,
7886 {
7987 name : "Sway Playground" ,
8088 link : "https://sway-playground.org" ,
Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ function replaceInternalLinks(href: string, base: string) {
370370 newHref . startsWith ( 'https://fuellabs.github.io' ) &&
371371 ! newHref . includes ( 'fuellabs.github.io/block-explorer-v2' ) &&
372372 ! newHref . startsWith ( 'https://fuellabs.github.io/sway/master/std/' ) &&
373+ ! newHref . startsWith ( 'https://fuellabs.github.io/sway/master/core/' ) &&
373374 ! newHref . includes ( 'LICENSE' ) &&
374375 ! newHref . includes ( '/fuelup/' ) &&
375376 // ignore sway-libs reference links
You can’t perform that action at this time.
0 commit comments