From 6c2877b4f04338a9d4b51b0f8a82e54b53190de9 Mon Sep 17 00:00:00 2001 From: cmcclister Date: Fri, 7 Aug 2020 21:43:30 +0000 Subject: [PATCH 1/2] Initialize Docs repository: https://github.com/dotnet/docs-desktop of branch live --- .openpublishing.publish.config.json | 17 +++++++++- dotnet-desktop-guide/docfx.json | 51 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 dotnet-desktop-guide/docfx.json diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 8ba468b..d431732 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -1,5 +1,20 @@ { - "docsets_to_publish": [], + "docsets_to_publish": [ + { + "docset_name": "dotnet-desktop-guide", + "build_source_folder": "dotnet-desktop-guide", + "build_output_subfolder": "dotnet-desktop-guide", + "locale": "en-us", + "monikers": [], + "moniker_ranges": [], + "open_to_public_contributors": true, + "type_mapping": { + "Conceptual": "Content" + }, + "build_entry_point": "docs", + "template_folder": "_themes" + } + ], "notification_subscribers": [ "adegeo@microsoft.com" ], diff --git a/dotnet-desktop-guide/docfx.json b/dotnet-desktop-guide/docfx.json new file mode 100644 index 0000000..4f04eeb --- /dev/null +++ b/dotnet-desktop-guide/docfx.json @@ -0,0 +1,51 @@ +{ + "build": { + "content": [ + { + "files": [ + "**/*.md", + "**/*.yml" + ], + "exclude": [ + "**/obj/**", + "**/includes/**", + "_themes/**", + "_themes.pdf/**", + "**/docfx.json", + "_repo.en-us/**", + "README.md", + "LICENSE", + "LICENSE-CODE", + "ThirdPartyNotices.md" + ] + } + ], + "resource": [ + { + "files": [ + "**/*.png", + "**/*.jpg" + ], + "exclude": [ + "**/obj/**", + "**/includes/**", + "_themes/**", + "_themes.pdf/**", + "**/docfx.json", + "_repo.en-us/**" + ] + } + ], + "overwrite": [], + "externalReference": [], + "globalMetadata": { + "breadcrumb_path": "/dotnet/desktop/breadcrumb/toc.json", + "extendBreadcrumb": true, + "feedback_system": "None" + }, + "fileMetadata": {}, + "template": [], + "dest": "dotnet-desktop-guide", + "markdownEngineName": "markdig" + } +} \ No newline at end of file From c2300924fd6d10f35a9ea1de71e037edf15f7e79 Mon Sep 17 00:00:00 2001 From: cmcclister Date: Fri, 7 Aug 2020 21:50:02 +0000 Subject: [PATCH 2/2] Initialize Docs repository: https://github.com/dotnet/docs-desktop of branch live --- .openpublishing.publish.config.json | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index d431732..ed091e7 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -29,10 +29,27 @@ "url": "https://github.com/Microsoft/templates.docs.msft", "branch": "master", "branch_mapping": {} + }, + { + "path_to_root": "_themes.pdf", + "url": "https://github.com/Microsoft/templates.docs.msft.pdf", + "branch": "master", + "branch_mapping": {} } ], - "branch_target_mapping": {}, - "need_generate_pdf_url_template": false, + "branch_target_mapping": { + "live": [ + "Publish", + "Pdf", + "Intellisense" + ] + }, + "need_generate_pdf_url_template": true, + "targets": { + "pdf": { + "template_folder": "_themes.pdf" + } + }, "docs_build_engine": { "name": "docfx_v3" }