Replies: 3 comments 3 replies
-
I think you need 2 things in the docfx.json file:
See my sample file: {
"build": {
"content": [
{
"files": [
"**.md",
"**/TOC.yml"
],
"exclude": [
"**/_template/**"
]
}
],
"resource": [
{
"files": [
"**.*"
],
"exclude": [
"**.md",
"**.yml",
"**.json",
"**.targets",
"**.csproj*",
"bin/**",
"obj/**",
"**/_template/**"
]
}
],
"dest": "_Site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default",
"modern"
],
"postProcessors": [ "ExtractSearchIndex" ],
"globalMetadata": {
"_appTitle": "My Documentation",
"_appFooter": "© Me",
"_appLogoPath": "MyIcon.png",
"_appFaviconPath": "MyIcon.png",
"_enableSearch": true,
"_enableNewTab": false
},
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
-
@yufeih Search feature is can't use now ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Having the same issue here with different templates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone ,
How can I enable search box in templete modern ?
https://chuongmep.github.io/OpenMEP/index.html
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions