diff --git a/docs/.gitignore b/docs/.gitignore index d5113c3c..d6624dcb 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,7 +1,7 @@ -/_site -/**/DROP/ -/**/TEMP/ -/**/packages/ -/**/bin/ -/obj +/_* +/**/DROP/ +/**/TEMP/ +/**/packages/ +/**/bin/ +/obj /nuget \ No newline at end of file diff --git a/docs/docfx.json b/docs/docfx.json index acb1ebfb..3eba9733 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -1,76 +1,76 @@ -{ - "metadata": [{ - "src": [{ - "src": "..", - "files": [ - "**.csproj" - ], - "exclude": [ - "**/BSIPA-Meta.csproj", - "**/IPA.csproj", - "**/IPA.Tests.csproj", - "TMP Exporter/**.csproj", - "BuildTools/**.csproj", - "Doorstop/**.csproj", - "Net3-Proxy/**.csproj" - ] - }], - "dest": "api", - "disableGitFeatures": false, - "disableDefaultFilter": false - }], - "build": { - "content": [{ - "files": [ - "api/**.yml", - "api/index.md" - ] - }, - { - "files": [ - "articles/**.md", - "articles/**/toc.yml", - "other_api/**.md", - "other_api/**/toc.yml", - "other_api/**.yml", - "toc.yml", - "*.md" - ] - } - ], - "resource": [{ - "files": [ - "images/**" - ] - }], - "overwrite": [{ - "files": [ - "override/**.md" - ], - "exclude": [ - "obj/**", - "_site/**" - ] - }], - "dest": "_site", - "xrefService": [ "https://xref.docs.microsoft.com/query?uid={uid}" ], - "globalMetadataFiles": [], - "fileMetadataFiles": [], - "template": [ - "default", "templates/material/material", "templates/fix_urls" - ], - "globalMetadata": { - "_enableSearch": true, - "_enableNewTab": true, - "_gitContribute": { - "apiSpecFolder": "docs/override" - } - }, - "postProcessors": [], - "markdownEngineName": "dfm", - "noLangKeyword": false, - "keepFileLink": false, - "cleanupCacheHistory": false, - "disableGitFeatures": false - } +{ + "metadata": [{ + "src": [{ + "src": "..", + "files": [ + "**.csproj" + ], + "exclude": [ + "**/BSIPA-Meta.csproj", + "**/IPA.csproj", + "**/IPA.Tests.csproj", + "TMP Exporter/**.csproj", + "BuildTools/**.csproj", + "Doorstop/**.csproj", + "Net3-Proxy/**.csproj" + ] + }], + "dest": "api", + "disableGitFeatures": false, + "disableDefaultFilter": false + }], + "build": { + "content": [{ + "files": [ + "api/**.yml", + "api/index.md" + ] + }, + { + "files": [ + "articles/**.md", + "articles/**/toc.yml", + "other_api/**.md", + "other_api/**/toc.yml", + "other_api/**.yml", + "toc.yml", + "*.md" + ] + } + ], + "resource": [{ + "files": [ + "images/**" + ] + }], + "overwrite": [{ + "files": [ + "override/**.md" + ], + "exclude": [ + "obj/**", + "_site/**" + ] + }], + "dest": "_site", + "xrefService": [ "https://xref.docs.microsoft.com/query?uid={uid}" ], + "globalMetadataFiles": [], + "fileMetadataFiles": [], + "template": [ + "default", "templates/material/material", "templates/fix_urls", "templates/bsipa_custom" + ], + "globalMetadata": { + "_enableSearch": true, + "_enableNewTab": true, + "_gitContribute": { + "apiSpecFolder": "docs/override" + } + }, + "postProcessors": [], + "markdownEngineName": "dfm", + "noLangKeyword": false, + "keepFileLink": false, + "cleanupCacheHistory": false, + "disableGitFeatures": false + } } \ No newline at end of file diff --git a/docs/templates/bsipa_custom/favicon.ico b/docs/templates/bsipa_custom/favicon.ico new file mode 100644 index 00000000..4726b622 Binary files /dev/null and b/docs/templates/bsipa_custom/favicon.ico differ diff --git a/docs/templates/bsipa_custom/icon_white.png b/docs/templates/bsipa_custom/icon_white.png new file mode 100644 index 00000000..57876d3a Binary files /dev/null and b/docs/templates/bsipa_custom/icon_white.png differ diff --git a/docs/templates/bsipa_custom/partials/head.tmpl.partial b/docs/templates/bsipa_custom/partials/head.tmpl.partial new file mode 100644 index 00000000..5064c357 --- /dev/null +++ b/docs/templates/bsipa_custom/partials/head.tmpl.partial @@ -0,0 +1,22 @@ +{{!Copyright (c) Oscar Vasquez. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} + + + + + {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}} + + + + {{#_description}}{{/_description}} + + + + + + + + + {{#_noindex}}{{/_noindex}} + {{#_enableSearch}}{{/_enableSearch}} + {{#_enableNewTab}}{{/_enableNewTab}} + \ No newline at end of file diff --git a/docs/templates/bsipa_custom/styles/fix.css b/docs/templates/bsipa_custom/styles/fix.css new file mode 100644 index 00000000..ec97954f --- /dev/null +++ b/docs/templates/bsipa_custom/styles/fix.css @@ -0,0 +1,7 @@ +table p { + margin-bottom: .5em; +} + +table p:last-child { + margin-bottom: 0px; +} \ No newline at end of file