Commit Graph
53 Commits
Author SHA1 Message Date
tk0miya 8ee53ddb06 Refactor creating permalinks on HTML writer 2014-10-05 20:54:50 +09:00
tk0miya a875e8f377 Set permanent links to every captions and titles 2014-10-05 16:27:38 +09:00
tk0miya 1e63f34d2e Fix Builder.imgpath has not been initialized correctly 2014-10-01 10:12:20 +09:00
tk0miya 8c38327f0e Refactored; Initialize imagedir at init() method 2014-09-29 00:17:24 +09:00
tk0miya 7e59c5385e Merge with default 2014-09-28 21:56:20 +09:00
tk0miya 0853176305 Merge with default 2014-09-28 21:28:45 +09:00
tk0miya f746a45dc9 Remove debug print 2014-09-28 21:25:46 +09:00
tk0miya 16529c5604 Add options argument to Sphinx.add_latex_package() 2014-09-28 21:10:26 +09:00
tk0miya 0c5b460dc6 Separate numfig testcase from toctree's 2014-09-27 16:49:28 +09:00
tk0miya c35886f6d0 Refactor has_child() function (by review) 2014-09-27 16:17:25 +09:00
tk0miya a557e0dd32 Make numfig_prefix translatable 2014-09-27 15:50:19 +09:00
tk0miya c04ad2908e Add new API: Sphinx.add_latex_package()
Sphinx.add_latex_package() allows sphinx extensions to add latex packages.
It helps creating extensions for latex (for example, latex-theming)
2014-09-27 12:47:27 +09:00
tk0miya cc5859fcbf Add imgpath property to all builders 2014-09-27 10:11:47 +09:00
tk0miya e3826ba2c4 Fix assign_figure_numbers() raises AttributeError with old environment 2014-09-27 00:56:50 +09:00
tk0miya 7cd470f59a Assign fignum to tables and code-blocks 2014-09-27 00:47:44 +09:00
tk0miya 7c7a563426 Fix by review comment 2014-09-26 20:15:17 +09:00
tk0miya cffec13355 Add testcases for numfig 2014-09-26 00:36:38 +09:00
tk0miya 07e52ff22d Fix @caption should be placed to inside of @float element in texinfo 2014-09-24 00:54:27 +09:00
tk0miya 3ad1f1c164 Merge with default 2014-09-24 00:43:47 +09:00
tk0miya 5f96826ffc Merge with default 2014-09-23 17:58:02 +09:00
tk0miya d076452199 do nested_parse() :caption: of code-block directive 2014-09-19 12:04:25 +09:00
tk0miya 447c8c1d37 Wrap float environment on writing literal_block to latex 2014-09-19 11:08:07 +09:00
tk0miya 873efc5358 Fix #1512 env.record_dependency crashes on multibyte directories 2014-09-15 22:10:13 +09:00
tk0miya 0780d8ca04 Fix tests has broken by changset:bb0211a65072 2014-08-24 19:40:32 +09:00
tk0miya b17320ee1e Fix cannot capture title of literal_block node by xref 2014-08-24 14:33:56 +09:00
tk0miya 08cf46cbc9 Fix #1509 TODO extension not compatible with websupport
websupport assigns UID to every node on reading phase and reads it
on writing phase.
but `todolist` directive generates new paragraph node on resolving phase.
This problem will occur any extensions that generate paragraph nodes
on resolving phase.

This fix changes websupport ignores paragraph node not having UIDs.
2014-08-24 12:28:37 +09:00
tk0miya 65be2792a8 Do not highlight function pointers if unexpected tokens found 2014-08-21 13:30:25 +09:00
tk0miya 2ccdebf5d9 Fix RuntimeError with numbered circular toctree 2014-08-21 09:54:57 +09:00
tk0miya ba5a42c504 Ignore "self" and URL in toctree 2014-08-21 09:54:57 +09:00
tk0miya 7f9b6b73ed Fix section entries were shown twice if toctree has been put under only directive 2014-08-21 09:51:15 +09:00
tk0miya 4e0053cceb Fix #1513 highlights for function pointers in argument list of c:function 2014-08-20 19:30:19 +09:00
tk0miya dd8a02d5e1 Fix #1381 :rfc: and :pep: roles support custom link text 2014-08-20 12:27:08 +09:00
tk0miya 95fc3ce888 Backed out changeset 177fce4ba59c 2014-08-20 12:21:18 +09:00
tk0miya 3c1067c038 Fix #1381 :rfc: and :pep: roles support custom link text 2014-08-20 12:19:12 +09:00
tk0miya 3c8bc8f5fd Merge upstream changes 2014-08-20 10:05:58 +09:00
tk0miya 876d593764 Optimize marking docnames as assigned 2014-08-20 01:23:36 +09:00
tk0miya 7db168416b Set its URL as a default title value if URL appears in toctree 2014-08-20 01:00:29 +09:00
tk0miya 137de0ddc8 Mark master_doc as assigned numbers 2014-08-19 11:02:24 +09:00
tk0miya 57cc7dfa05 Fix RuntimeError with numbered circular toctree 2014-08-19 10:44:09 +09:00
tk0miya 14107fd5de Fix numbering section at singlehtml mode does not work for nested toctree 2014-08-18 22:06:30 +09:00
tk0miya ba072ab903 Use config.master_doc insted of "index" 2014-08-18 21:51:49 +09:00
tk0miya 2f5ea82b37 Add config entries for numfig 2014-08-16 09:39:01 +09:00
tk0miya f974aca356 Assign figure numbers automatically 2014-09-26 22:40:24 +09:00
tk0miya b9aa71ec39 Update comment for adhoc changes 2014-08-12 19:47:59 +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
tk0miya 3e1667290b Rename :filename: option of code-block directive to :caption: 2014-08-11 22:36:31 +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
tk0miya b3798ab32c Fix could not resolve xref for figure node with :name: option 2014-07-28 01:30:24 +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
tk0miya 04cdfd83eb Fix SyntaxError when conf.py includes CR characters 2011-10-22 13:42:48 +09:00
tk0miya 8fb564b903 Fix SyntaxError when conf.py includes CR characters 2011-10-22 13:42:48 +09:00