Skip to content

Commit

Permalink
Merge pull request #5687 from unoplatform/dev/djo/docs-full-text-search
Browse files Browse the repository at this point in the history
Dev/djo/docs full text search
  • Loading branch information
mergify[bot] authored Apr 7, 2021
2 parents 334613b + 7930557 commit 56d3ba9
Show file tree
Hide file tree
Showing 6 changed files with 1,252 additions and 63 deletions.
98 changes: 44 additions & 54 deletions doc/docfx.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,48 @@
{
"build": {
"content": [
{
"files": [
"api/**.yml",
"api/index.md"
]
},
{
"files": [
"articles/**.md",
"articles/**/toc.yml",
"toc.yml",
"*.md"
]
}
],
"resource": [
{
"files": [
"images/**",
"articles/**.png",
"articles/**.jpg",
"articles/**.gif"
]
}
],
"overwrite": [
{
"files": [
"apidoc/**.md"
"build": {
"content": [
{
"files": ["api/**.yml", "api/index.md"]
},
{
"files": [
"articles/**.md",
"articles/**/toc.yml",
"toc.yml",
"*.md"
]
}
],
"exclude": [
"obj/**",
"_site/**"
]
}
],
"dest": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default",
"templates/uno"
],
"postProcessors": [],
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false,
"globalMetadata": {
"_appLogoPath": "images/UnoLogoSmall.png",
"_appFaviconPath": "images/UnoLogoSmall.png"
"resource": [
{
"files": [
"images/**",
"articles/**.png",
"articles/**.jpg",
"articles/**.gif"
]
}
],
"overwrite": [
{
"files": ["apidoc/**.md"],
"exclude": ["obj/**", "_site/**"]
}
],
"dest": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": ["default", "templates/uno"],
"postProcessors": ["ExtractSearchIndex"],
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false,
"globalMetadata": {
"_appLogoPath": "images/UnoLogoSmall.png",
"_enableSearch": "true",
"_appFaviconPath": "images/UnoLogoSmall.png"
}
}
}
}
7 changes: 1 addition & 6 deletions doc/templates/uno/layout/_master.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
{{>partials/breadcrumb}}
{{/_disableBreadcrumb}}
</header>
{{#_enableSearch}}
<div class="container body-content">
{{>partials/searchResults}}
</div>
{{/_enableSearch}}
<div role="main" class="container body-content hide-when-search">
<div role="main" class="container body-content">
{{^_disableToc}}
{{>partials/toc}}
<div class="article row grid-right">
Expand Down
Loading

0 comments on commit 56d3ba9

Please sign in to comment.