Commit Graph

13349 Commits

Author SHA1 Message Date
Takeshi KOMIYA
2f97b86bfd
Merge pull request #6528 from ViktorHaag/last_updated-time-always-utc-iss6527
Force last update datetime value to always be UTC
2019-06-29 09:53:20 +09:00
Viktor Haag
116d3fba11 Force last update datetime value to always be UTC
- If SOURCE_DATE_EPOCH is set in the environment, then the build date will use
  UTC as the timezone.

- If it's not set in the environment, we should do the same thing and use UTC
  as the timezone for the build date.

- `datetime.now()` produces a naive system-time datetime object; `datetime.utcnow()`
  produces the aware, UTC-oriented datetime object.
2019-06-28 14:48:58 -04:00
Takeshi KOMIYA
bf45fc1dd2 Merge branch '2.1.3' into 2.0 2019-06-29 01:50:58 +09:00
Takeshi KOMIYA
f443fb5579
Merge pull request #6526 from tk0miya/mypy-0.711
Fix mypy violations (for mypy-0.711)
2019-06-29 01:50:37 +09:00
Takeshi KOMIYA
e7b1803a96 Fix mypy violations (for mypy-0.711) 2019-06-29 01:41:16 +09:00
Takeshi KOMIYA
f9e63d53d9 Update CHANGES for PR #6514 2019-06-29 00:14:26 +09:00
Takeshi KOMIYA
97c7b745a2
Merge pull request #6514 from thedrow/search-page-accessability
Add a label to search input for accessability purposes in search.html
2019-06-29 00:06:42 +09:00
Takeshi KOMIYA
dc377d799d
Merge pull request #6519 from tk0miya/6517_passthrough_templatedir_to_separateoption
Fix #6517: apidoc: user_template_dir is not passed when it recurses
2019-06-28 23:54:22 +09:00
Omer Katz
16398972e1 Add a label to search input for accessability purposes. 2019-06-23 11:33:15 +03:00
Takeshi KOMIYA
c23f253b9f Fix #6517: apidoc: user_template_dir is not passed when it recurses 2019-06-22 19:41:49 +09:00
Takeshi KOMIYA
64ca455c23
Merge pull request #6508 from tk0miya/refactor_autosummary3
Fix #6507: autosummary: crashes without no autosummary_generate setting
2019-06-22 02:00:18 +09:00
Takeshi KOMIYA
e7644547e7
Merge branch '2.0' into refactor_autosummary3 2019-06-22 01:34:47 +09:00
Takeshi KOMIYA
0595adce03
Merge pull request #6506 from tk0miya/6498_crashed_with_wrong_autosummary_generate
Fix #6498: autosummary: crashed with wrong autosummary_generate setting
2019-06-22 01:32:44 +09:00
Takeshi KOMIYA
fd5b3c47b6 Merge branch '2.1.3' into 2.0 2019-06-21 11:36:58 +09:00
Takeshi KOMIYA
bd09f009bf
Merge pull request #6515 from tk0miya/mypy-0.710
Fix mypy violations (for mypy-0.710)
2019-06-21 11:33:11 +09:00
Takeshi KOMIYA
224d247ca0 Fix mypy violations (for mypy-0.710) 2019-06-21 11:07:27 +09:00
Takeshi KOMIYA
f21b5b1627 Merge branch '2.1.3' into 2.0 2019-06-19 20:36:26 +09:00
Takeshi KOMIYA
6595f65b0e Bump version 2019-06-19 20:34:10 +09:00
Takeshi KOMIYA
39563d1b29 Bump to 2.1.2 final 2019-06-19 20:31:54 +09:00
Jon Dufresne
131c93caf5 Remove "universal" configuration from setup.cfg
Sphinx is Python-3-only and therefore is not a universal wheel. It
should still distribute a 'py3' wheel, just not a universal one.

From https://wheel.readthedocs.io/en/stable/user_guide.html

> If your project contains no C extensions and is expected to work on
> both Python 2 and 3, you will want to tell wheel to produce universal
> wheels by adding this to your setup.cfg file: …

As Sphinx doesn't work on Python 2, it should not be universal.

