Skip to content

Commit

Permalink
fix(docs): use ..code to display file structure in "writing construct…
Browse files Browse the repository at this point in the history
…s" (#935)

Previously used backticks to indicate pre, but that doesn't work in rst, either viewing in Github file viewer or in the docs at https://awslabs.github.io/aws-cdk/writing-constructs.html. Switched to notation used in other files.
  • Loading branch information
cfedk authored and Elad Ben-Israel committed Oct 16, 2018
1 parent 27b26b1 commit b743362
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions docs/src/writing-constructs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,19 @@ Code Organization

Your package will roughly look like this:

```
your-package
├── package.json
├── README.md
├── lib
│   ├── index.ts
│   ├── some-resource.ts
│   └── some-other-resource.ts
└── test
   ├── integ.everything.lit.ts
   ├── test.some-resource.ts
   └── test.some-other-resource.ts

```
.. code::
your-package
├── package.json
├── README.md
├── lib
│   ├── index.ts
│   ├── some-resource.ts
│   └── some-other-resource.ts
└── test
  ├── integ.everything.lit.ts
   ├── test.some-resource.ts
   └── test.some-other-resource.ts
* Your package is named ``@aws-cdk/aws-xxx`` if it represents the canonical AWS
Construct Library for this service; otherwise we recommend starting with
Expand Down

0 comments on commit b743362

Please sign in to comment.