summaryrefslogtreecommitdiff
path: root/sphinx/config.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Added code signing support. Improved error handling. Fixed handle_finish ↵Alastair Houghton2015-01-141-2/+11
| | | | | | | | to work as it's supposed to.
| * More changes for Apple Help support.Alastair Houghton2015-01-131-2/+3
| |
| * Added initial Apple help support.Alastair Houghton2015-01-131-0/+18
| |
* | Change the source parsers feature a bit:Georg Brandl2015-03-081-1/+1
| | | | | | | | | | | | | | * parsers -> source_parsers * add docs * require fully qualified name or class * add test for it
* | Add support for per-suffix parsersMatthew Woehlke2015-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Override 'read' method in SphinxStandaloneReader to consider the suffix of the file being processed and potentially choose to use a different parser. Add 'parsers' argument to constructor taking a dictionary of suffixes to names of parsers to use for the suffix, as provided by a configuration variable of the same name. This adds the ability to do something like: parsers = {'.md': 'markdown.parsers'} ...to use markdown.parsers.Parser to parse .md files. Note that the custom parser is ONLY used to parse files matching the suffix; otherwise the default (reST) parser is used.
* | Merge branch 'source_suffix'shimizukawa2015-02-271-1/+3
|\ \ | | | | | | | | | | | | Conflicts: CHANGES
| * | source_suffix can now be a list.Georg Brandl2015-02-081-1/+3
| |/
* | refs #1346. Add new default theme.shimizukawa2015-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename 'default' theme to 'classic'. - rename `themes/default` to `themes/classic` - add new `themes/default` theme that derives from 'classic' theme for compatibility. - setup.py depends to 'alabaster' and 'rtd' theme. - theming.py import and run `alabaster.get_path()` to append path for alabaster theme. - theming.py also import and run `sphinx_rtd_theme.get_html_theme_path()` to append path. - sphinx-quickstart will generate `html_theme = 'alabaster'`. - If user use 'default', sphinx emit notice (WARNING) suggestion to use 'alabaster' or use 'classic'. - add documentation for new alabaster and readthedoc theme and link to original pages: - https://pypi.python.org/pypi/alabaster - https://pypi.python.org/pypi/sphinx_rtd_theme
* | Closes #1227: Add `html_auto_image_link` config option to conf.py, to ↵shimizukawa2015-02-221-0/+1
| | | | | | | | control scaled image link.
* | The ``gettext_enables`` config value has been renamed to ↵shimizukawa2015-02-221-1/+1
|/ | | | `gettext_additional_targets`.
* Add highlight_options configuration valueEricFromCanada2015-01-051-0/+1
| | | | | | | | | | | | This changeset adds the `highlight_options` configuration value, which specifies a dict of key-value pairs to pass to the Pygments highlighter specified with `highlight_language`. For example, specifying `highlight_options = {'funcnamehighlighting' : False}` for the 'php' lexer will disable function name highlighting. Both the HTML and LaTeX writers have been updated to include the options when calling `highlight_block()`, as long as the currently selected language matches what was set with `highlight_language`, i.e. not when modified by `highlight::` or `code-block::` directives.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Fix type checking for subclass scenarios.Robert Lehmann2014-11-051-3/+3
| |
* | Remove references to outdated warning category.Robert Lehmann2014-10-311-1/+1
| |
* | Checked configuration values for their types. Fixes #1150.Robert Lehmann2014-10-301-2/+25
| |
* | Closes #1602: allow overriding lambda values with stringsGeorg Brandl2014-10-201-2/+4
| |
* | Guard against sys.exit() called while exec()ing the conf.py file.Georg Brandl2014-10-191-0/+5
| |
* | rename `numfig_prefix` to `numfig_format`. later is better for the purpose.Takayuki Shimizukawa2014-10-101-1/+1
| |
* | Merged in shimizukawa/sphinx (pull request #305)Takayuki Shimizukawa2014-10-091-1/+1
|\ \ | | | | | | | | | gettext speed-up. closes #1426
| * | Incompatibility. Now :confval:`gettext_uuid` is set False by default. If ↵Takayuki Shimizukawa2014-10-051-1/+1
| | | | | | | | | | | | False, also levenshtein calculation is disabled. refs #1426
* | | Include placeholder in numfig prefix i18n strings so that they do not end in ↵Georg Brandl2014-10-061-3/+3
| | | | | | | | | | | | spaces
* | | Fix up default labels for figures and listings.Georg Brandl2014-10-061-2/+2
|/ /
* | add :confval:`gettext_enables` to enable extracting 'index' to gettext ↵Takayuki Shimizukawa2014-09-281-0/+1
| | | | | | | | catalog output / applying translation catalog to generated documentation. Closes #1344
* | Make numfig_prefix translatabletk0miya2014-09-271-3/+3
| |
* | Assign fignum to tables and code-blockstk0miya2014-09-271-1/+4
| |
* | Add config entries for numfigtk0miya2014-08-161-0/+3
| |
* | merge with stableTakayuki Shimizukawa2014-09-261-7/+2
|\ \ | |/
| * refactoring by using `with cd`Takayuki Shimizukawa2014-09-261-7/+3
| |
* | Add extension version check ability with new config value "needs_extensions".Georg Brandl2014-09-041-0/+1
| |
* | Automatically compile ``*.mo`` files from ``*.po`` files.Takayuki Shimizukawa2014-08-031-0/+1
| |
* | use b prefix for bytes instead of sphinx.pycompat.b function.Takayuki Shimizukawa2014-05-011-2/+2
| |
* | remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-5/+4
| |
* | use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-4/+4
| | | | | | | | one source. refs #1350.
* | use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-291-2/+3
| | | | | | | | refs #1350.
* | use six privided functions/classes to support py2/py3 in one source. refs #1350.Takayuki Shimizukawa2014-04-291-1/+1
| |
* | introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-4/+5
| | | | | | | | refs #1350.
* | Add versionadded tags for new config values.Georg Brandl2014-03-011-2/+2
| |
* | Merged in kenhys/sphinx (pull request #217)Georg Brandl2014-03-011-0/+2
|\ \ | | | | | | | | | Add feature to suppress uuid/location information for message catalogs
| * | Add feature to suppress uuid/location information for message catalogshayashi2014-02-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: default #: ../../../source/news.txt:6 # 9f62de6b9c3b477095dba5e468972e6d msgid "News" msgstr After: suppress uuid & location information msgid "News" msgstr
* | | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ \ | |/ / |/| / | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | MergeDmitry Shachnev2014-01-201-1/+1
|\ \
| * | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
* | | The deprecated config values ``exclude_trees``, ``exclude_dirnames`` and ↵Georg Brandl2014-01-191-4/+0
|/ / | | | | | | ``unused_docs`` have been removed.
* | merge with stableGeorg Brandl2014-01-121-1/+1
|\ \ | |/
| * #1345: Fix two bugs with :confval:`nitpick_ignore`; now you don't have toGeorg Brandl2014-01-121-1/+1
| | | | | | | | remove the store environment for changes to have effect.
* | d98e70c13eff followup: only do type conversion of confoverrides if the ↵Georg Brandl2014-01-101-18/+24
| | | | | | | | values are strings and add a test
* | Closes #925: Allow list-typed config values to be provided on the command line,Georg Brandl2014-01-101-1/+22
|/ | | | like ``-D key=val1,val2``.
* Merged in cancerhermit/sphinx (pull request #153)Georg Brandl2013-09-161-0/+2
|\ | | | | | | override extensions in config.py