doc: improve issue forms. (#1448)

This commit is contained in:
Ludovic Fernandez 2021-07-02 01:10:50 +02:00 committed by GitHub
parent 43779d7533
commit 505f6d548f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 7 deletions

View file

@ -30,12 +30,26 @@ body:
validations: validations:
required: true required: true
- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true
- type: textarea - type: textarea
id: steps id: steps
attributes: attributes:
label: Reproduction steps label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step." description: "How do you trigger this bug? Please walk us through it step by step."
value: | placeholder: |
1. ... 1. ...
2. ... 2. ...
3. ... 3. ...
@ -47,15 +61,12 @@ body:
id: version id: version
attributes: attributes:
label: Version of lego label: Version of lego
value: |- description: |-
<details>
```console ```console
$ lego --version $ lego --version
# paste output here
``` ```
placeholder: Paste output here
</details> render: console
validations: validations:
required: true required: true
@ -73,3 +84,19 @@ body:
</details> </details>
validations: validations:
required: true required: true
- type: textarea
id: go-env
attributes:
label: Go environment (if applicable)
value: |-
<details>
```console
$ go version && go env
# paste output here
```
</details>
validations:
required: false

View file

@ -9,6 +9,20 @@ body:
- label: Yes, I've searched similar issues on GitHub and didn't find any. - label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true required: true
- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true
- type: textarea - type: textarea
id: description id: description
attributes: attributes:

View file

@ -19,6 +19,20 @@ body:
- label: Yes, I'm able to test an implementation if someone creates a pull request to add the support of this DNS provider. - label: Yes, I'm able to test an implementation if someone creates a pull request to add the support of this DNS provider.
required: false required: false
- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true
- type: input - type: input
id: provider-link id: provider-link
attributes: attributes: