Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const config = {
// tagline: '',
url: 'https://docs.metamask.io',
baseUrl, // overwritten in github action for staging / latest
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
onBrokenLinks: 'throw',
onBrokenAnchors: 'throw',
favicon: 'img/favicons/favicon-96x96.png',

headTags: [
Expand Down Expand Up @@ -90,7 +90,7 @@ const config = {
organizationName: 'metamask', // Usually your GitHub org/user name.
projectName: 'metamask-docs', // Usually your repo name.

// Even if you don't use internalization, you can use this field to set useful
// Even if you don't use internationalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
Expand Down Expand Up @@ -127,6 +127,9 @@ const config = {

markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},
themes: ['@docusaurus/theme-mermaid'],

Expand Down
5 changes: 5 additions & 0 deletions gator-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const sidebar = {
type: 'category',
label: 'Delegation',
collapsed: true,
key: 'delegation-concepts',
link: { type: "doc", id: "concepts/delegation/index" },
items: [
'concepts/delegation/caveat-enforcers',
Expand Down Expand Up @@ -68,6 +69,7 @@ const sidebar = {
type: 'category',
label: 'Delegation',
collapsed: true,
key: 'delegation-guides',
items: [
'guides/delegation/execute-on-smart-accounts-behalf',
{
Expand All @@ -90,6 +92,7 @@ const sidebar = {
type: 'category',
label: 'ERC-7715',
collapsed: true,
key: 'erc7715-guides',
items: [
'guides/erc7715/execute-on-metamask-users-behalf',
{
Expand Down Expand Up @@ -152,6 +155,7 @@ const sidebar = {
label: 'Delegation',
collapsed: true,
link: { type: "doc", id: "reference/delegation/index" },
key: 'delegation-reference',
items: [
'reference/delegation/delegation-scopes',
'reference/delegation/caveats',
Expand All @@ -162,6 +166,7 @@ const sidebar = {
type: 'category',
label: 'ERC-7715',
collapsed: true,
key: 'erc7715-reference',
items: [
'reference/erc7715/permissions',
'reference/erc7715/wallet-client',
Expand Down
5 changes: 5 additions & 0 deletions gator_versioned_sidebars/version-0.13.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"type": "category",
"label": "Delegation",
"collapsed": false,
"key": "delegation-concepts",
"link": { "type": "doc", "id": "concepts/delegation/index" },
"items": [
"concepts/delegation/caveat-enforcers"
Expand Down Expand Up @@ -64,6 +65,7 @@
"type": "category",
"label": "Delegation",
"collapsed": true,
"key": "delegation-guides",
"items": [
"guides/delegation/execute-on-smart-accounts-behalf",
{
Expand All @@ -85,6 +87,7 @@
"type": "category",
"label": "ERC-7715",
"collapsed": true,
"key": "erc7715-guides",
"items": [
"guides/erc7715/execute-on-metamask-users-behalf",
{
Expand Down Expand Up @@ -137,6 +140,7 @@
"type": "category",
"label": "Delegation",
"collapsed": true,
"key": "delegation-reference",
"link": { "type": "doc", "id": "reference/delegation/index" },
"items": [
"reference/delegation/delegation-scopes",
Expand All @@ -148,6 +152,7 @@
"type": "category",
"label": "ERC-7715",
"collapsed": true,
"key": "erc7715-reference",
"items": [
"reference/erc7715/permissions",
"reference/erc7715/wallet-client",
Expand Down
Loading
Loading