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