From a2f9602058bbf5348e9d5b99321b4c3ce2313d13 Mon Sep 17 00:00:00 2001 From: Renze Yu Date: Mon, 14 Nov 2016 16:56:21 +0800 Subject: [PATCH 1/2] support customizing logo and favicon --- Documentation/tutorial/docfx.exe_user_manual.md | 2 ++ src/docfx.website.themes/default/partials/head.tmpl.partial | 2 +- src/docfx.website.themes/default/partials/navbar.tmpl.partial | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/tutorial/docfx.exe_user_manual.md b/Documentation/tutorial/docfx.exe_user_manual.md index a413759bf25..4f2f2f5a970 100644 --- a/Documentation/tutorial/docfx.exe_user_manual.md +++ b/Documentation/tutorial/docfx.exe_user_manual.md @@ -304,6 +304,8 @@ Metadata Name | Type | Description ----------------------|---------|--------------------------- _appTitle | string | Will be appended to each output page's head title. _appFooter | string | The footer text. Will show DocFX's Copyright text if not specified. +_appLogoPath | string | Logo file's path from output root. Will show DocFX's logo if not specified. Remember to add file to resource. +_appFaviconPath | string | Favicon file's path from output root. Will show DocFX's favicon if not specified. Remember to add file to resource. _enableSearch | bool | Indicate whether to show the search box on the top of page. _disableNavbar | bool | Indicate whether to show the navigation bar on the top of page. _disableBreadcrumb | bool | Indicate whether to show breadcrumb on the top of page. diff --git a/src/docfx.website.themes/default/partials/head.tmpl.partial b/src/docfx.website.themes/default/partials/head.tmpl.partial index b2f1163f8b1..39794e34de9 100644 --- a/src/docfx.website.themes/default/partials/head.tmpl.partial +++ b/src/docfx.website.themes/default/partials/head.tmpl.partial @@ -8,7 +8,7 @@ {{#_description}}{{/_description}} - + diff --git a/src/docfx.website.themes/default/partials/navbar.tmpl.partial b/src/docfx.website.themes/default/partials/navbar.tmpl.partial index 9f9939e387d..674daafaaa3 100644 --- a/src/docfx.website.themes/default/partials/navbar.tmpl.partial +++ b/src/docfx.website.themes/default/partials/navbar.tmpl.partial @@ -10,7 +10,7 @@ - +