Commit Graph
67 Commits
Author SHA1 Message Date
Takeshi KOMIYA 1b4265da4d Update Underscore.js to 1.12.0 2021-01-23 16:41:59 +09:00
Takeshi KOMIYA f996859420 A happy new year!
.. note::

   $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \;
   $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
2021-01-01 13:40:48 +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 eb29926441 Fix #7696: html: Updated jQuery version from 3.4.1 to 3.5.1 2020-05-22 00:59:17 +09:00
Septatrix f655835338 Fix tests 2020-03-14 19:46:37 +01:00
Septatrix 44fbd39ab2 Fix checking wrong highlighter 2020-03-14 18:49:25 +01:00
Septatrix 81fe5f8477 Remove html_pygments_dark_style option 2020-03-14 18:46:02 +01:00
Takeshi KOMIYA bdd08b1516 test: encoding="utf-8" is no longer needed on reading text 2020-02-01 12:25:49 +09:00
Takeshi KOMIYA 4dd8b1022f test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
Takeshi KOMIYA eaf495c3c4 A happy new year! 2020-01-01 14:27:43 +09:00
Takeshi KOMIYA d9d8ba5e7f Fix #6606: Update jQuery to 3.4.1 2019-08-02 01:53:32 +09:00
Omer Katz e08e7b05d3 Add a label to search input for accessability purposes. 2019-05-12 17:09:18 +09:00
Takeshi KOMIYA 76e9f57c2e Merge branch '1.8' 2019-01-02 16:16:25 +09:00
Takeshi KOMIYA 1b1ebd2c75 A happy new year! 2019-01-02 16:00:30 +09:00
Jon Dufresne bade33c7e4 Remove unnecessary encoding cookie from Python source files
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:

https://docs.python.org/3/howto/unicode.html#the-string-type

> The default encoding for Python source code is UTF-8, so you can
> simply include a Unicode character in a string literal ...

Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
2018-12-16 12:22:12 -08:00
Antony Lee 732ebb5d1e Capitalization: "Table Of Contents" -> "Table of Contents".
This is consistent with "Complete Table of Contents" (which is already
in the database), as well as e.g. "Indices and Tables" where "and" is
not capitalized.

This is also fairly standard title-case practice.
2018-07-22 12:12:48 +02:00
Takeshi KOMIYA 87ddb6c68f Fix broken testcase by alabaster-0.711 2018-06-19 22:55:05 +09:00
Takeshi KOMIYA 8b8c3d1736 Merge branch 'stable' into 1.7-release 2018-01-20 02:22:35 +09:00
Takeshi KOMIYA 357fba4467 Fix #4412: Updated jQuery version from 3.1.0 to 3.2.1 2018-01-19 14:45:11 +09:00
Takeshi KOMIYA f1f6ca8cc9 Merge branch 'happy_new_year' into master 2018-01-01 01:09:17 +09:00
Takeshi KOMIYA 2426cedb8b A happy new year! 2018-01-01 01:06:58 +09:00
Takeshi KOMIYA 5bc5b8f013 Merge branch 'stable' 2017-12-16 00:53:55 +09:00
Takeshi KOMIYA a8ab1f164b diet test-root: Move testtheme to test-theming 2017-12-15 02:35:32 +09:00
Takeshi KOMIYA 60f3968ef7 diet test-root: Move ziptheme to test-theming 2017-12-15 02:35:32 +09:00
Takeshi KOMIYA b78f3090a0 HTML themes can set up default sidebars through `theme.conf` 2017-10-22 15:14:02 +09:00
daniel aecb008213 Changed test case "test_theme_api" to check, if a not needed html_theme_option is not part of the returned, final configuration of theme.get_options().
PR #3893
2017-06-26 09:18:46 +02:00
Takeshi KOMIYA e24779b1cc Drop old methods 2017-04-21 00:09:50 +09:00
Takeshi KOMIYA ca7bb5140e Refactored again 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA faefe2b5a5 Add HTMLThemeFactory class 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA b405c0aaf5 Refactor sphinx.theming 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA f1b387bdcf Fix fail to load template file if the parent template is archived 2017-04-18 23:22:03 +09:00
Takeshi KOMIYA c57e47e042 Year++ 2017-03-26 11:49:34 +09:00
Takeshi KOMIYA cf2061dfad Fix flake8 violations 2017-01-26 01:13:17 +09:00
shimizukawa baaef9146d pytest: remove deprecated with_app decorator functions 2017-01-06 01:14:47 +09:00
shimizukawa f962ad67d2 pytest: remove deprecated raises and raises_msg assert functions 2017-01-06 00:46:42 +09:00
shimizukawa 5b7d237db3 pytest migration 2017-01-04 00:59:30 +09:00
shimizukawa 487f3db5f6 To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09:00
Yoshiki Shibukawa b600eb64b0 fix #2352 (qthelp builder should have ) and improve qthelp readability
by using new ``nonav`` theme.
2016-07-13 22:56:58 +09:00
Yoshiki Shibukawa 3cbd84346e Fix #2634 (Update jquery to latest from 1.x) 2016-07-13 14:58:52 +09:00
Georg Brandl 46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
shimizukawa 9d0ce7a6c1 Fixes #1884: plug-in html themes cannot inherit another plug-in theme
Closes #1885: A part of code for this fix is from pull requeest #1885.
refs #1794
2015-11-22 00:13:42 +09:00
shimizukawa e8e5bae15f remove test that is not works correctly on travis.ci (+1 squashed commits) 2015-03-15 02:18:00 +09:00
shimizukawa 6b7a2c8b6a refs #1777: fix testing. first time testing always failed it means testing on travis.ci will never be succeeded. 2015-03-15 01:13:57 +09:00
shimizukawa 1628eebfb5 refs #1777: add test for loading theme plugins 2015-03-15 00:47:43 +09:00
shimizukawa 06944af540 refs #1346, fix missing test requires, fix tests (need html_theme='classic') 2015-02-24 01:20:05 +09:00
Georg Brandl a23903d8d5 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Georg Brandl 567d52f199 all: update copyright 2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa ab91342bb1 fix testing for jQuery-1.11.1 2014-10-09 00:56:26 +09:00
Georg Brandl b335e03b02 Speed up test_theming using a minimal project. 2014-09-21 18:37:44 +02:00
Georg Brandl d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00