Skip to content

Commit

Permalink
chore(docusaurus): update footer links and config (#397)
Browse files Browse the repository at this point in the history
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
sambacha authored Dec 27, 2023
1 parent db369ec commit e629ce0
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions docusaurus.config.js
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')
Expand Down Expand Up @@ -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',
Expand All @@ -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',
},
],
},
{
Expand All @@ -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/',
Expand Down Expand Up @@ -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',
},
],
Expand Down

1 comment on commit e629ce0

@vercel
Copy link

@vercel vercel bot commented on e629ce0 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.