Takeshi KOMIYA
c4a45b4a01
Close #2155 : Support `code
` directive
2019-03-03 19:55:31 +09:00
Takeshi KOMIYA
bde9cab7fe
Add sphinx.testing.restructuredtext.parse()
2019-03-03 19:55:31 +09:00
Takeshi KOMIYA
c747257f77
Merge pull request #6120 from tk0miya/stop_deprecationwarning
...
Stop to access env.versionchanged because of deprecated
2019-03-02 18:56:28 +09:00
Takeshi KOMIYA
ac9e9c0745
Merge branch '1.8' into 2.0
2019-03-02 18:37:20 +09:00
Takeshi KOMIYA
245b464fac
Merge pull request #6122 from tk0miya/refactor_texinfo
...
Fix texinfo: ``make install-info`` fails
2019-03-02 17:50:36 +09:00
Takeshi KOMIYA
3987734c18
Fix texinfo: `make install-info
` fails on macOS
2019-03-02 17:41:48 +09:00
Takeshi KOMIYA
57a7f76c77
Fix texinfo: `make install-info
` causes syntax error
2019-03-02 17:39:34 +09:00
Takeshi KOMIYA
be971c6d38
Merge pull request #6116 from tk0miya/6067_latex_images_having_target
...
Fix #6067 : latexpdf image :target: changes output
2019-03-02 16:14:35 +09:00
Takeshi KOMIYA
6109466a8f
Stop to access env.versionchanged because of deprecated
2019-03-02 12:25:07 +09:00
Takeshi KOMIYA
70ece3977a
Merge pull request #6104 from tk0miya/new_config_values
...
docs: Remove a term "new" from config values
2019-03-01 01:42:58 +09:00
Takeshi KOMIYA
822c170c2c
Merge pull request #6115 from tk0miya/6068_skipif_removes_codeblock
...
Fix #6068 : doctest: ``skipif`` option may remove the code block from documentation
2019-03-01 01:22:24 +09:00
Takeshi KOMIYA
0377adb82e
Fix #6068 : doctest: `skipif
` option may remove the code block from documentation
2019-02-28 20:02:11 +09:00
Takeshi KOMIYA
6f973d410b
Fix #6028 : graphviz: Ensure the graphviz filenames are reproducible
2019-02-28 17:03:21 +09:00
Takeshi KOMIYA
9c2e7b6798
Fix #6067 : LaTeX: images having a target are not aligned even if specified
2019-02-28 02:05:21 +09:00
Takeshi KOMIYA
6c244bdd69
Fix #6067 : LaTeX: images having a target are concatenated to next line
2019-02-28 02:04:12 +09:00
Takeshi KOMIYA
0068440e73
Merge pull request #6114 from tk0miya/6113_adjust_css
...
Fix #6113 : html: Table cells and list items have large margins
2019-02-28 01:02:49 +09:00
Takeshi KOMIYA
4b9bf440ff
Merge pull request #6112 from tk0miya/5351_revert
...
Revert "C++, conditionally disable test on sys.maxunicode"
2019-02-27 23:56:57 +09:00
Takeshi KOMIYA
1522baf58a
Fix #6113 : html: Table cells and list items have large margins
2019-02-27 23:55:22 +09:00
Takeshi KOMIYA
ec30799617
Revert "C++, conditionally disable test on sys.maxunicode"
...
This reverts commit 2a544b4ec3
.
2019-02-27 23:29:17 +09:00
Takeshi KOMIYA
ceef713e79
docs: Remove a term "new" from config values
2019-02-27 01:18:57 +09:00
Takeshi KOMIYA
832c81a2ca
Update CHANGES for PR #6091
2019-02-25 23:59:51 +09:00
Takeshi KOMIYA
e049f86b2d
Merge pull request #6091 from remyabel/3620_defer_searchindex
...
#3620 : Defer searchindex.js rather than loading it via ajax
2019-02-25 23:58:39 +09:00
Takeshi KOMIYA
fa63dfe0f7
Update CHANGES for PR #5508
2019-02-24 20:42:37 +09:00
Takeshi KOMIYA
2745f1e156
Merge pull request #5508 from jdknight/bugfix/allow-applying-linenos-with-post-transform
...
directive-code: do not force linenos value on run
2019-02-24 20:37:22 +09:00
Takeshi KOMIYA
0dec09a065
Update warning messages for script_files
2019-02-24 19:43:27 +09:00
Takeshi KOMIYA
ce093636e9
Merge pull request #6098 from tk0miya/6096_figure_anchors
...
Fix #6096 : html: Anchor links are not added to figures
2019-02-24 19:39:17 +09:00
Takeshi KOMIYA
524ac7ff0a
Fix #6096 : html: Anchor links are not added to figures
2019-02-24 19:29:12 +09:00
Tommy Nguyen
55c5168f33
#3620 : Defer searchindex.js rather than loading it via ajax
2019-02-21 20:11:24 -05:00
Takeshi KOMIYA
0b2210c99a
Bump version
2019-02-18 01:56:26 +09:00
Takeshi KOMIYA
60a1016aa4
Bump to 2.0.0 beta1
2019-02-18 01:53:35 +09:00
Takeshi KOMIYA
d4ace4cd63
Fix wrong indentation
2019-02-17 22:43:58 +09:00
Takeshi KOMIYA
fa022fa377
Merge pull request #6086 from tk0miya/separate_serializinghtml
...
Separate json and pickle to sphinxcontrib package
2019-02-17 22:40:12 +09:00
Takeshi KOMIYA
8a391d1781
Merge branch '1.8'
2019-02-17 22:37:23 +09:00
Takeshi KOMIYA
1437dff4e1
Merge pull request #6042 from tk0miya/simplify_conf.py_html
...
quickstart: Simplify generated conf.py (HTML)
2019-02-17 22:32:59 +09:00
Takeshi KOMIYA
1ca210aab1
Separate json and pickle to sphinxcontrib package
2019-02-17 22:31:50 +09:00
Takeshi KOMIYA
527e955405
Merge pull request #6085 from tk0miya/refactor_tests_unpickle
...
test: Use get_doctree() to load doctree files
2019-02-17 20:58:32 +09:00
Takeshi KOMIYA
90bf81bd37
test: Use get_doctree() to load doctree files
2019-02-17 20:27:48 +09:00
Takeshi KOMIYA
836d65f04c
Merge pull request #6083 from tk0miya/6047_autofunction_warns_for_methods
...
Fix #6047 : autodoc: ``autofunction`` emits a warning for method objects
2019-02-17 19:17:07 +09:00
Takeshi KOMIYA
fcb22f2074
Merge pull request #5832 from stephenfin/bindep-integration
...
Add bindep integration
2019-02-17 18:25:26 +09:00
Takeshi KOMIYA
08cd23a0bb
Fix #6047 : autodoc: `autofunction
` emits a warning for method objects
2019-02-17 18:23:14 +09:00
James Knight
3858a62814
test: verify linenothreshold usage
...
Adding a unit test to verify the use of the `linenothreshold` option
provided by the `highlight` directive [1]. The included document to test
will introduce two sets of `code-block` and `literalinclude` directives
where the first entry generates contents using line numbers and the
second entry generates contents not using line numbers, respectfully.
[1]: https://github.com/sphinx-doc/sphinx/blob/v1.8.4/sphinx/transforms/post_transforms/code.py#L85
Signed-off-by: James Knight <james.d.knight@live.com>
2019-02-16 22:14:30 -05:00
James Knight
0ded648c1a
directive-code: do not force linenos value on run
...
Now that `highlightlang` directive is deprecated [1], the
`linenothreshold` option is to be used via the `highlight` directive.
The `highlight` directive will walk-through literal blocks to apply a
`linenos` value if:
1) The literal block has not been explicitly configured with the
`linenos` option.
2) If there is enough content (when comparing literal block's line
count to `linenothreshold`) that `linenos` should be explicitly
enabled or disabled [2].
While the `hightlight` directive should be able to explicitly define if
a literal block needs to enable line numbers, the logic is always
ignored since the code block and literal include directives already
configures `linenos` when checking for line number-specific options on
the node [3][4]. This effectively prevents `linenothreshold` from being
used.
To allow `linenothreshold` to be used in literal blocks, this commit
disables the explicit configuration `linenos` on a literal block
instance when the `CodeBlock` and `LiteralInclude` directives are
processed.
[1]: b35198d847
[2]: https://github.com/sphinx-doc/sphinx/blob/v1.8.1/sphinx/transforms/post_transforms/code.py#L95-L97
[3]: https://github.com/sphinx-doc/sphinx/blob/v1.8.1/sphinx/directives/code.py#L156-L157
[4]: https://github.com/sphinx-doc/sphinx/blob/v1.8.1/sphinx/directives/code.py#L442-L444
Signed-off-by: James Knight <james.d.knight@live.com>
2019-02-16 22:14:30 -05:00
Takeshi KOMIYA
963d8bc4fc
conf.py: Remove html_options from template
2019-02-17 01:16:01 +09:00
Takeshi KOMIYA
68f9339d7f
conf.py: Remove html_sidebars from template
2019-02-17 01:15:44 +09:00
Takeshi KOMIYA
8f0b49a4cf
Merge pull request #6051 from tk0miya/6026_xref_for_deflist
...
Fix #6026 : LaTeX: A cross reference to definition list does not work
2019-02-17 00:39:47 +09:00
Takeshi KOMIYA
c67443f4a2
Merge branch '1.8' into 6026_xref_for_deflist
2019-02-17 00:24:25 +09:00
Takeshi KOMIYA
74ec98bb1d
Merge pull request #6071 from tk0miya/6019_imgconverter_multipaged_PDF
...
Fix #6019 : imgconverter: Including multipage PDF fails
2019-02-17 00:13:07 +09:00
Takeshi KOMIYA
63ccc34475
Merge pull request #6082 from tk0miya/refactor_XRefRole
...
refactor XRefRole using ReferenceRole class
2019-02-16 23:42:10 +09:00
Takeshi KOMIYA
a26e9f3d48
Merge pull request #6066 from tk0miya/4148_renew_quickstart_question
...
Closes #4148 : quickstart: some questions are removed
2019-02-16 22:50:16 +09:00
Takeshi KOMIYA
c23835ef06
refactor XRefRole using ReferenceRole class
2019-02-16 21:47:15 +09:00