Skip to content

Commit

Permalink
docs(core): fix shell formatting which got broken due to style update
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr committed Aug 4, 2023
1 parent 232a2d4 commit bb76d01
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/shared/core-features/enforce-module-boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ With these constraints in place, `scope:client` projects can only depend on proj

Projects without any tags cannot depend on any other projects. If you try to violate the constraints, you will get an error when linting:

```shell
```plaintext
A project tagged with "scope:admin" can only depend on projects
tagged with "scoped:shared" or "scope:admin".
```
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/core-tutorial/02-create-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func main() {

`packages/cli/src/cow.txt`:

```shell
```plaintext
_____
< moo >
-----
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/core-tutorial/03-share-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then move `cow.txt` out of the `cli` project to:

`packages/ascii/assets/cow.txt`:

```shell
```plaintext
_____
< moo >
-----
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/core-tutorial/04-build-affected-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ git checkout .

Update `packages/ascii/assets/cow.txt`:

```shell
```plaintext
_____
< Hi! >
-----
Expand Down
7 changes: 3 additions & 4 deletions docs/shared/core-tutorial/05-auto-detect-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,10 @@ console.log(

Now if you run `nx serve cow`, you'll see this:

```shell
$ node index.js
______________________________________________________
```shell {% command="node index.js" %}
______________________________________________________
< Welcome to the Restaurant at the End of the Universe >
------------------------------------------------------
------------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/monorepo-nx-enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Since Nx allows us to group apps and libs in directories, those directories can
why the structure of an Nx workspace often reflects the structure of an organization. GitHub users can use
the `CODEOWNERS` file for that.

```shell
```plaintext
/libs/happynrwlapp julie-happynrwlapp-lead
/apps/happynrwlapp julie-happynrwlapp-lead
/libs/shared/ui hank-the-ui-guy
Expand Down

1 comment on commit bb76d01

@vercel
Copy link

@vercel vercel bot commented on bb76d01 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.