Commit Graph

76 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
a122397b4b Merge branch '3.x' 2020-12-29 18:37:45 +09:00
Faris A Chugthai
2e5b3911fe Update PULL_REQUEST_TEMPLATE.md
The branch model URL doesn't seem to be at the development page anymore. Update the pull request template.
2020-12-21 22:51:49 -05:00
Takeshi KOMIYA
a00d62c445 Merge branch '3.x' 2020-11-22 16:04:07 +09:00
Takeshi KOMIYA
82382efe9d CI: Update deadsnake/action to 2.0.1
The "add-path" problem is fixed at 2.0.1.
refs: https://github.com/deadsnakes/issues/issues/135
2020-11-21 01:04:45 +09:00
Takeshi KOMIYA
3a4ae2092a Merge branch '3.x' 2020-11-21 01:01:36 +09:00
Takeshi KOMIYA
e09b234f7f test: Pass ACTIONS_ALLOW_UNSECURE_COMMANDS to deadsnake/action
The `add-path` command that deadsnake/action internally uses is
disabled by default now [*1].  But the action is still does not
support new style environment files commands [*2].  So this enables
the deprecated command via `ACTIONS_ALLOW_UNSECURE_COMMANDS` envvar.

[*1]: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
[*2]: https://github.com/deadsnakes/issues/issues/135
2020-11-17 23:39:54 +09:00
Takeshi KOMIYA
279e547860 Merge branch '3.x' 2020-11-12 02:50:43 +09:00
Takeshi KOMIYA
68cc0f7e94 Merge pull request #8408 from francoisfreitag/isort
Sort imports with isort
2020-11-12 02:05:13 +09:00
François Freitag
0949735210 Sort imports with isort
Keep imports alphabetically sorted and their order homogeneous across
Python source files.

The isort project has more feature and is more active than the
flake8-import-order plugin.

Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
2020-11-11 13:19:05 +01:00
Takeshi KOMIYA
5533724d74 Do test with Ubuntu 18.04
Sphinx-4.0 will drop support for Ubuntu 16.04.  So CI Platform should be
also updated to Ubuntu 18.04.
2020-11-10 23:32:57 +09:00
Takeshi KOMIYA
1254b80113 Merge branch '3.x' 2020-11-10 23:21:51 +09:00
Takeshi KOMIYA
a3c8768afd Do test with py310-dev again 2020-11-10 22:33:03 +09:00
Takeshi KOMIYA
bbcd471557 Merge branch '3.x' 2020-11-09 02:50:08 +09:00