Takeshi KOMIYA
502c4ee5fb
Merge branch '3.x'
2021-01-24 14:32:13 +09:00
Guillaume Melquiond
ffacb2ca18
Add testcase.
2021-01-23 08:57:36 +01:00
Takeshi KOMIYA
30f8640bab
Merge branch '3.x'
2021-01-16 21:51:46 +09:00
Takeshi KOMIYA
12ec8f0cae
Fix #8651 : cross-reference for a rubric having inline item is broken
...
The implementation of the standard domain so far has considered the
first child of the rubric node is the title of the rubric. But it can
may multiple nodes when the rubric title is marked up.
This extracts the title of the rubric from the whole of the children
of it.
2021-01-11 22:50:45 +09:00
Takeshi KOMIYA
4b452338f9
Merge branch '3.x'
2021-01-01 13:57:19 +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
Takeshi KOMIYA
2c98e909bf
Merge branch '3.x'
2020-12-14 02:02:29 +09:00
Takeshi KOMIYA
6d24579f40
Fix #8352 : std domain: Failed to parse an option that starts with bracket
2020-11-29 02:22:40 +09:00
Takeshi KOMIYA
3a4ae2092a
Merge branch '3.x'
2020-11-21 01:01:36 +09:00
Takeshi KOMIYA
21a3bd4127
refactor: Fix flake8 violations under tests/ directory
2020-11-15 17:15:40 +09:00
Takeshi KOMIYA
279e547860
Merge branch '3.x'
2020-11-12 02:50:43 +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
2c7d64b94c
Merge branch '3.x'
2020-04-19 23:45:57 +09:00
Takeshi KOMIYA
4577f6856c
Fix #7418 : std domain: term role role could not match case-insensitively
2020-04-18 23:48:49 +09:00
Takeshi KOMIYA
1aca70cf80
Merge branch '3.x'
2020-04-13 23:36:49 +09:00
Takeshi KOMIYA
a5dadeb890
Fix #7418 : std domain: duplication warning for glossary terms is case insensitive
2020-04-09 01:56:13 +09:00
Takeshi KOMIYA
4860b451f2
Merge branch '3.x'
2020-04-06 00:23:29 +09:00
Takeshi KOMIYA
7aa5584a47
Fix #7301 : capital characters are not allowed for node_id
2020-03-29 23:55:56 +09:00
Takeshi KOMIYA
8da576cce0
Fix #6477 : Escape first "!" in a cross reference linking no longer possible
2020-03-28 18:54:10 +09:00
Takeshi KOMIYA
3e0618ba3a
Deprecate codes for docutils-0.13 or 0.14
2020-03-07 19:36:41 +09:00
Takeshi KOMIYA
c0535d700e
std domain: Generate node_id for productionlists in the right way
2020-03-06 02:10:04 +09:00
Takeshi KOMIYA
de52e77bc0
refactor: Set source_info to nodes
2020-02-29 17:00:58 +09:00
Takeshi KOMIYA
4dd8b1022f
test: Use read_text() and read_bytes()
2020-02-01 11:58:51 +09:00
Jakob Lykke Andersen
9fa23615ec
Fixes from review
2020-01-25 17:02:59 +01:00
Jakob Lykke Andersen
bcbb167b0d
Add backslash line continuation to productionlist
...
Fixes sphinx-doc/sphinx#1027
2020-01-22 22:51:22 +01:00
Jakob Lykke Andersen
c084c3f124
Implement scoping for productionlist
...
Fixes sphinx-doc/sphinx#3077
2020-01-22 22:32:30 +01:00
Takeshi KOMIYA
af2a3c0dde
Merge branch '2.0'
2020-01-08 01:37:53 +09:00
Takeshi KOMIYA
7123f4038a
Fix #6559 : Wrong node-ids are generated in glossary directive
2020-01-02 22:03:39 +09:00
Takeshi KOMIYA
0319faf8f1
Merge branch '2.0'
2020-01-01 14:40:39 +09:00
Takeshi KOMIYA
eaf495c3c4
A happy new year!
2020-01-01 14:27:43 +09:00
Takeshi KOMIYA
c358e04b09
Close #6558 : glossary: emit a warning for duplicated glossary entry
2019-12-29 22:31:36 +09:00
Takeshi KOMIYA
b56390644d
Fix #6561 : glossary: Wrong hyperlinks are generated for non alphanumeric terms
2019-07-09 00:13:21 +09:00
Takeshi KOMIYA
99d9a6f123
Close #5592 : option directive registers an index entry for each comma separated option
2019-06-16 18:58:34 +09:00
Takeshi KOMIYA
09610fb77e
Add testcase for option directive
2019-06-16 16:37:02 +09:00
Takeshi KOMIYA
f91393f9ef
Fix commented term in glossary directive is wrongly recognized
2019-04-06 15:08:22 +09:00
Takeshi KOMIYA
f585a4a5a8
Add testcase for glossary
2019-03-25 22:36:28 +09:00
Takeshi KOMIYA
c83f2a0272
Fix #6140 : Use unittest.mock instead of mock
2019-03-08 00:27:45 +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
Takeshi KOMIYA
18efa1a63a
refactor: Store enumerable_nodes to registry
2018-02-20 01:32:30 +09:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
58bb4a7714
Fix testcase
2017-04-30 00:55:11 +09:00
Takeshi KOMIYA
db377ceb55
Implement get_full_qualified_name() to StandardDomain (refs: #3630 )
2017-04-23 16:31:33 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
shimizukawa
487f3db5f6
To simplify, sphinx uses external mock package even if unittest.mock exists.
2016-10-15 16:22:27 +09:00
Takeshi KOMIYA
d5a770b592
std domain handles citations
2016-08-16 01:38:20 +09:00
Takeshi KOMIYA
9273140ee2
Override figure directive to apply :name: option to the figure itself
2016-02-14 14:49:20 +09:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00