-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cdk-lint): add linting to README.md files (#11708)
Consistent heading structure in the `README.md` files is necessary in order to ensure consistent rendering in the Python documentation, as the rendering of the TOC tree is dependent on heading levels. The best experience is achieved by having all `README.md` files start with a `H1` heading, and subsequently contain only `H2` and deeper headings. It is also important that no heading level is skipped (i.e: a `H4` "nested" in a `H2`). This adds a `cdk-lint` stage that executes `markdownlint` on the `README.md` files, with a configuration that is crafted specifically to maximize compatibility with most Markdown parsers, and to ensure correct rendering in the Python docs. Many of these offenses can be automatically fixed by running `cdk-lint --fix` or `yarn lint --fix`, however some cannot be automatically fixed by the tool and will require human intervention. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
0b0abe4
commit 2b1160f
Showing
206 changed files
with
2,187 additions
and
1,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
## Alexa Skills Kit Construct Library | ||
# Alexa Skills Kit Construct Library | ||
<!--BEGIN STABILITY BANNER--> | ||
|
||
--- | ||
|
||
![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge) | ||
|
||
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use. | ||
> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use. | ||
> | ||
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib | ||
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge) | ||
|
||
> The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package. | ||
> The APIs of higher level constructs in this module are experimental and under active development. | ||
> They are subject to non-backward compatible changes or removal in any future version. These are | ||
> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be | ||
> announced in the release notes. This means that while you may use them, you may need to update | ||
> your source code when upgrading to a newer version of this package. | ||
--- | ||
|
||
<!--END STABILITY BANNER--> | ||
|
||
```ts | ||
import * as alexaAsk from '@aws-cdk/alexa-ask'; | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
## AWS CDK Assets | ||
# AWS CDK Assets | ||
<!--BEGIN STABILITY BANNER--> | ||
|
||
--- | ||
|
||
![Deprecated](https://img.shields.io/badge/deprecated-critical.svg?style=for-the-badge) | ||
|
||
> This API may emit warnings. Backward compatibility is not guaranteed. | ||
--- | ||
|
||
<!--END STABILITY BANNER--> | ||
|
||
All types moved to @aws-cdk/core. | ||
All types moved to @aws-cdk/core. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.