summaryrefslogtreecommitdiff
path: root/sphinx/config.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add ``config-inited`` eventTakeshi KOMIYA2016-11-181-0/+9
| |/
* | Add type-check annotations to sphinx.*Takeshi KOMIYA2016-11-161-13/+31
|/
* Improve message for confval type checkingTakeshi KOMIYA2016-10-141-3/+10
|
* Fix #326: `numref` role can also refer sectionsTakeshi KOMIYA2016-09-171-1/+2
|
* Use new style python classesTakeshi KOMIYA2016-09-101-1/+1
|
* Fix #1953: ``Sphinx.add_node`` does not add handlers the translator ↵Takeshi KOMIYA2016-08-191-1/+4
| | | | installed by `html_translator_class`
* Make sure extensions specified with -D override extensions in config file.mulhern2016-07-281-5/+6
| | | | | | | | | | | Previously, a comma separated list of extensions was read and parsed correctly. However, the value was then stored in config hashtable, which was overwritten when the config file was parsed. Now, the config file is parsed first, and the the entry in the config hashtable is updated with the overriding extension, if it exists. Signed-off-by: mulhern <amulhern@redhat.com>
* Add sphinx.config.ENUM to check the config values is in candidatesTakeshi KOMIYA2016-07-071-13/+33
|
* Now all builders and domains work as built-in extensionsTakeshi KOMIYA2016-07-061-180/+2
|
* Merge pull request #2454 from mgeier/html-sourcelink-txtTakeshi KOMIYA2016-07-061-0/+1
|\ | | | | Add option html_sourcelink_suffix
| * Change html_sourcelink_txt -> html_sourcelink_suffixMatthias Geier2016-06-071-1/+1
| |
| * Add option html_sourcelink_txtMatthias Geier2016-06-071-0/+1
| |
* | Merge branch 'stable'jfbu2016-06-151-0/+1
|\ \ | |/ |/| | | | | | | | | Conflicts: sphinx/domains/cpp.py sphinx/texinputs/sphinx.sty tests/test_build_latex.py
| * Fix #2629. Add new config option ``latex_keep_old_macro_names``jfbu2016-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cause of the issue was a clash about ``\titleref`` macro being already defined in memoir class context. To avoid similar problems, this makes the text styling macros ``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``, ``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``, ``\termref``, ``\optional``, also available with ``\sphinx`` prefix, with a conf.py boolean option to let sphinx.sty only define ``\sphinx``-prefixed macros. As default value is False, backwards compatibility is maintained. On this occasion, some internal non-public macros have been renamed with prefix ``\spx@``. The command find . -name '*.sty' -exec grep -l \\\\spx@ {} \; has been executed in TeXLive 2015 and 2016 installations to check no package defines macros starting with ``\spx@``. Some internal macros having public names (because they are written by latex.py into the body of the latex document) have been renamed to have ``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU, or \PYG have not been modified. Similarly ``\release``, ``\version``, ``\releasename``, etc... have not been renamed.
* | Merge branch 'stable'Takeshi KOMIYA2016-05-091-1/+12
|\ \ | |/
| * Add pointers to the SOURCE_DATE_EPOCH specification.Alexis Bienvenüe2016-05-031-1/+2
| |
| * Bugfix: copyright_year_re is a string patternAlexis Bienvenüe2016-05-021-1/+1
| |
| * Spaces and import fix.Alexis Bienvenüe2016-05-021-1/+1
| |
| * Code enhancements (thanks to mitya57 and tk0miya):Alexis Bienvenüe2016-05-021-4/+4
| | | | | | | | | | | | * use tuple instead of list * compile regex to find copyright year * enclose test inside try/finally
| * Corrects copyright year using SOURCE_DATE_EPOCH if setAlexis Bienvenüe2016-04-281-1/+11
| |
* | Use `locales` as a default value of `locale_dirs`Takeshi KOMIYA2016-04-251-1/+1
| |
* | merge with stableshimizukawa2016-04-181-28/+48
|\ \ | |/
| * Initialize suppress_warnings on Config.pre_init_values()Takeshi KOMIYA2016-04-171-30/+44
| |
| * Refactor needs_sphinxTakeshi KOMIYA2016-04-171-3/+5
| |
| * Fix #2436: Sphinx does not check version by :confval:`needs_sphinx` if ↵Takeshi KOMIYA2016-04-161-0/+4
| | | | | | | | loading extensions failed
* | Merge with 'stable'shimizukawa2016-04-121-1/+1
|\ \ | |/
| * Fix #2395: Sphinx crashs if unicode character in image filenameTakeshi KOMIYA2016-04-101-1/+1
| |
* | Do not rebuild when nitpick mode has been changed.Robert Lehmann2016-04-041-2/+2
|/
* Merge branch '2327_toplevel_sectioning'Takeshi KOMIYA2016-03-031-0/+2
|\
| * Fix #2327: Add `latex_toplevel_sectioning` to switch the top level ↵Takeshi KOMIYA2016-03-021-0/+2
| | | | | | | | sectioning of LaTeX document.
* | Merge branch '2229_suppress_warnings'Takeshi KOMIYA2016-03-031-0/+1
|\ \ | |/ |/|
| * Add :confval:`suppress_warnings` to supress arbitrary warning messageTakeshi KOMIYA2016-02-231-0/+1
| |
* | Fix the confval type checker emits warnings if unicode is given to confvals ↵Takeshi KOMIYA2016-02-231-28/+33
|/ | | | which expects string value
* Add figure_language_filename to customize filename pattern for figure ↵Takeshi KOMIYA2016-02-221-0/+1
| | | | substitutions
* Highlighting fallbacks by defaultTakeshi KOMIYA2016-02-201-1/+1
| | | | | | | | | | In 423bf7b, I tried to add fallback mechanism to ``python3``. But it breaks the python3 highlighting on python2 environment. This adds ``'default'`` to highlighting languages; it works like ``'python3'``, but fallbacks if failed Highlighting. And this removes try-parse step from ``'python3'`` language. Now, it highlights regardless of runtime environments. Thanks to Yoshiki SHIBUKAWA.
* The default highlight language is now Python 3.Georg Brandl2016-02-141-1/+1
| | | | | | | | References: #2279. This means that source code is highlighted as Python 3 (which is mostly a superset of Python 2), and no parsing is attempted to distinguish valid code.
* Fixed #1099 -- allow the linkcheck builder to retry on errors.Alex Gaynor2016-02-131-0/+1
| | | | This is useful because if you run linkcheck often, you are likely to see lots of transient network errors, which usually disappear if you simply try again.
* Add EPUB 3 builder.SHIMIZU Taku2016-02-071-0/+3
|
* Merge pull request #2208 from tk0miya/2027_html_title_only_accepts_stringTakeshi KOMIYA2016-01-171-1/+1
|\ | | | | Fix #2027: ``make epub`` got errors if ``html_title`` is None
| * Fix #2027: ``make epub`` got errors if ``html_title`` is NoneTakeshi KOMIYA2016-01-011-1/+1
| | | | | | | | | | | | Sphinx does not expect setting None value as ``html_title`` in spite of documented. This changed that to deny None value as ``html_title``.
* | Merge branch 'stable'Georg Brandl2016-01-141-1/+1
|\ \ | |/ |/|
| * Obligatory copyright update.Georg Brandl2016-01-141-1/+1
| |
* | Fixes #1984: Hint None being valid for primary_domain.Robert Lehmann2015-09-111-2/+2
| |
* | Fixed #1786: Add configurable type hints.Robert Lehmann2015-09-111-39/+43
|/ | | | | This adds the option of giving, in addition to the type of the default value, hints about permissible types for configuration values.
* refs #1781: Setting `html_domain_indices` to a list raises a type check ↵shimizukawa2015-03-171-0/+6
| | | | warnings.
* pep8 fixesGeorg Brandl2015-03-081-11/+10
|
* Fix flake8.Georg Brandl2015-03-081-2/+1
|
* Merge branch 'apple-help' of git://github.com/al45tair/sphinxGeorg Brandl2015-03-081-1/+32
|\
| * Added some additional configuration variables for Apple Help.Alastair Houghton2015-01-151-2/+5
| | | | | | | | | | Removed Apple Help from quickstart conf.py. Added support for .lproj directories with pre-localised files for Apple Help.
| * Altered the way we use applehelp_locale slightly. Also altered its default ↵Alastair Houghton2015-01-141-1/+1
| | | | | | | | setting.