build(docs-infra): ensure that terminal code snippets render correctly (#41986)

After the changes to the `lang-none` styling in #41335, code snippets marked with

```
language="none" class="code-shell"
```

were being styled with the same foreground and background colours.

It turns out that most of these ought to be marked `language="sh"`
in which case the `code-shell` style became redundant and has been
removed.

Fixes #41984

PR Close #41986
This commit is contained in:
Pete Bacon Darwin
2021-05-07 11:28:39 +01:00
committed by Alex Rickabaugh
parent 4bc3cf216d
commit 3a48c0739d
30 changed files with 104 additions and 109 deletions
+3 -3
View File
@@ -7,16 +7,16 @@ Code coverage reports show you any parts of your code base that may not be prope
<div class="alert is-helpful">
For the sample app that the testing guides describe, see the <live-example name="testing" embedded-style noDownload>sample app</live-example>.
For the sample app that the testing guides describe, see the <live-example name="testing" embedded-style noDownload>sample app</live-example>.
For the tests features in the testing guides, see <live-example name="testing" stackblitz="specs" noDownload>tests</live-example>.
For the tests features in the testing guides, see <live-example name="testing" stackblitz="specs" noDownload>tests</live-example>.
</div>
To generate a coverage report run the following command in the root of your project.
<code-example language="sh" class="code-shell">
<code-example language="sh">
ng test --no-watch --code-coverage
</code-example>