From 953adb01c6b132602a736fd048c99553237851ec Mon Sep 17 00:00:00 2001 From: Elijah Quartey Date: Wed, 8 Nov 2023 12:53:01 -0600 Subject: [PATCH] chore(core): adjusted pub ignore for docs (#4090) --- packages/amplify_core/.pubignore | 7 ++++++- packages/amplify_core/dartdoc_options.yaml | 4 ++-- packages/amplify_core/doc/{ => static}/auth.md | 0 packages/amplify_core/doc/{ => static}/favicon.png | Bin 4 files changed, 8 insertions(+), 3 deletions(-) rename packages/amplify_core/doc/{ => static}/auth.md (100%) rename packages/amplify_core/doc/{ => static}/favicon.png (100%) diff --git a/packages/amplify_core/.pubignore b/packages/amplify_core/.pubignore index a2e6bd485b..dfbf4d4789 100644 --- a/packages/amplify_core/.pubignore +++ b/packages/amplify_core/.pubignore @@ -1 +1,6 @@ -doc/ +# Ignore +doc/* + +# Allow +!doc/lib/* +!doc/static/* diff --git a/packages/amplify_core/dartdoc_options.yaml b/packages/amplify_core/dartdoc_options.yaml index 0db369166c..121c023b70 100644 --- a/packages/amplify_core/dartdoc_options.yaml +++ b/packages/amplify_core/dartdoc_options.yaml @@ -1,10 +1,10 @@ dartdoc: categories: "Auth": - markdown: doc/auth.md + markdown: doc/static/auth.md categoryOrder: - Auth - favicon: doc/favicon.png + favicon: doc/static/favicon.png nodoc: - lib/src/config/analytics/** - lib/src/config/api/** diff --git a/packages/amplify_core/doc/auth.md b/packages/amplify_core/doc/static/auth.md similarity index 100% rename from packages/amplify_core/doc/auth.md rename to packages/amplify_core/doc/static/auth.md diff --git a/packages/amplify_core/doc/favicon.png b/packages/amplify_core/doc/static/favicon.png similarity index 100% rename from packages/amplify_core/doc/favicon.png rename to packages/amplify_core/doc/static/favicon.png