-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
297 changed files
with
24,890 additions
and
18,379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: Bug report | ||
description: Something is not working correctly. | ||
labels: "bug" | ||
|
||
body: | ||
- type: textarea | ||
attributes: | ||
label: Describe the bug | ||
description: >- | ||
A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: How to Reproduce | ||
description: Please provide steps to reproduce this bug. | ||
value: | | ||
<Paste your command-line here which cause the problem> | ||
``` | ||
$ git clone https://github.com/.../some_project | ||
$ cd some_project | ||
$ pip install -r requirements.txt | ||
$ cd docs | ||
$ make html SPHINXOPTS="-D language=de" | ||
$ # open _build/html/index and see bla bla | ||
``` | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: >- | ||
A clear and concise description of what you expected to happen. | ||
- type: input | ||
attributes: | ||
label: Your project | ||
description: >- | ||
Link to your sphinx project, or attach zipped small project sample. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: >- | ||
If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: false | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
## Environment info | ||
- type: input | ||
attributes: | ||
label: OS | ||
description: >- | ||
[e.g. Unix/Linux/Mac/Win/other with version] | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Python version | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Sphinx version | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Sphinx extensions | ||
description: >- | ||
[e.g. sphinx.ext.autodoc, recommonmark] | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Extra tools | ||
description: >- | ||
[e.g. Browser, tex or something else] | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: >- | ||
Add any other context about the problem here. | ||
[e.g. URL or Ticket] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Lock old threads' | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@v2 | ||
with: | ||
github-token: ${{ github.token }} | ||
issue-lock-inactive-days: '30' | ||
pr-lock-inactive-days: '30' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Sync translations on repository and transifex.com | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * SUN" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
push: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 4.x | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
- name: Install dependencies | ||
run: pip install -U babel jinja2 transifex-client | ||
- name: Extract translations from source code | ||
run: python setup.py extract_messages | ||
- name: Push translations to transifex.com | ||
run: cd sphinx/locale && tx push -s --no-interactive --parallel | ||
env: | ||
TX_TOKEN: ${{ secrets.TX_TOKEN }} | ||
|
||
pull: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 4.x | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
- name: Install dependencies | ||
run: pip install -U babel jinja2 transifex-client | ||
- name: Extract translations from source code | ||
run: python setup.py extract_messages | ||
- name: Pull translations to transifex.com | ||
run: cd sphinx/locale && tx pull -a -f --no-interactive --parallel | ||
env: | ||
TX_TOKEN: ${{ secrets.TX_TOKEN }} | ||
- name: Compile message catalogs | ||
run: python setup.py compile_catalog | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: 'Update message catalogs' | ||
branch: bot/pull-translations | ||
title: Update message catalogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.