Commit Graph

89 Commits

Author SHA1 Message Date
Adam Turner
b347657809 Use declarative metadata
- Move to pyproject.toml metadata
- Update references to `setup.py`
- Use pypa/build
- Update workflows and tooling
2022-09-13 10:31:27 +01:00
Alex
a9b4b19be5 Restrict permissions in GitHub workflows (#10790) 2022-08-28 15:59:06 +01:00
Adam Turner
1f21e973d4 Use released Docutils 0.19 on CI 2022-07-06 19:18:10 +01:00
Takeshi KOMIYA
5c22bd86ef CI: Update lock-threads to v3 2022-07-03 14:05:46 +09:00
Takeshi KOMIYA
6de301eaff Merge pull request #10630 from sphinx-doc/dependabot/github_actions/peter-evans/create-pull-request-4
Bump peter-evans/create-pull-request from 3 to 4
2022-07-03 13:44:04 +09:00
dependabot[bot]
0b9f96dfe1 Bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 04:27:11 +00:00
dependabot[bot]
9e0841fd89 Bump deadsnakes/action from 2.0.1 to 2.1.1
Bumps [deadsnakes/action](https://github.com/deadsnakes/action) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/deadsnakes/action/releases)
- [Commits](https://github.com/deadsnakes/action/compare/v2.0.1...v2.1.1)

---
updated-dependencies:
- dependency-name: deadsnakes/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 04:27:08 +00:00
Takeshi KOMIYA
d6bf2fdfb7 Merge pull request #10628 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-07-03 13:26:43 +09:00
naveen
a1f4e972fd chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-07-03 01:29:18 +00:00
neilnaveen
cf8d5357fc Set permissions for GitHub Actions (#10607) 2022-07-02 10:40:42 +01:00
Adam Turner
68bc916cf4 Test with Docutils 0.19 prereleases (#10598) 2022-06-25 22:15:30 +01:00
Adam Turner
6ab15a047c Update GitHub Actions versions (#10561) 2022-06-16 21:43:00 +01:00
Julien Palard
956cddb7d4 Replace doclinter with sphinx-lint (#10389)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-16 19:32:09 +01:00
Takeshi KOMIYA
3e20ee6846 CI: Separate coverage task from main.yml 2022-05-16 00:02:14 +09:00
Adam Turner
00324a566b CI: fix coverage job 2022-05-02 18:23:12 +01:00
Adam Turner
65ae948eca Split out coverage 2022-05-02 17:47:46 +01:00
Takeshi KOMIYA
b58a584236 Merge pull request #10164 from AA-Turner/bump-docutils
Bump Docutils dependency
2022-05-03 01:00:51 +09:00
Takeshi KOMIYA
cddf409762 CI: Fix "Sync translation" task
The last "Sync translation" task was failed by ModuleNotFoundError.  It
was raised because Sphinx was not installed on processing translations.

This installs it before processing.
2022-04-24 18:12:54 +09:00
Adam Turner
3420d15cb9 Bump Docutils dependency 2022-04-19 03:09:45 +01:00
Adam Turner
4b515076f6 Update transifex.yml 2022-04-16 21:12:18 +01:00
Takeshi KOMIYA
8939037c6b i18n: Change translation target branch from 4.x to 5.x 2022-04-03 00:34:55 +09:00
Takeshi KOMIYA
aa1bc83c2a Merge branch '4.x' 2022-03-19 22:58:15 +09:00
Hugo van Kemenade
4d83185f3f Only run cron in upstream 2022-03-02 17:50:07 +02:00
Takeshi KOMIYA
a10f733811 CI: Test with Windows Server 2019
In nearly days, `windows-latest` image on GHA was changed to Windows
Server 2022.  That causes build errors on building a cython script.

To avoid the problem, this pins the image for testing on GHA to Windows
Server 2019.
2022-02-05 22:04:32 +09:00
Takeshi KOMIYA
8b1ff8876b CI: Test with Windows Server 2019
In nearly days, `windows-latest` image on GHA was changed to Windows
Server 2022.  That causes build errors on building a cython script.

To avoid the problem, this pins the image for testing on GHA to Windows
Server 2019.
2022-02-05 21:48:43 +09:00
Adam Turner
3b01fbe2ad Drop JavaScript Frameworks (#10028)
* Delete jQuery and underscore.js

* Move underscores.js setup to searchtools.js

* Update jQuery.url(en|de)code

* Update jQuery.getQueryParameters

* Firefox bug is no longer present

xref https://bugzilla.mozilla.org/show_bug.cgi?id=645075#c49

* Update jQuery.fn.highlightText

* Use enum instead of magic number

* Update test descriptions to remove obsolete jQuery reference

* Update Documentation.getCurrentURL

* Revert accidental fix of Documentation.getCurrentURL

* Update Documentation.initOnKeyListeners

* Update Documentation.hideSearchWords

* Update Documentation.highlightSearchWords

* Update Documentation.initDomainIndexTable

* Use arrow functions and const

* Replace $(document).ready

* Strict mode

* Move Documentation.hideSearchWords next to Documentation.highlightSearchWords

* Update translation functions in Documentation

* Replace $(document).ready in searchtools.js

* Update Scorer

* Update Search.hasIndex, Search.deferQuery, Search.stopPulse

* Prefer window.location

* Update Search.init

* Update Search.loadIndex

* Update Search.setIndex

* Update Search.startPulse

* Add _escapeRegExp

* Update Search.makeSearchSummary

* Update Search.htmlToText

* Update Search.performSearch

* Factor out _displayNextItem

* Update Search.query

* Update Search.performObjectSearch

* Update Search.performTermsSearch

* Remove underscores.js setup

* Use Sets

* Update test configuration

* Fix test failures

* Drop unused make/get URL functions

* Strict mode in searchtools.js

* Remove outmoded check for jQuery and underscore.js

* Ran prettier

prettier --print-width 120 --no-semi --quote-props as-needed --no-bracket-spacing --arrow-parens avoid --write sphinx/themes/basic/static

* Remove more references to jQuery and underscore.js

* Remove jQuery and underscore.js licences

* Update classic theme for no jQuery

* Update all other themes for no jQuery

* Restore jQuery & underscores.js to Sphinx themes

Enables a more gradual deprecation

* Added deprecation note to CHANGES

* Run prettier with defaults

* Update deprecation message to include extensions, note that sources must be copied

* oops

* Address Pradyun's feedback

* Forgot this one

* `let` doesn't work, as it is scoped to the block...

* Remove missed jQuery in sphinx13 theme
2022-01-30 20:27:12 +01:00
Takeshi KOMIYA
17422d2227 Add i18n label to weekly transifex PR 2021-11-28 13:27:36 +09:00
Hugo van Kemenade
b1381742a1 "v*.*.*" is the tag format
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
2021-11-16 18:28:50 +02:00
Hugo van Kemenade
f8815ebfb0 Create GitHub release from tag 2021-11-12 10:30:29 +02:00
Takeshi KOMIYA
c39cf2e750 Fix CI: Downgrade python for transifex CI 2021-10-25 11:00:01 +09:00
Takeshi KOMIYA
71c1fb01b9 Fix CI: Downgrade python for transifex CI
The latest transifex-client could not be installed on python 3.10
environment.  This downgrade python to 3.9 to be install the latest one.

ref: https://github.com/transifex/transifex-client/pull/330
2021-10-25 09:31:43 +09:00
Takeshi KOMIYA
30d5aeef58 CI: Install the latest py package on testing with py3.11-dev 2021-10-09 14:30:37 +09:00
Takeshi KOMIYA
0f0b93df9e Merge pull request #9702 from tk0miya/test_with_docutils-latest
test: Do test with the HEAD of docutils
2021-10-09 13:57:37 +09:00
Takeshi KOMIYA
5a79bafe85 CI: Install unreleased "py" package for 3.11-dev 2021-10-09 13:00:48 +09:00
Takeshi KOMIYA
f13ad80207 Support Python 3.10 2021-10-07 02:34:44 +09:00
Takeshi KOMIYA
6fc96f412a test: Do test with the HEAD of docutils 2021-10-03 20:15:36 +09:00
Takayuki SHIMIZUKAWA
723069d42b fix issue template "How to Reproduce" doesn't render correctly
remove unnecesary help-text in "value" instead of "description"
2021-08-01 05:36:47 +09:00
Juan Luis Cano Rodríguez
03bf83365e Add mandatory GitHub token to lock workflow 2021-07-09 09:08:14 +02:00
Juan Luis Cano Rodríguez
f1d03d7114 Add bot to lock inactive closed issues and pull requests
Close #9237.
2021-07-07 15:33:59 +02:00
Takayuki SHIMIZUKAWA
996c5855bc Update and rename bug_report.yml to bug-report.yml 2021-07-06 22:47:03 +09:00
Takayuki SHIMIZUKAWA
748bdcc373 using new issue template feature in yaml configuration 2021-07-06 22:46:56 +09:00
Takeshi KOMIYA
08c65d4de2 i18n: Pull translations via GitHub Actions automatically 2021-05-09 18:20:41 +09:00
Takeshi KOMIYA
effedafabe i18n: Push translations via GitHub Actions automatically 2021-05-09 17:15:36 +09:00
Takeshi KOMIYA
35dda449c0 Revert "test: Disable testing with python3.10"
This reverts commit 8602e64214.
2021-05-01 01:17:56 +09:00
Takeshi KOMIYA
1978c4a0cb Support docutils-0.17 2021-04-22 01:38:31 +09:00
Takeshi KOMIYA
42a1bcf2c7 test: Skip test for py310-dev 2021-04-11 20:43:05 +09:00
Takeshi KOMIYA
8a5cb89714 Merge branch '3.x' 2021-04-11 20:30:40 +09:00
Takeshi KOMIYA
8602e64214 test: Disable testing with python3.10
pytest has crashed on testing with python 3.10.0a7. To avoid the error,
this disables testing with python3.10 for a while.
2021-04-11 19:49:28 +09:00
Takeshi KOMIYA
9a7ed23e44 test: docutils-0.13 is no longer supported. Skip using in CI 2021-04-11 12:44:51 +09:00
Takeshi KOMIYA
26d0bb641b test: Do test with docutils-0.17b1 2021-04-03 23:54:19 +09:00