From b9c3da95d2c518789bf2d2389804a8cc225776de Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Sat, 20 Jan 2024 20:00:03 -0600 Subject: [PATCH] Fix style issues, remove unused styles, remove external icons --- src/_includes/banner.html | 2 +- src/_includes/cookie-notice.html | 4 +-- src/_includes/page-footer.html | 12 +++---- src/_includes/page-github-links.html | 4 +-- src/_includes/sidenav-level-1.html | 2 +- src/_includes/sidenav-level-2.html | 2 +- src/_includes/sidenav-level-3.html | 2 +- src/_includes/sidenav-level-4.html | 2 +- src/_sass/_site.scss | 40 ----------------------- src/_sass/components/_code.scss | 30 +++-------------- src/_sass/components/_form.scss | 10 +++--- src/_sass/components/_sidebar.scss | 8 ----- src/_sass/core/_base.scss | 11 ------- src/_sass/core/_mixins.scss | 46 --------------------------- src/assets/js/main.js | 6 ---- src/codelabs/async-await.md | 4 +-- src/effective-dart/style.md | 4 +-- src/effective-dart/usage.md | 4 +-- src/guides/language/sound-problems.md | 9 ------ src/index.html | 22 ++++++------- src/language/type-system.md | 1 - src/multiplatform-apps.md | 2 +- src/resources/books.md | 2 +- src/tools/index.md | 6 ++-- src/tools/pub/publishing.md | 1 - src/tools/pub/troubleshoot.md | 4 --- src/tools/sdk.md | 2 +- src/web/debugging.md | 2 +- 28 files changed, 47 insertions(+), 197 deletions(-) diff --git a/src/_includes/banner.html b/src/_includes/banner.html index 1583a50d57..73c6e230c0 100644 --- a/src/_includes/banner.html +++ b/src/_includes/banner.html @@ -1,7 +1,7 @@
- Do profiling, - logging, - and debugging + Do profiling, + logging, + and debugging with your code editor of choice.
@@ -316,8 +314,7 @@
Make changes to your source code iteratively, using - hot - reload + hot reload to instantly see the effect in the running app.
@@ -339,10 +336,9 @@
- Do profiling, - logging, - and debugging + Do profiling, + logging, + and debugging with your code editor of choice.
diff --git a/src/language/type-system.md b/src/language/type-system.md index 41453220fe..ea3ae020e6 100644 --- a/src/language/type-system.md +++ b/src/language/type-system.md @@ -44,7 +44,6 @@ void main() { The preceding code results in a type error on `list` (highlighted above) at the call of `printInts(list)`: -{:.console-output} ```plaintext error - The argument type 'List' can't be assigned to the parameter type 'List'. - argument_type_not_assignable diff --git a/src/multiplatform-apps.md b/src/multiplatform-apps.md index 1fc6dc313a..cd23818363 100644 --- a/src/multiplatform-apps.md +++ b/src/multiplatform-apps.md @@ -26,7 +26,7 @@ fast production code for any platform.

- + Flutter Get started diff --git a/src/resources/books.md b/src/resources/books.md index 74a3ff6a5f..9606483301 100644 --- a/src/resources/books.md +++ b/src/resources/books.md @@ -22,7 +22,7 @@ and new developer tools. {% for book in books-dart %}

- + {{book.title}}
diff --git a/src/tools/index.md b/src/tools/index.md index fad5907cb4..53e1e610ce 100644 --- a/src/tools/index.md +++ b/src/tools/index.md @@ -70,15 +70,15 @@ thanks to the Dart community. diff --git a/src/tools/pub/publishing.md b/src/tools/pub/publishing.md index 73a4e06e4b..fbd185ab39 100644 --- a/src/tools/pub/publishing.md +++ b/src/tools/pub/publishing.md @@ -154,7 +154,6 @@ and then uploads your package to [pub.dev.]({{site.pub}}) Pub also shows you all the files it intends to publish. Here's an example of publishing a package named `transmogrify`: -{:.console-output} ```plaintext Publishing transmogrify 1.0.0 .gitignore diff --git a/src/tools/pub/troubleshoot.md b/src/tools/pub/troubleshoot.md index 0f284dd36b..71b53afcc5 100644 --- a/src/tools/pub/troubleshoot.md +++ b/src/tools/pub/troubleshoot.md @@ -7,7 +7,6 @@ description: Common gotchas you might run into when using pub. You receive the following error when running `pub publish`: -{:.console-output} ```plaintext HTTP error 403: Forbidden ... @@ -66,7 +65,6 @@ found in the [`PUB_CACHE`][] folder. You receive the following error when running `pub publish`: -{:.console-output} ```plaintext UnauthorizedAccess: Unauthorized user: is not allowed to upload versions to package ''. ``` @@ -80,7 +78,6 @@ See [Uploaders](/tools/pub/publishing#uploaders). You receive an HttpException error similar to the following when running `pub build`: -{:.console-output} ```plaintext Pub build failed, [1] IsolateSpawnException: 'HttpException: Connection closed while receiving data, ... @@ -169,7 +166,6 @@ The following error might occur if you have no internet access, your ISP is blocking `pub.dev`, or security software is blocking internet access from `dart`. -{:.console-output} ```plaintext Got socket error trying to find package ... at https://pub.dev. pub get failed (server unavailable) -- attempting retry 1 in 1 second... diff --git a/src/tools/sdk.md b/src/tools/sdk.md index bd433750d8..e5d07017f7 100644 --- a/src/tools/sdk.md +++ b/src/tools/sdk.md @@ -14,7 +14,7 @@ the [Dart tools](/tools) page. :::version-note This site's documentation and examples use {% if site.sdkInfo.channel == 'dev' %} the **dev channel** {% endif -%} -version [{{site.sdkInfo.version}}][site SDK version]{:.no-automatic-external} +version [{{site.sdkInfo.version}}][site SDK version] of the **Dart SDK**. ::: diff --git a/src/web/debugging.md b/src/web/debugging.md index 7c800e6b9d..79b2ba1bd8 100644 --- a/src/web/debugging.md +++ b/src/web/debugging.md @@ -111,7 +111,7 @@ but you'll need to adjust the instructions to match your app. 1. If your app isn't already running, open it in a Chrome browser window.
For example, if you use `webdev serve --debug-extension` with no arguments, - open [http://127.0.0.1:8080](http://http://127.0.0.1:8080){: .no-automatic-external}. + open [http://127.0.0.1:8080](http://http://127.0.0.1:8080). 1. Open Dart DevTools to debug the app that's running in the current window.