Commit Graph

1792 Commits

Author SHA1 Message Date
Takeshi KOMIYA
5991bbe4ac Add sphinx.config.ENUM to check the config values is in candidates 2016-07-07 23:42:49 +09:00
Takeshi KOMIYA
8a4b01a2b7 Merge pull request #2754 from tk0miya/2753_smartcopy
``sphinx.util.osutil.filecopy()`` skips copying if the file has not been changed (ref: #2510, #2753)
2016-07-07 23:38:27 +09:00
Takeshi KOMIYA
2e83592ae7 Show warnings if deprecated latex options are used 2016-07-07 23:15:51 +09:00
Takeshi KOMIYA
d99c6c11fc `sphinx.util.osutil.filecopy()` skips copying if the file has not been changed (ref: #2510, #2753) 2016-07-07 12:04:03 +09:00
Takeshi KOMIYA
f8955b16d6 Replace all copy_static_entry() with copy_asset()
At same time, copy_static_entry() is now deprecataed
2016-07-07 00:10:26 +09:00
Takeshi KOMIYA
fb7e6a22ac Update CHANGES for PR#2454 2016-07-06 01:59:43 +09:00
Takeshi KOMIYA
00af06af8f latex: Separate stylesheets of pygments to .sty file
To improve readability of generated LaTeX source code, separate
stylesheets of pygments into independent .sty file.
2016-07-03 01:48:50 +09:00
Takeshi KOMIYA
e3c3e4f0cb Merge branch 'stable' 2016-07-02 16:39:13 +09:00
jfbu
7796a553d3 Update CHANGES for PR#2726 2016-07-02 07:41:43 +02:00
Takeshi KOMIYA
bd2ad1bc68 Fix #2699: hyperlinks in help HTMLs are broken if html_file_suffix is set 2016-07-02 14:30:38 +09:00
Takeshi KOMIYA
1142a7f43f Fix CHANGES for #2650 (again) 2016-07-02 14:15:03 +09:00
Takeshi KOMIYA
b30d4f4882 Fix #2718: Sphinx crashes if the document file is not readable 2016-07-02 13:54:45 +09:00
Takeshi KOMIYA
2ebeff6776 Fix CHANGES 2016-07-02 10:29:26 +09:00
Takeshi KOMIYA
e6b545c2f2 Update CHANGES for PR#2731 2016-07-02 10:26:57 +09:00
jfbu
35214d4518 Fix #2733: `make latexpdf` generates lots of hyperref warnings 2016-07-01 19:18:27 +02:00
mixmastamyk
c80db568eb Update CHANGES 2016-06-30 13:57:25 -07:00
Takeshi KOMIYA
1eaa412372 Fix CHANGES for PR#2650 (again) 2016-06-30 20:06:18 +09:00
Takeshi KOMIYA
624bcef1cb Merge remote-tracking branch 'tjanez/setup-warning-is-error-master' 2016-06-30 20:05:37 +09:00
jfbu
067d3cabf0 latex, make use of `\small` for code listings customizable 2016-06-30 11:20:30 +02:00
Tadej Janež
a9ffcf0d60 Add `--warning-is-error` option to setup.py command 2016-06-30 10:18:49 +02:00
Takeshi KOMIYA
2a5e5a5530 Update CHANGES for PR#2650 2016-06-30 10:55:02 +09:00
jfbu
446e93aca7 fix a typo in CHANGES 2016-06-30 00:08:40 +02:00
jfbu
2a1826022d Update to CHANGES 2016-06-30 00:03:06 +02:00
Jakob Lykke Andersen
68a32a2bff C++, fix id generation of var/member declarations.
Namespaces not in the declaration are now properly included in the id.
Fixes sphinx-doc/sphinx#2722.
2016-06-29 09:02:35 +02:00
Takeshi KOMIYA
cd093fb0ca latex writer considers unitless dimensions as px based 2016-06-26 22:56:20 +09:00
Takeshi KOMIYA
4bc5a242ce Show warnings if invalid dimension units found 2016-06-26 22:32:34 +09:00
Takeshi KOMIYA
efd74a9e14 latex, replace `pt by TeX equivalent bp if found in width or height` attribute of an image (ref: #2714) 2016-06-26 12:03:55 +09:00
Takeshi KOMIYA
593f12060c Fix warning in CHANGES 2016-06-26 11:40:08 +09:00
Jean-François B
2273be9c37 Merge pull request #2711 from jfbu/latex_allowpx2
latex, allow image dimensions using px unit (96px=1in)
2016-06-25 13:00:23 +02:00
Takeshi KOMIYA
7a81169e4c Fix warning in CHANGES 2016-06-25 10:31:30 +09:00
jfbu
f6b0ae903d latex, allow image dimensions using px unit (96px=1in)
New key ``'pixelsize'`` in ``latex_elements`` dictionary.
2016-06-24 20:36:35 +02:00
jfbu
45ddb6387c Add a missing word in CHANGES and fix minor other issues there 2016-06-24 19:18:56 +02:00
jfbu
84ed2c394a Merge branch 'jfbu_fixspaceafterinlineliteral' into stable 2016-06-24 15:33:58 +02:00
jfbu
b6daf6be56 fix latex, since 1.4.4 inline literal text is followed by spurious space
ref: a51681b use of ``\scantokens`` has a quirk with adding a space in
some cases which we fix by inserting a ``\relax`` at the end of the
argument.
2016-06-24 15:26:50 +02:00
Takeshi KOMIYA
211fd352ae Fix #2579: Could not refer a label including both spaces and colons via sphinx.ext.intersphinx
This fixes only the case the label including both spaces and colons as
ad-hoc. There is still a bug if a label having spaces, colons and
numbers like "foo bar:baz 1234".

Note: To support the case, we have to improve the inventory format.
2016-06-24 21:11:31 +09:00
Takeshi KOMIYA
51937f8089 #2597: Show warning messages as darkred 2016-06-24 14:23:19 +09:00
Takeshi KOMIYA
bf692e2f34 Fix #2700: HtmlHelp builder has hard coded index.html 2016-06-24 12:35:44 +09:00
Takeshi KOMIYA
04723c1175 Fix #2479: sphinx.ext.viewcode uses python2 highlighter by default 2016-06-24 11:35:15 +09:00
Takeshi KOMIYA
1e979091f2 Fix #2705: toctree generates empty bullet_list if `:titlesonly:` specified 2016-06-23 11:56:49 +09:00
jfbu
9002966085 Merge branch 'stable' 2016-06-22 18:42:13 +02:00
jfbu
8feb92dd2d Update CHANGES for PR #2672 2016-06-22 18:33:43 +02:00
jfbu
a4296a04d1 A bit of refactoring of latex entries in CHANGES for 1.5 2016-06-22 16:15:05 +02:00
jfbu
f1cc694af7 latex: customizable literal blocks
- new dimensions ``\sphinxverbatimsep`` and ``\sphinxverbatimborder``
  configure the frame width and its separation from contents,

- new ``\ifsphinxverbatimwithframe`` and ``\ifsphinxverbatimwrapslines``
  to customize behaviour of sphinxVerbatim or define wrapper
  environments, such as sphinxVerbatimNoFrame and sphinxVerbatimintable,

- the latter is used in table cells, in place of OriginalVerbatim, thus
  allowing to handle captions for code-blocks in tables (issue #2706).

On this occasion, a bit of refactoring in sphinx Verbatim code,
particularly the caption is typeset in advance to its insertion in
non-breakable from code location (this avoids using the amstext
``\iffirstchoice@`` conditional), and the sphinxVerbatim is usable
without any optional argument (but currently option is always present
and contains at least ``commandchars=\\\{\}`` to activate syntax
highlighting).
2016-06-22 15:57:03 +02:00
jfbu
4ab9854483 Update CHANGES for PR#2708 2016-06-22 09:36:10 +02:00
jfbu
e5db9da45d latex: fully customizable notices/admonitions
The refactoring maintains backwards compatibility for the non-customized
usage: but macros such as ``\py@noticesstart@note`` have been removed
and any customization by extension or user will be without effect.
However the ``notice`` environment is still used, hence customization or
modified usage of it will work as before.

The LaTeX writer now uses ``sphinxadmonition``. Currently it is a
wrapper of ``notice`` environment. At some future release ``>1.5`` of
Sphinx it is planned to remove definition of ``notice`` environment, and
rename it directly to ``sphinxadmonition``. In the transition period
both will work, but at end of transition period extensions using only
``notice`` will stop working and those using ``sphinxadmonition`` will
require at least Sphinx ``1.5``.
2016-06-20 09:06:28 +02:00
jfbu
3650663bb3 Fix #2679: (latex) load package float for 'H' value of 'figure_align' 2016-06-19 20:57:38 +02:00
jfbu
01f1696d9b Remove usage by sphinx.sty of latex package newfloat.sty 2016-06-19 16:22:49 +02:00
jfbu
4be797ccd3 Merge branch 'stable' 2016-06-18 12:23:20 +02:00
jfbu
6929d546c8 Hard-wrap some long lines in CHANGES
Seems longer lines are more frequent since 1.4. I hard-wrapped at 80
chars the ones I committed which sometimes exceeded 100 chars. Other
long lines remain (one has 108 chars).
2016-06-18 12:22:18 +02:00
jfbu
80a1ad5a5a Fix typo in CHANGES 2016-06-18 10:09:51 +02:00