|
| 1 | +labels: [question] |
| 2 | +body: |
| 3 | + - type: markdown |
| 4 | + attributes: |
| 5 | + value: | |
| 6 | + Thanks for your interest in the project! 🚀 |
| 7 | +
|
| 8 | + Please follow these instructions, fill every question, and do every step. 🙏 |
| 9 | +
|
| 10 | + I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time. |
| 11 | +
|
| 12 | + I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions. |
| 13 | +
|
| 14 | + By asking questions in a structured way (following this) it will be much easier to help you. |
| 15 | +
|
| 16 | + And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎 |
| 17 | +
|
| 18 | + As there are too many questions, I'll have to discard and close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓 |
| 19 | + - type: checkboxes |
| 20 | + id: checks |
| 21 | + attributes: |
| 22 | + label: First Check |
| 23 | + description: Please confirm and check all the following options. |
| 24 | + options: |
| 25 | + - label: I added a very descriptive title here. |
| 26 | + required: true |
| 27 | + - label: I used the GitHub search to find a similar question and didn't find it. |
| 28 | + required: true |
| 29 | + - label: I already searched in Google "How to X with annotated-doc" and didn't find any information. |
| 30 | + required: true |
| 31 | + - label: I already read and followed all the tutorial in the docs and didn't find an answer. |
| 32 | + required: true |
| 33 | + - label: I already checked if it is not related to annotated-doc but to [FastAPI](https://github.com/fastapi/fastapi) or another specific project. |
| 34 | + required: true |
| 35 | + - type: textarea |
| 36 | + id: example |
| 37 | + attributes: |
| 38 | + label: Example Code |
| 39 | + description: | |
| 40 | + Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case. |
| 41 | +
|
| 42 | + If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you. |
| 43 | +
|
| 44 | + placeholder: | |
| 45 | + from typing import Annotated |
| 46 | +
|
| 47 | + from annotated_doc import Doc |
| 48 | +
|
| 49 | + def hi(name: Annotated[str, Doc("Who to say hi to")]) -> None: |
| 50 | + print(f"Hi!") |
| 51 | + render: python |
| 52 | + validations: |
| 53 | + required: true |
| 54 | + - type: textarea |
| 55 | + id: description |
| 56 | + attributes: |
| 57 | + label: Description |
| 58 | + description: | |
| 59 | + What is the problem, question, or error? |
| 60 | +
|
| 61 | + Write a short description telling me what you are doing, what you expect to happen, and what is currently happening. |
| 62 | + placeholder: | |
| 63 | + * Create a function with one parameter documented with annotated-doc. |
| 64 | + * Call the function with the parameter. |
| 65 | + * I expected the code to do what the docs say, but it doesn't unless I implement that code. |
| 66 | + validations: |
| 67 | + required: true |
| 68 | + - type: dropdown |
| 69 | + id: os |
| 70 | + attributes: |
| 71 | + label: Operating System |
| 72 | + description: What operating system are you on? |
| 73 | + multiple: true |
| 74 | + options: |
| 75 | + - Linux |
| 76 | + - Windows |
| 77 | + - macOS |
| 78 | + - Other |
| 79 | + validations: |
| 80 | + required: true |
| 81 | + - type: textarea |
| 82 | + id: os-details |
| 83 | + attributes: |
| 84 | + label: Operating System Details |
| 85 | + description: You can add more details about your operating system here, in particular if you chose "Other". |
| 86 | + - type: input |
| 87 | + id: version |
| 88 | + attributes: |
| 89 | + label: Version |
| 90 | + description: | |
| 91 | + What version are you using? |
| 92 | +
|
| 93 | + You can find the version with: |
| 94 | +
|
| 95 | + ```bash |
| 96 | + python -c "import annotated_doc; print(annotated_doc.__version__)" |
| 97 | + ``` |
| 98 | + validations: |
| 99 | + required: true |
| 100 | + - type: input |
| 101 | + id: python-version |
| 102 | + attributes: |
| 103 | + label: Python Version |
| 104 | + description: | |
| 105 | + What Python version are you using? |
| 106 | +
|
| 107 | + You can find the Python version with: |
| 108 | +
|
| 109 | + ```bash |
| 110 | + python --version |
| 111 | + ``` |
| 112 | + validations: |
| 113 | + required: true |
| 114 | + - type: textarea |
| 115 | + id: context |
| 116 | + attributes: |
| 117 | + label: Additional Context |
| 118 | + description: Add any additional context information or screenshots you think are useful. |
0 commit comments