From f5eb5b23787ce9290e9e3c734e57d6b664c30cc1 Mon Sep 17 00:00:00 2001 From: cmcclister Date: Thu, 30 Mar 2023 17:00:24 +0000 Subject: [PATCH] Initialize Docs repository: https://github.com/MicrosoftDocs/microsoft-authentication-library-javascript of branch live --- .gitattributes | 14 ++++++++ .openpublishing.publish.config.json | 46 +++++++++++++++--------- msal-javascript-conceptual/docfx.json | 51 +++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 17 deletions(-) create mode 100644 .gitattributes create mode 100644 msal-javascript-conceptual/docfx.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9fb85ec --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index d27d2bd..c7b304e 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -6,7 +6,9 @@ "build_output_subfolder": "microsoft-authentication-library-js", "locale": "en-us", "monikers": [], - "moniker_ranges": ["msal-js-latest"], + "moniker_ranges": [ + "msal-js-latest" + ], "open_to_public_contributors": true, "type_mapping": { "Conceptual": "Content", @@ -18,16 +20,38 @@ "ReferenceContainer": "Content" }, "build_entry_point": "docs", - "template_folder": "_themes", - "base_path": "javascript", - "site_name": "Docs" + "template_folder": "_themes" + }, + { + "docset_name": "msal-javascript-conceptual", + "build_source_folder": "msal-javascript-conceptual", + "build_output_subfolder": "msal-javascript-conceptual", + "locale": "en-us", + "monikers": [], + "moniker_ranges": [], + "open_to_public_contributors": true, + "type_mapping": { + "Conceptual": "Content" + }, + "build_entry_point": "docs", + "template_folder": "_themes" } ], "notification_subscribers": [], "sync_notification_subscribers": [], "branches_to_filter": [], - "skip_source_output_uploading": false, "need_preview_pull_request": true, + "dependent_repositories": [ + { + "path_to_root": "_themes", + "url": "https://github.com/Microsoft/templates.docs.msft", + "branch": "main", + "branch_mapping": {} + } + ], + "branch_target_mapping": {}, + "docs_build_engine": {}, + "skip_source_output_uploading": false, "JoinTOCPlugin": [ { "TopLevelTOC": "msal/docs-ref-toc/fxtoc.yml", @@ -43,15 +67,6 @@ } } ], - "dependent_repositories": [ - { - "path_to_root": "_themes", - "url": "https://github.com/Microsoft/templates.docs.msft", - "branch": "main", - "branch_mapping": {} - } - ], - "branch_target_mapping": {}, "dependent_packages": [ { "id": "opbuild.templates.uref", @@ -68,9 +83,6 @@ "nuget_feed": "https://www.myget.org/F/op/api/v2" } ], - "docs_build_engine": { - "name": "docfx_v3" - }, "contribution_branch_mappings": {}, "need_generate_pdf_url_template": false } \ No newline at end of file diff --git a/msal-javascript-conceptual/docfx.json b/msal-javascript-conceptual/docfx.json new file mode 100644 index 0000000..78cd05d --- /dev/null +++ b/msal-javascript-conceptual/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", + "SECURITY.md" + ] + } + ], + "resource": [ + { + "files": [ + "**/*.png", + "**/*.jpg" + ], + "exclude": [ + "**/obj/**", + "**/includes/**", + "_themes/**", + "_themes.pdf/**", + "**/docfx.json", + "_repo.en-us/**" + ] + } + ], + "overwrite": [], + "externalReference": [], + "globalMetadata": { + "breadcrumb_path": "/entra/msal/javascript/breadcrumb/toc.json", + "extendBreadcrumb": true, + "feedback_system": "None" + }, + "fileMetadata": {}, + "template": [], + "dest": "msal-javascript-conceptual" + } +} \ No newline at end of file