summaryrefslogtreecommitdiff
path: root/sphinx/environment.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Assign fignum to tables and code-blockstk0miya2014-09-271-6/+27
| |
* | Fix RuntimeError with numbered circular toctreetk0miya2014-08-211-2/+5
| |
* | Ignore "self" and URL in toctreetk0miya2014-08-211-0/+4
| |
* | Add config entries for numfigtk0miya2014-08-161-5/+6
| |
* | Assign figure numbers automaticallytk0miya2014-09-261-4/+62
| |
* | merge with stableTakayuki Shimizukawa2014-09-261-6/+6
|\ \ | |/
| * Fix: special toctree entry "self" located after another entry that also has ↵Takayuki Shimizukawa2014-09-251-6/+6
| | | | | | | | | | | | a toctree was replaced with wrong title and link. Closes #1576 Function argument variable `toctreenode` had been overrode by local variable.
| * Fix #1512 env.record_dependency crashes on multibyte directoriestk0miya2014-09-151-2/+2
| |
* | Fix a memory leak in the parallel impl. ParallelChunked is now unnecessary.Georg Brandl2014-09-221-6/+6
| |
* | Refactor parallel process into a base class that executes any task, and a ↵Georg Brandl2014-09-221-5/+5
| | | | | | | | derived class that executes a batch of the same task.
* | Factor out parallel building into a utility class. Better error handlingGeorg Brandl2014-09-221-76/+24
| | | | | | | | with traceback of the parallel process saved in the error log.
* | [WIP] parallel readGeorg Brandl2014-09-221-55/+205
| |
* | env: minor comment clarificationGeorg Brandl2014-09-221-3/+3
| |
* | Instantiate our source class directly, this lets us get rid of the ↵Georg Brandl2014-09-221-26/+31
| | | | | | | | method-local class def.
* | Raise env version for the ref_context introduction.Georg Brandl2014-09-221-2/+4
| |
* | Rename env-read-docs to env-before-read-docs, add changelog entry and fixup ↵Georg Brandl2014-09-221-1/+1
| | | | | | | | tests.
* | Merged in guillemNaN/sphinx (pull request #261)Georg Brandl2014-09-221-1/+4
|\ \ | | | | | | | | | Add env-read-docs event to allow modify docnames list before processing
| * | Don't multiply docnames list size per each listener of env-read-docsGuillem Barba2014-09-211-5/+1
| | | | | | | | | | | | | | | | | | The env-read-docs listener function doesn't return the modified docnames list but change the list received as parameter. Updated the tests
| * | Add env-read-docs event to allow modify docnames list before processingGuillem Barba2014-07-311-1/+8
| | |
* | | Minor PEP8 cleanup.Georg Brandl2014-09-211-1/+2
| | |
* | | Fix a few missing Unicode/bytes filename problems.Georg Brandl2014-09-211-2/+4
| | |
* | | Override the current-directory local "docutils.conf" location with the ↵Georg Brandl2014-09-211-0/+7
| | | | | | | | | | | | Sphinx srcdir.
* | | Move env.temp_data content that might be used to resolve references to a new ↵Georg Brandl2014-09-201-1/+6
| | | | | | | | | | | | env.ref_context dictionary.
* | | Add warnings when env.currmodule or env.currclass are used.Georg Brandl2014-09-201-4/+8
| | |
* | | Add tests for "any" role and default-role setting. Fix some minor bugs with ↵Georg Brandl2014-09-191-3/+3
| | | | | | | | | | | | "any".
* | | Added the `any` role that can be used to find a cross-reference ofGeorg Brandl2014-09-191-0/+45
| | | | | | | | | | | | | | | *any* type in *any* domain. Custom domains should implement the new `~Domain.resolve_any_xref` method to make this work properly.
* | | Clean up reference resolution a bit; factor out :doc: and citations into theirGeorg Brandl2014-09-191-37/+44
| | | | | | | | | | | | own methods.
* | | Changing the default role document-locally with the docutils ".. default-role::"Georg Brandl2014-09-191-0/+1
| | | | | | | | | | | | directive is now supported.
* | | sphinx.environment: PEP8 cleanup.Georg Brandl2014-09-191-18/+21
| | |
* | | :confval:`templates_path` is automatically added to ↵Takayuki Shimizukawa2014-08-231-0/+1
| | | | | | | | | | | | :confval:`exclude_patterns` to avoid reading autosummary rst templates in the templates directory. Closes #1543
* | | Fix section entries were shown twice if toctree has been put under only ↵tk0miya2014-08-211-0/+1
| | | | | | | | | | | | directive
* | | Merged in tk0miya/sphinx (pull request #274)Takayuki Shimizukawa2014-08-201-0/+2
|\ \ \ | | | | | | | | | | | | Set its URL as a default title value if URL appears in toctree
| * | | Set its URL as a default title value if URL appears in toctreetk0miya2014-08-201-0/+2
| | | |
* | | | Optimize marking docnames as assignedtk0miya2014-08-201-3/+3
| | | |
* | | | Mark master_doc as assigned numberstk0miya2014-08-191-0/+1
| | | |
* | | | Fix RuntimeError with numbered circular toctreetk0miya2014-08-191-1/+3
|/ / /
* | | merge with stableTakayuki Shimizukawa2014-08-121-1/+1
|\ \ \ | | |/ | |/|
| * | * On Python3 environment, docutils.conf with 'source_link=true' in the ↵Takayuki Shimizukawa2014-08-121-1/+5
| | | | | | | | | | | | general section cause type error. Closes #1531
* | | When specifying toctree :numbered: option and :tocdepth: metadata, sub ↵Takayuki Shimizukawa2014-08-021-3/+3
| | | | | | | | | | | | section number that is larger depth than `:tocdepth:` is shrinked. Closes #1251.
* | | * refactoring: metadata (docinfo) type normalization and add test.Takayuki Shimizukawa2014-08-021-5/+9
| |/ |/|
* | * Fix: Undecodable source reading cause UnicodeDecodeError instead of ↵Takayuki Shimizukawa2014-07-301-7/+8
| | | | | | | | emitting warnings. Thanks to anatoly techtonik. Closes #1524
* | remove unnecessary `list()` wrappers. In some places, I replaced ↵Takayuki Shimizukawa2014-05-251-2/+1
| | | | | | | | `iterable.sort()` with `sorted(iterable)`.
* | wrap py3 iterators with list() for each places that expect a list object. ↵Takayuki Shimizukawa2014-04-301-1/+1
| | | | | | | | refs #1350.
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-3/+2
| |
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-3/+3
| | | | | | | | one source. refs #1350.
* | wrap iterator with list() to avoid 'dictionary changed size during ↵Takayuki Shimizukawa2014-04-291-3/+3
| | | | | | | | iteration' on py3. refs #1350.
* | use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-291-5/+6
| | | | | | | | refs #1350.
* | use six privided functions/classes to support py2/py3 in one source. refs #1350.Takayuki Shimizukawa2014-04-291-3/+3
| |
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-2/+2
| | | | | | | | refs #1350.
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/