Skip to content

Commit

Permalink
[documentation] hyperledger#2448 adds a spoiler to issue templates
Browse files Browse the repository at this point in the history
Signed-off-by: 6r1d <vic.6r1d@gmail.com>
  • Loading branch information
6r1d committed Jul 8, 2022
1 parent 1ad7362 commit 2d95e22
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
17 changes: 13 additions & 4 deletions .github/ISSUE_TEMPLATE/lts-bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,19 @@ body:
description: |
Please provide an output log in JSON format.
To configure a file path and level for logs, check the [reference documentation](https://github.com/hyperledger/iroha/blob/iroha2-dev/docs/source/references/config.md#logger) or [peer configuration](https://hyperledger.github.io/iroha-2-docs/guide/configure/peer-configuration.html#logger).
Note: it is helpful to have JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) enabled.
placeholder: |
```json
```
Notes:
* please leave JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) and [collapsed sections](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections) (`<details>` tag) enabled
* if the log indentation is broken, use the [js-beautify](https://beautifier.io/) service to format it.
value: |
<details>
<summary>Spoiler</summary>
```json
Replace this text with a JSON log,
so it doesn't grow too large and has highlighting.
```
</details>
validations:
required: true
- type: input
Expand Down
17 changes: 13 additions & 4 deletions .github/ISSUE_TEMPLATE/stable-bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,19 @@ body:
description: |
Please provide an output log in JSON format.
To configure a file path and level for logs, check the [reference documentation](https://github.com/hyperledger/iroha/blob/iroha2-dev/docs/source/references/config.md#logger) or [peer configuration](https://hyperledger.github.io/iroha-2-docs/guide/configure/peer-configuration.html#logger).
Note: it is helpful to have JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) enabled.
placeholder: |
```json
```
Notes:
* please leave JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) and [collapsed sections](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections) (`<details>` tag) enabled
* if the log indentation is broken, use the [js-beautify](https://beautifier.io/) service to format it.
value: |
<details>
<summary>Spoiler</summary>
```json
Replace this text with a JSON log,
so it doesn't grow too large and has highlighting.
```
</details>
validations:
required: true
- type: input
Expand Down

0 comments on commit 2d95e22

Please sign in to comment.