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
6 changes: 5 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const config: Config = {
projectName: 'docs-website', // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
onBrokenAnchors: 'warn',

// 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
Expand All @@ -58,6 +58,10 @@ const config: Config = {
admonitions: false,
headingIds: true,
},
hooks: {
onBrokenMarkdownLinks: 'warn',
onBrokenMarkdownImages: 'throw',
},
},

themes: ['@docusaurus/theme-mermaid', 'docusaurus-json-schema-plugin'],
Expand Down
14 changes: 7 additions & 7 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,17 @@ thead th {
);
}

.navbar .DocSearch-Button {
.theme-layout-navbar .DocSearch-Button {
border-style: solid;
border-width: 1px;
height: 40px;
}

.navbar .DocSearch-Button {
.theme-layout-navbar .DocSearch-Button {
border-color: #dcdcdc;
}

[data-theme='dark'] .navbar .DocSearch-Button {
[data-theme='dark'] .theme-layout-navbar .DocSearch-Button {
border-color: #333333;
}

Expand Down Expand Up @@ -211,23 +211,23 @@ thead th {
}

/* Tab components */
.tabs-container {
.theme-tabs-container {
background-color: var(--ifm-card-background-color);
border: 1px solid var(--ifm-table-border-color);
border-radius: var(--ifm-card-border-radius);
margin-bottom: 1rem;
}

.tabs-container > ul {
.theme-tabs-container > ul {
background-color: #f8fafc;
}

[data-theme='dark'] .tabs-container > ul {
[data-theme='dark'] .theme-tabs-container > ul {
background-color: #1a1c1f;
border-color: #1a1a1c;
}

.tabs-container > ul {
.theme-tabs-container > ul {
border-bottom: 1px solid #f0f0f0;
border-top-left-radius: var(--ifm-card-border-radius);
border-top-right-radius: var(--ifm-card-border-radius);
Expand Down
4 changes: 2 additions & 2 deletions src/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
padding: 0px 12px;
}

.footer__col:first-child {
.theme-layout-footer-column:first-child {
max-width: 400px;
margin-right: auto;
}

.footer__col:last-child {
.theme-layout-footer-column:last-child {
max-width: 200px;
margin-right: 0px;
}