From b7433622a5faf193aa37aa445c1912f6e77ddb95 Mon Sep 17 00:00:00 2001 From: cfedk Date: Tue, 16 Oct 2018 10:08:31 +0100 Subject: [PATCH] fix(docs): use ..code to display file structure in "writing constructs" (#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. --- docs/src/writing-constructs.rst | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/docs/src/writing-constructs.rst b/docs/src/writing-constructs.rst index f0da71dcdd82f..0f24b07226734 100644 --- a/docs/src/writing-constructs.rst +++ b/docs/src/writing-constructs.rst @@ -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