From 60c94acceeb6ef8a9cd4dc08b7aab302dcec3f4a Mon Sep 17 00:00:00 2001 From: Gary Moore <5432776+garycentric@users.noreply.github.com> Date: Wed, 10 Jun 2026 20:26:38 -0700 Subject: [PATCH] Add missing docfx validation rules Adds filename-incomplete, image-name-incomplete, image-structure-incorrect, and/or include-structure-incorrect rules where missing in docfx.json. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- exchange/docfx.json | 34 +++++++++++++++++++++++++++++++++- inkcanvas/docfx.json | 34 +++++++++++++++++++++++++++++++++- ms-commerce/docfx.json | 34 +++++++++++++++++++++++++++++++++- officewebapps/docfx.json | 34 +++++++++++++++++++++++++++++++++- skype/docfx.json | 34 +++++++++++++++++++++++++++++++++- spmt/docfx.json | 34 +++++++++++++++++++++++++++++++++- teams/docfx.json | 34 +++++++++++++++++++++++++++++++++- whiteboard/docfx.json | 34 +++++++++++++++++++++++++++++++++- 8 files changed, 264 insertions(+), 8 deletions(-) diff --git a/exchange/docfx.json b/exchange/docfx.json index 4740037fd9..62a62c97d0 100644 --- a/exchange/docfx.json +++ b/exchange/docfx.json @@ -110,6 +110,38 @@ } }, "template": [], - "dest": "exchange-ps" + "dest": "exchange-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/inkcanvas/docfx.json b/inkcanvas/docfx.json index 9e9c9cc73f..7d0a3c0267 100644 --- a/inkcanvas/docfx.json +++ b/inkcanvas/docfx.json @@ -97,6 +97,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "inkcanvas-ps" + "dest": "inkcanvas-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/ms-commerce/docfx.json b/ms-commerce/docfx.json index 56ac329979..82aa19d80f 100644 --- a/ms-commerce/docfx.json +++ b/ms-commerce/docfx.json @@ -57,6 +57,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "ms-commerce" + "dest": "ms-commerce", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/officewebapps/docfx.json b/officewebapps/docfx.json index 216094425d..c0ffb60fa2 100644 --- a/officewebapps/docfx.json +++ b/officewebapps/docfx.json @@ -94,6 +94,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "officewebapps-ps" + "dest": "officewebapps-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/skype/docfx.json b/skype/docfx.json index 044978a064..70fe3e947e 100644 --- a/skype/docfx.json +++ b/skype/docfx.json @@ -103,6 +103,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "skype-ps" + "dest": "skype-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/spmt/docfx.json b/spmt/docfx.json index 7b2f0907b1..66d2616b84 100644 --- a/spmt/docfx.json +++ b/spmt/docfx.json @@ -94,6 +94,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "spmt-ps" + "dest": "spmt-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/teams/docfx.json b/teams/docfx.json index e98179a474..247dfa7436 100644 --- a/teams/docfx.json +++ b/teams/docfx.json @@ -90,6 +90,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "teams-ps" + "dest": "teams-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } } diff --git a/whiteboard/docfx.json b/whiteboard/docfx.json index a83e64e8df..756900c154 100644 --- a/whiteboard/docfx.json +++ b/whiteboard/docfx.json @@ -79,6 +79,38 @@ ], "fileMetadata": {}, "template": [], - "dest": "whiteboard-ps" + "dest": "whiteboard-ps", + "rules": { + "filename-incomplete": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + }, + "image-name-incomplete": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "image-structure-incorrect": { + "exclude": [ + "**/*.gif", + "**/*.jpeg", + "**/*.jpg", + "**/*.png", + "**/*.svg" + ] + }, + "include-structure-incorrect": { + "exclude": [ + "**/*.md", + "**/*.yml" + ] + } + } } }