-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docusaurus): update footer links and config
Update docusaurus.config.js to replace the old brownie based mix links to the modern foundry and apeworx templates. update katex dependency to latest one ref. in docusarus official docs. fix js-doc typechecking
- Loading branch information
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// @ts-check | ||
/** @type {import('@docusaurus/types').DocusaurusConfig} */ | ||
const math = require('remark-math') | ||
const katex = require('rehype-katex') | ||
|
@@ -98,19 +99,19 @@ module.exports = { | |
], | ||
}, | ||
{ | ||
title: 'Github', | ||
title: 'GitHub', | ||
items: [ | ||
{ | ||
label: 'yearn-vaults', | ||
href: 'https://github.com/yearn/yearn-vaults', | ||
}, | ||
{ | ||
label: 'brownie-strategy-mix', | ||
href: 'https://github.com/yearn/brownie-strategy-mix', | ||
label: 'foundry-tokenized--strategy-mix', | ||
href: 'https://github.com/yearn/tokenized-strategy-foundry-mix', | ||
}, | ||
{ | ||
label: 'brownie-wrapper-mix', | ||
href: 'https://github.com/yearn/brownie-wrapper-mix', | ||
label: 'apeworx-tokenized-strategy-mix', | ||
href: 'https://github.com/yearn/tokenized-strategy-ape-mix', | ||
}, | ||
{ | ||
label: 'yearn-watch', | ||
|
@@ -124,6 +125,10 @@ module.exports = { | |
label: 'yearn-security', | ||
href: 'https://github.com/yearn/yearn-security', | ||
}, | ||
{ | ||
label: 'yearn-devdocs', | ||
href: 'https://github.com/yearn/yearn-devdocs', | ||
}, | ||
], | ||
}, | ||
{ | ||
|
@@ -133,6 +138,10 @@ module.exports = { | |
label: 'Vaults', | ||
href: 'https://yearn.fi/vaults', | ||
}, | ||
{ | ||
label: 'yETH', | ||
href: 'https://yeth.yearn.fi/', | ||
}, | ||
{ | ||
label: 'YFI Stats', | ||
href: 'https://www.yfistats.com/', | ||
|
@@ -198,9 +207,9 @@ module.exports = { | |
], | ||
stylesheets: [ | ||
{ | ||
href: 'https://cdn.jsdelivr.net/npm/[email protected].11/dist/katex.min.css', | ||
href: 'https://cdn.jsdelivr.net/npm/[email protected].24/dist/katex.min.css', | ||
integrity: | ||
'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc', | ||
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM', | ||
crossorigin: 'anonymous', | ||
}, | ||
], | ||
|