Refs #6470
2019-06-19 20:31:54 +09:00
Takeshi KOMIYA
2709cd3cd1 Update CHANGES for PR #6482 2019-06-19 20:30:03 +09:00
Takeshi KOMIYA
1aa1373ce3 Fix #6498: autosummary: crashed with wrong autosummary_generate setting 2019-06-19 14:03:42 +09:00
Takeshi KOMIYA
673922b055
Merge pull request #6509 from tk0miya/refactor_autosummary4
Suppress deprecation warning for autosummary
2019-06-19 13:54:47 +09:00
Takeshi KOMIYA
ab38b2dd8e Fix #6507: autosummary: crashes without no autosummary_generate setting 2019-06-19 13:51:38 +09:00
Takeshi KOMIYA
efc0c19142
Merge pull request #6449 from tk0miya/6444_non_existing_urls
Fix #6444: test: replace example.com by existing page
2019-06-19 11:19:23 +09:00
Takeshi KOMIYA
a6a38c803f Suppress deprecation warning for autosummary 2019-06-19 01:58:16 +09:00
Takeshi KOMIYA
982f63e4a2
Merge pull request #6482 from ViktorHaag/object-descr-setting-class-type-map-iss6478
Explicitly treat ObjectDescription._doc_field_type_map as an instance variable
2019-06-18 23:04:42 +09:00
Viktor Haag
e9ee39d655 repair white space 2019-06-18 09:37:52 -04:00
Viktor Haag
6a054355d9 Simplify to ensure we're lazily setting the instance field-type-map variable
- We can more simply have ObjectDescription.get_field_type_map() make sure that
  it's going to lazily set the value of an instance variable, not the class
  variable, when it populates the field type map.
2019-06-18 09:22:25 -04:00
Takeshi KOMIYA
c78018cda7
Merge pull request #6492 from tk0miya/5602_apidoc_templating
Close #5602: apidoc: Add ``--templatedir`` option
2019-06-18 22:01:59 +09:00
Takeshi KOMIYA
0b06e3317f refactor: Separate generate_autosummary_content() from generate_autosummary_docs() 2019-06-18 21:47:23 +09:00
Takeshi KOMIYA
45027677d1
Merge branch '2.0' into 5602_apidoc_templating 2019-06-18 21:42:11 +09:00
Takeshi KOMIYA
aeb9401c20
Merge pull request #6500 from tk0miya/1464_warning_html_static_path_inside_outdir
Close #1464: html: warn html_static_path is inside outdir
2019-06-18 21:39:07 +09:00
Takeshi KOMIYA
288bf231e6
Merge pull request #6501 from tk0miya/6499_html_logo_never_updated
Fix #6499: html: Sphinx never updates a copy of html_logo
2019-06-18 21:38:12 +09:00
Takeshi KOMIYA
be0856190f
Merge pull request #6502 from tk0miya/6497_custom_lexers_fails_highlighting
Fix #6497: custom lexers fails highlighting when syntax error
2019-06-18 21:36:36 +09:00
Takeshi KOMIYA
2119a65b86 Fix #6497: custom lexers fails highlighting when syntax error 2019-06-18 01:43:14 +09:00
Takeshi KOMIYA
83c59bba6d Fix #6499: html: Sphinx never updates a copy of html_logo 2019-06-18 01:27:44 +09:00
Takeshi KOMIYA
d8208d406a Close #1464: html: warn html_static_path is inside outdir 2019-06-18 01:21:08 +09:00
Takeshi KOMIYA
3047bd211f
Merge pull request #6496 from tk0miya/refactor_html_builder2
Refactor html builder: validate config values on config-inited event
2019-06-18 01:20:12 +09:00
Takeshi KOMIYA
fe0f83daf8 validate html_favicon on config-inited 2019-06-17 22:42:45 +09:00
Takeshi KOMIYA
dd8ae7e2ed validate html_logo on config-inited 2019-06-17 22:42:45 +09:00
Takeshi KOMIYA
eb9bd50d68 validate html_extra_path on config-inited 2019-06-17 22:30:43 +09:00
Takeshi KOMIYA
9bef665cb8 validate html_static_path on config-inited 2019-06-17 22:30:43 +09:00
Takeshi KOMIYA
9314e5c38c
Merge pull request #6493 from tk0miya/test_cmdoption
Add testcase for option directive
2019-06-16 16:51:05 +09:00
Takeshi KOMIYA
09610fb77e Add testcase for option directive 2019-06-16 16:37:02 +09:00
Takeshi KOMIYA
a0b4d09b1b Close #5602: apidoc: Add `--templatedir` option 2019-06-16 13:39:21 +09:00
Takeshi KOMIYA
301d0d6060 apidoc: template files are renamed to `.rst_t` 2019-06-16 13:17:51 +09:00
Takeshi KOMIYA
564d23be7a
Merge pull request #6467 from tk0miya/refactor_math
refactor: Add data accessors to MathDomain
2019-06-15 23:48:57 +09:00
Takeshi KOMIYA
d2f0c83568
Merge pull request #6433 from tk0miya/refactor_todo2
refactor todo extension with Domain
2019-06-15 23:12:03 +09:00
Takeshi KOMIYA
9b0f415e21 refactor: Add data accessors to MathDomain 2019-06-15 23:05:45 +09:00