Some checks failed
CI / lint (push) Successful in 37s
Deploy / notebooks (push) Has been skipped
Deploy / zotero (push) Has been skipped
Deploy / docs (push) Has been skipped
Deploy / api (push) Has been skipped
Deploy / mc (push) Has been skipped
Infra CI / notebooks (push) Failing after 17s
Infra CI / zotero (push) Successful in 14s
Infra CI / docs (push) Successful in 1m25s
Infra CI / api (push) Successful in 23s
Infra CI / mc (push) Successful in 14s
Deploy / report (push) Successful in 46s
CI / test (push) Has been cancelled
94 lines
1.9 KiB
JavaScript
94 lines
1.9 KiB
JavaScript
// @ts-check
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
const config = {
|
|
title: "Stack",
|
|
tagline: "Healthcare data platform documentation",
|
|
favicon: "img/favicon.png",
|
|
url: process.env.DOCS_URL || "https://docs.fhirworx.io",
|
|
baseUrl: "/",
|
|
onBrokenLinks: "warn",
|
|
|
|
markdown: {
|
|
format: "detect",
|
|
hooks: {
|
|
onBrokenMarkdownLinks: "warn",
|
|
},
|
|
},
|
|
|
|
i18n: {
|
|
defaultLocale: "en",
|
|
locales: ["en"],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
"classic",
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
({
|
|
docs: {
|
|
sidebarPath: "./sidebars.js",
|
|
routeBasePath: "/",
|
|
},
|
|
blog: false,
|
|
theme: {
|
|
customCss: "./src/css/custom.css",
|
|
},
|
|
}),
|
|
],
|
|
],
|
|
|
|
themes: [
|
|
[
|
|
"@easyops-cn/docusaurus-search-local",
|
|
{
|
|
hashed: true,
|
|
language: ["en"],
|
|
indexDocs: true,
|
|
indexPages: true,
|
|
docsRouteBasePath: "/",
|
|
},
|
|
],
|
|
],
|
|
|
|
themeConfig:
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
({
|
|
colorMode: {
|
|
defaultMode: "light",
|
|
disableSwitch: true,
|
|
respectPrefersColorScheme: false,
|
|
},
|
|
navbar: {
|
|
title: "Stack",
|
|
logo: {
|
|
alt: "Stack",
|
|
src: "img/logo.svg",
|
|
},
|
|
items: [
|
|
{
|
|
type: "docSidebar",
|
|
sidebarId: "docsSidebar",
|
|
position: "left",
|
|
label: "Docs",
|
|
},
|
|
{
|
|
to: "/library",
|
|
label: "Library",
|
|
position: "left",
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: "dark",
|
|
copyright: "Healthcare data platform — built with Docusaurus.",
|
|
},
|
|
prism: {
|
|
theme: require("prism-react-renderer").themes.dracula,
|
|
additionalLanguages: ["python", "sql", "bash"],
|
|
},
|
|
}),
|
|
};
|
|
|
|
module.exports = config;
|