From b08a8f2e8c021217cdbb5695c0126bc47e0c9699 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Sun, 1 May 2022 04:11:52 +1000 Subject: [PATCH] ISSUE_TEMPLATE: add templates (#7743) --- .github/ISSUE_TEMPLATE.md | 15 -------- .github/ISSUE_TEMPLATE/config.yml | 8 +++++ .github/ISSUE_TEMPLATE/page-request.yml | 40 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/page-translation.yml | 40 +++++++++++++++++++++ 4 files changed, 88 insertions(+), 15 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/page-request.yml create mode 100644 .github/ISSUE_TEMPLATE/page-translation.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b29fdd407e..0000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..486d07ad63 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Gitter chat + url: https://gitter.im/tldr-pages/tldr + about: You can ask and answer questions here + - name: Matrix Space + url: https://matrix.to/#/#tldr-pages:matrix.org + about: Matrix view of our Gitter chat rooms diff --git a/.github/ISSUE_TEMPLATE/page-request.yml b/.github/ISSUE_TEMPLATE/page-request.yml new file mode 100644 index 0000000000..a060898369 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/page-request.yml @@ -0,0 +1,40 @@ +name: 📄 Page request +title: "page request: " +description: Page request template. +labels: new command +body: + - type: textarea + attributes: + label: Command description + description: Describe a command you want to be summarized. + placeholder: Tell us what TLDR page you want to see! + validations: + required: true + - type: input + attributes: + label: Command details + description: Describe any details related to a command. + placeholder: e.g. command version + - type: dropdown + attributes: + label: OS + description: Select an operating system category which this command falls into. + multiple: false + options: + - Linux + - Android + - macOS + - Windows + - General + - Other + validations: + required: true + - type: input + attributes: + label: OS details + description: Describe any details related to an operating system. + placeholder: | + e.g. OS version obtained via: + `uname -a` for Linux + `sw_vers` for macOS + `ver` for Windows diff --git a/.github/ISSUE_TEMPLATE/page-translation.yml b/.github/ISSUE_TEMPLATE/page-translation.yml new file mode 100644 index 0000000000..4ed80be5e2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/page-translation.yml @@ -0,0 +1,40 @@ +name: 📄 Page translation request +title: "page translation: " +description: Page translation request template. +labels: new command, translation +body: + - type: textarea + attributes: + label: Command description + description: Describe a command you want to be translated. + placeholder: Tell us what TLDR page you want to see! + validations: + required: true + - type: input + attributes: + label: Command details + description: Describe any details related to a command. + placeholder: e.g. command version + - type: dropdown + attributes: + label: OS + description: Select an operating system category which this command falls into. + multiple: false + options: + - Linux + - Android + - macOS + - Windows + - General + - Other + validations: + required: true + - type: input + attributes: + label: OS details + description: Describe any details related to an operating system. + placeholder: | + e.g. OS version obtained via: + `uname -a` for Linux + `sw_vers` for macOS + `ver` for Windows