Takayuki Shimizukawa
b8c2619858
Merged in r_rudi/sphinx (pull request #267 )
...
add 'diff' parameter to literalinclude.
2014-08-13 13:17:47 +09:00
shirou
a5add3608e
use six.string_types instead of text_types.
...
also fix import path problem.
2014-08-13 12:19:19 +09:00
shirou
7d7ba3a7c6
according to comment, move import, use six.text_type, and use 'not'.
2014-08-13 00:47:01 +09:00
tk0miya
b9aa71ec39
Update comment for adhoc changes
2014-08-12 19:47:59 +09:00
shirou
4e70d364ba
add test and document about diff params in literalinclude.
2014-08-12 14:11:54 +09:00
shirou
ea37c01552
fix encoding problem in diff param in literalinclude.
...
This commit creates read_with_encoding which read from file with encoding. It is used normal file read and also diff file read.
2014-08-12 14:11:33 +09:00
tk0miya
0943375069
Fix #1476 replace <tt> tag by <code>
2014-08-12 12:12:10 +09:00
tk0miya
5725ee0e82
Fix numbering section does not work at singlehtml mode (adhoc)
2014-08-12 11:22:34 +09:00
Takayuki Shimizukawa
caf687d379
* add support docutils-0.12
2014-08-12 06:45:38 +09:00
Takayuki Shimizukawa
954869df26
merge with stable
2014-08-12 06:42:57 +09:00
shirou
6bd142c9b5
add 'diff' parameter to literalinclude.
...
This solves issue #1134 with a pygments highlighting support.
2014-08-12 00:33:28 +09:00
Takayuki Shimizukawa
e984e381e8
* On Python3 environment, docutils.conf with 'source_link=true' in the general section cause type error. Closes #1531
2014-08-12 00:11:23 +09:00
Takayuki Shimizukawa
d40c786538
* tiny update for changes
2014-08-12 00:09:50 +09:00
tk0miya
3e1667290b
Rename :filename: option of code-block directive to :caption:
2014-08-11 22:36:31 +09:00
Takayuki Shimizukawa
8b60f04431
* adding new sphinx supported system languages. closes #1403 .
...
* update all catalogs from transifex.
2014-08-11 21:57:06 +09:00
Takayuki Shimizukawa
e5cb460d8b
* update old XPath notation
2014-08-11 14:19:14 +09:00
Takayuki Shimizukawa
1d65d9cdc6
rename test files
2014-08-10 23:47:27 +09:00
Takayuki Shimizukawa
d39327d539
* for pull request #258 : update CHANGES, add tests, add a document and refactoring.
2014-08-10 23:03:02 +09:00
Takayuki Shimizukawa
4f357d9edd
Merged in zsiddiqui2/sphinx (pull request #258 )
...
Problematic Whitespace stripped
2014-08-10 22:29:34 +09:00
Takayuki Shimizukawa
ed9de1c9e8
* provide _copy_to_temp option for TestApp()
2014-08-10 22:23:52 +09:00
Takayuki Shimizukawa
14353b30c2
for pull request #263 , update CHANGES, fix for py26, fix for pep8.
2014-08-10 22:05:05 +09:00
Takayuki Shimizukawa
8dcd094a30
Merged in jakobla/sphinx (pull request #263 )
...
Rewrite of C++ domain (also fixes #1013 , #1103 )
2014-08-10 20:02:37 +09:00
Jakob Lykke Andersen
e43fcfa1f4
C++, test now also work with Python 3.
2014-08-10 11:59:22 +02:00
Jakob Lykke Andersen
e65287ec9c
C++, fix cpp:parent bug and add all aliases of fundamental integer types.
2014-08-10 11:14:47 +02:00
Takayuki Shimizukawa
e19f97dae1
refactoring. remove old python related code (from sha import sha)
2014-08-10 17:01:21 +09:00
Takayuki Shimizukawa
7aed098f5d
refactoring at 37664fe44c7 is not correct. reverting. Thanks @tk0miya. refs pull request #264
2014-08-10 17:00:09 +09:00
Takayuki Shimizukawa
4b1485f421
* for PR#265: update CHANGES, small refactoring.
2014-08-10 16:53:09 +09:00
Takayuki Shimizukawa
d4da4c7f4a
Merged in tk0miya/sphinx (pull request #265 )
...
Fix could not capture caption of graphviz node by xref
2014-08-10 16:46:35 +09:00
Takayuki Shimizukawa
c3fdd2a9c3
* refactoring
2014-08-10 16:31:28 +09:00
Takayuki Shimizukawa
68949656b2
* for PR#264: update CHANGES, add tests, small refactoring.
2014-08-10 16:28:31 +09:00
Takayuki Shimizukawa
5191696c5b
Merged in tk0miya/sphinx (pull request #264 )
...
Fix could not resolve xref for figure node with :name: option
2014-08-10 14:33:27 +09:00
tk0miya
13f37e9a3b
Fix could not capture caption of graphviz node by xref
...
std domain and LaTeX writer expect figure node for capturing captions,
but graphviz directive returns graphviz node including caption attribute.
So sphinx cannot capture it on resolving xref.
This change makes graphviz directive returns figure and caption nodes in place.
2014-08-10 12:05:24 +09:00
Jakob Lykke Andersen
0de1022a78
Ooops, revert stray function renames.
2014-08-07 13:33:52 +02:00
Jakob Lykke Andersen
640dfc1951
Merged birkenfeld/sphinx into default
2014-08-06 18:54:23 +02:00
Jakob Lykke Andersen
9230dd6a89
Doc, update C++ domain.
2014-08-06 18:54:00 +02:00
Jakob Lykke Andersen
14e6affa7d
C++, update id generation to use name mangling
2014-08-06 17:41:51 +02:00
Takayuki Shimizukawa
3efd230a0e
fix test caused by previious commit: 989c16e04371c
2014-08-05 01:54:56 +09:00
Takayuki Shimizukawa
f7399a261a
Add app.set_translator() API to register or override a Docutils translator class like :confval:html_translator_class
.
2014-08-05 00:18:54 +09:00
Takayuki Shimizukawa
2e1c16486c
* fix code to pass test, add versionadded to doc, update CHANGES for pull request #229
2014-08-03 19:19:31 +09:00
Takayuki Shimizukawa
9191ffaa50
Merged in russell/sphinx-pluggable-translators (pull request #229 )
...
Allow registration of other translators
2014-08-03 18:52:02 +09:00
Takayuki Shimizukawa
e0ce77db1b
* update CHANGES for pull request #260
2014-08-03 17:45:21 +09:00
Takayuki Shimizukawa
6580b23b90
Merged in lennart0901/sphinx (pull request #260 )
...
Encode underscore in citation labels for latex export
2014-08-03 17:43:40 +09:00
Takayuki Shimizukawa
721e4ad5a0
* update CHANGES for pull request #255
2014-08-03 16:42:28 +09:00
Takayuki Shimizukawa
55bf3c27cf
Merged in olivier-heurtier/sphinx (pull request #255 )
...
When generating latex references, also insert latex target/anchor for the ids defined on the node (mimic HTML writer behavior)
2014-08-03 16:39:00 +09:00
Takayuki Shimizukawa
eaed3ca9f1
Automatically compile `*.mo
files from
*.po
` files.
2014-08-03 16:22:08 +09:00
Takayuki Shimizukawa
eb8dbf4631
Fix malformed po files in the test-intl directory
2014-08-03 14:34:40 +09:00
Takayuki Shimizukawa
da4c67e2a3
When specifying toctree :numbered: option and :tocdepth: metadata, sub section number that is larger depth than :tocdepth:
is shrinked. Closes #1251 .
2014-08-02 18:10:41 +09:00
Takayuki Shimizukawa
24280fd90d
* refactoring: metadata (docinfo) type normalization and add test.
2014-08-02 16:39:07 +09:00
Guillem Barba
b4b15181b4
Add env-read-docs event to allow modify docnames list before processing
2014-07-31 18:28:47 +02:00
Lennart Fricke
7a9cc9f95b
Escape underscore in citation labels for latex export
2014-07-31 08:55:29 +02:00