Skip to content

Commit

Permalink
chore: initial documentation (#5)
Browse files Browse the repository at this point in the history
* Add templates for bug report, documentation and feature request

* add code of conduct, update repo stability, and gitignore for macOS users

* add dev and design guidelines, contribution, readme and changelog

* update branch name for main
  • Loading branch information
krokoko authored Sep 25, 2023
1 parent b38733c commit 2fb61f6
Show file tree
Hide file tree
Showing 12 changed files with 580 additions and 32 deletions.
146 changes: 146 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
---
name: "🐛 Bug Report"
description: Report a bug
title: "(module name): (short issue description)"
labels: [bug, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: What is the problem? A clear and concise description of the bug.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: |
What did you expect to happen?
validations:
required: true
- type: textarea
id: current
attributes:
label: Current Behavior
description: |
What actually happened?
Please include full errors, uncaught exceptions, stack traces, and relevant logs.
If service responses are relevant, please include wire logs.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction Steps
description: |
Provide a self-contained, concise snippet of code that can be used to reproduce the issue.
For more complex issues provide a repo with the smallest sample that reproduces the bug.
Avoid including business logic or unrelated code, it makes diagnosis more difficult.
The code sample should be an SSCCE. See http://sscce.org/ for details. In short, please provide a code sample that we can copy/paste, run and reproduce.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Possible Solution
description: |
Suggest a fix/reason for the bug
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Information/Context
description: |
Anything else that might be relevant for troubleshooting this bug. Providing context helps us come up with a solution that is most useful in the real world.
validations:
required: false

- type: input
id: cdk-version
attributes:
label: CDK CLI Version
description: Output of `cdk version`
validations:
required: true

- type: input
id: framework-version
attributes:
label: Framework Version
validations:
required: false

- type: input
id: node-version
attributes:
label: Node.js Version
validations:
required: true

- type: input
id: operating-system
attributes:
label: OS
validations:
required: true

- type: dropdown
id: language
attributes:
label: Language
multiple: true
options:
- Typescript
- Python
- .NET
- Java
- Go
validations:
required: true

- type: input
id: language-version
attributes:
label: Language Version
description: E.g. TypeScript (3.8.3) | Java (8) | Python (3.7.3)
validations:
required: false

- type: input
id: region
attributes:
label: Region experiencing the issue
description: For instance, us-east-1
validations:
required: true

- type: textarea
id: modified
attributes:
label: Code modification
description: |
Was the solution modified from the version published on this repository? If the answer to the previous question was yes, are the changes available on GitHub?
validations:
required: true

- type: textarea
id: other
attributes:
label: Other information
description: |
e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, slack, etc
validations:
required: false

- type: checkboxes
attributes:
label: Service quota
description: Have you checked your [service quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the services this sample uses?
options:
- label: I have reviewed the service quotas for this construct
required: true
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: "📕 Documentation Issue"
description: Report an issue in the API Reference documentation or Developer Guide
title: "(module name): (short issue description)"
labels: [documentation, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the issue
description: A clear and concise description of the issue.
validations:
required: true

- type: textarea
id: links
attributes:
label: Links
description: |
Include links to affected documentation page(s).
validations:
required: true
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: 🚀 Feature Request
description: Suggest an idea for this project
title: "(module name): (short issue description)"
labels: [feature-request, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the feature
description: A clear and concise description of the feature you are proposing.
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Use Case
description: |
Why do you need this feature? For example: "I'm always frustrated when..."
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: |
Suggest how to implement the addition or change. Please include prototype/workaround/sketch/reference implementation.
validations:
required: false
- type: textarea
id: other
attributes:
label: Other Information
description: |
Any alternative solutions or features you considered, a more detailed explanation, stack traces, related issues, links for context, etc.
validations:
required: false
- type: checkboxes
id: ack
attributes:
label: Acknowledgements
options:
- label: I may be able to implement this feature request
required: false
- label: This feature might incur a breaking change
required: false
1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
docgen: false,
licensed: true,
license: 'Apache-2.0',
gitignore: ['*.DS_STORE'],
stability: 'experimental',
});
project.synth();
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CDK Emerging Tech Constructs V0.0.0 (2023-09-21)

Based on CDK library version 2.96.2

***
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7 changes: 5 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Code of Conduct
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
[email protected] with any additional questions or comments.

***
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Loading

0 comments on commit 2fb61f6

Please sign in to comment.