Skip to content

Commit a2825a5

Browse files
committed
FIx doc templates
1 parent 7a57930 commit a2825a5

File tree

4 files changed

+35
-49
lines changed

4 files changed

+35
-49
lines changed

docs/docfx.json

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,20 @@
3030
],
3131
"build": {
3232
"content": [
33+
{
34+
"files": [
35+
"**/*.{md,yml}"
36+
],
37+
"exclude": [
38+
"_site/**"
39+
]
40+
},
3341
{
3442
"files": [
3543
"**/*.yml"
3644
],
3745
"src": "obj/api",
3846
"dest": "api"
39-
},
40-
{
41-
"files": [
42-
"**/*.md",
43-
"**/toc.yml",
44-
"toc.yml"
45-
]
4647
}
4748
],
4849
"resource": [
@@ -61,13 +62,16 @@
6162
"_enableSearch": true,
6263
"_appFaviconPath": "images/favicon.ico",
6364
"_appLogoPath": "images/MONAI-logo-color.svg",
64-
"_appFooter": "Copyright © 2022-2023 <a href=\"https://monai.io/\">Project MONAI</a><br>Generated by <strong>DocFX</strong>",
65+
"_appFooter": "Copyright © 2022-2025 <a href=\"https://monai.io/\">Project MONAI</a><br>Generated by <strong>DocFX</strong>",
6566
"_gitContribute": {
6667
"repo": "https://github.com/Project-MONAI/monai-deploy-informatics-gateway.git",
6768
"branch": "main",
6869
"path": "docs/"
6970
},
70-
"_gitUrlPattern": "github"
71+
"_gitUrlPattern": "github",
72+
"_customCss": [
73+
"styles/main.css"
74+
]
7175
},
7276
"markdownEngineName": "markdig",
7377
"dest": "_site",
@@ -76,7 +80,8 @@
7680
],
7781
"template": [
7882
"default",
79-
"templates/material"
83+
"modern",
84+
"templates/monai"
8085
],
8186
"fileMetadata": {
8287
"_disableBreadcrumb": {

docs/filterConfig.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright 2021-2022 MONAI Consortium
1+
### YamlMime:ManagedReference
2+
# Copyright 2021-2025 MONAI Consortium
23
#
34
# Licensed under the Apache License, Version 2.0 (the "License");
45
# you may not use this file except in compliance with the License.

docs/templates/material/partials/head.tmpl.partial

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/templates/material/styles/main.css renamed to docs/templates/monai/public/main.css

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
/*
2-
* Copyright 2022 MONAI Consortium
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
1+
/*
2+
* Copyright 2022-2025 MONAI Consortium
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
1717
/* COLOR VARIABLES*/
1818

1919
:root {
@@ -40,7 +40,6 @@ body {
4040
word-wrap: break-word;
4141
}
4242

43-
4443
/* HIGHLIGHT COLOR */
4544

4645
button,
@@ -138,6 +137,8 @@ article h4 {
138137
-webkit-box-shadow: var(--card-box-shadow);
139138
-moz-box-shadow: var(--card-box-shadow);
140139
box-shadow: var(--card-box-shadow);
140+
background-color: var(--header-bg-color);
141+
color: var(--header-ft-color);
141142
}
142143

143144
.subnav {

0 commit comments

Comments
 (0)