Commit Graph

5048 Commits

Author SHA1 Message Date
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
Takayuki Shimizukawa
6630255a10 * Fix: Undecodable source reading cause UnicodeDecodeError instead of emitting warnings. Thanks to anatoly techtonik. Closes #1524 2014-07-30 02:47:22 +09:00
Takayuki Shimizukawa
5abfce5a2c Merged in techtonik/sphinx-1/techtonik/raise-six-requirement-to-14-when-userstr-1406538263417 (pull request #259)
raise six requirement to 1.4+ when UserString was added
2014-07-28 22:19:19 +09:00
anatoly techtonik
61ec2c6d23 raise six requirement to 1.4+ when UserString was added 2014-07-28 09:04:32 +00:00
zsiddiqui2
d5030f1f24 added dedent to codeblock 2014-07-27 19:57:33 -05:00
zsiddiqui2
a425949c36 added dedent 2014-07-27 18:26:17 -05:00
tk0miya
b3798ab32c Fix could not resolve xref for figure node with :name: option 2014-07-28 01:30:24 +09:00
Jakob Lykke Andersen
c19a15ea0d Doc, update C++ domain. 2014-07-27 11:42:01 +02:00
Jakob Lykke Andersen
23df17b404 C++, change parsing context to explicit arguments, fixes some casting operators. 2014-07-27 02:57:41 +02:00
Jakob Lykke Andersen
eb2a0a090e C++, fix class name rendering to 'lastIsName', though not the template part. Put function argument names in emphasis. 2014-07-26 14:14:49 +02:00
Takayuki Shimizukawa
464fcf5d17 Now sphinx.roles.abbr_role pass through **options to addnodes.abbriviation. Closes #1515 2014-07-26 07:21:20 +02:00
Takayuki Shimizukawa
8aa302f46c Using same word before. 2014-07-26 07:19:40 +02:00
Takayuki Shimizukawa
4fcb3f4f7f sphinx-apidoc command now have a --version option to show version information and exit. closes #1518 2014-07-25 23:33:57 +02:00
Jakob Lykke Andersen
6cde3d596a C++, improve xrefs with templates. 2014-07-24 16:30:50 +02:00
Jakob Lykke Andersen
caad958de4 C++, fix namespacing of elements and xrefs. 2014-07-24 11:09:28 +02:00
Jakob Lykke Andersen
967ca06545 Revamp of C++ domain. 2014-07-24 01:40:48 +02:00
Olivier Heurtier
6037cdc228 When generating latex references, also insert latex target/anchor for the ids defined on the node (mimic HTML writer behavior) 2014-07-23 22:33:17 +02:00
Lars Buitinck
5a13bce2e2 compress static PNG images with optipng -o10
Average reduction in file size of 20%.
2014-07-22 13:42:00 +02:00
Jakob Lykke Andersen
55eb97e9c5 C++, actually add 'virtual' to output, and fix missing rename. 2014-07-19 18:08:46 +02:00
Jakob Lykke Andersen
b293be1fc9 C++ domain, add support for virtual functions. 2014-07-18 18:09:25 +02:00
Takayuki Shimizukawa
da20c3713b merge with stable 2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
269421bc58 * Fix: Non-ASCII filename raise exception on make singlehtml, latex, man, texinfo and changes. Closes #1508 2014-07-13 10:44:48 +09:00
Takayuki Shimizukawa
e2ed97031d use test generator nosetests feature. 2014-07-12 22:14:14 +09:00
Takayuki Shimizukawa
91709946d6 * Fix: py:function directive generate incorrectly signature when specifying a default parameter with an empty list []. Closes #1503 2014-07-12 20:50:15 +09:00
Takayuki Shimizukawa
090d269d45 Merged in tk0miya/sphinx/tk0miya/do-not-enter-password-of-transifex-at-co-1404623350328 (pull request #253)
Do not enter password of transifex at command line by security reason
2014-07-07 13:40:55 +09:00
Takeshi Komiya
024e8837cf Fix tx init command again. 2014-07-06 06:00:47 +00:00
Takeshi Komiya
65e83c6057 Do not enter password of transifex at command line by security reason
Any command line options could be accessed by other users.
`tx init` command has interaction interface.
It should be used by all users by default.
2014-07-06 05:09:16 +00:00
Takayuki Shimizukawa
0fc0ccfa4d * sync message text in Makefile/make.bat and make-mode.
* update CHANGES for adding coverage targets.
2014-07-05 09:30:11 +09:00
Takayuki Shimizukawa
b1a24fab86 Merged in mcmtroffaes/sphinx-make-coverage (pull request #159)
Add coverage targets to quickstart generated Makefile and make.bat.
2014-07-05 09:21:16 +09:00
Takayuki Shimizukawa
c8e0a8759d Update documentation and sphinx-build -N option behavior for windows color console support. closes #1291. 2014-07-05 01:39:13 +09:00
Takayuki Shimizukawa
6ab7a2cbec Windows color console support. update for pull request #252. 2014-07-05 01:16:33 +09:00
Takayuki Shimizukawa
4d69072f44 * Fix: autodoc, autosummary: importing setup.py will invoke setup process and execute sys.exit(). Now sphinx avoids SystemExit exception and emits warnings without unexpected termination. Closes #1226 2014-07-05 00:11:59 +09:00