Commit Graph

10462 Commits

Author SHA1 Message Date
Takeshi KOMIYA
47918f365e Merge branch 'master' into refactor_config 2018-04-02 10:47:47 +09:00
Takeshi KOMIYA
bc63dc8450 Rename Config.read() to Config.from_conf_py() 2018-04-01 20:07:45 +09:00
jfbu
39ce9d9ab9 Fix Unicode Character U+229E (SQUARED PLUS) breaks Sphinx docs in LaTeX
refs: PR #4794
2018-03-30 00:11:17 +02:00
jfbu
1460e261fa Update CHANGES for PR #4793 2018-03-29 23:49:48 +02:00
Jean-François B
034e69fe73
Merge pull request #4793 from jfbu/larger_typeface_in_xetex_code_blocks
Let LaTeX with XeTeX/LuaTeX use normal sized typeface in code-blocks
2018-03-29 23:43:25 +02:00
Takeshi KOMIYA
448db58d88
Merge pull request #4760 from tk0miya/add_override_option
Add a new keyword argument ``override`` to Application APIs
2018-03-29 23:26:08 +09:00
jfbu
415126d42f Fix LaTeX style file version number
(I should perhaps have left it standing, as this may cause merge
conflicts if merged after long delay)
2018-03-29 15:28:26 +02:00
jfbu
3839d74aa8 Typo (Sphinx version number wrong in documentation of `'fvset'` key) 2018-03-29 15:22:34 +02:00
Takeshi KOMIYA
90c55f387a
Merge pull request #4794 from kenyon/patch-1
installation.rst: correct Windows Run keyboard shortcut
2018-03-29 22:19:20 +09:00
Takeshi KOMIYA
d16c7a196f
Merge pull request #4788 from tk0miya/4787_update_docs
Fix #4787: Update docstrings for add_directive()
2018-03-29 22:06:39 +09:00
Takeshi KOMIYA
72a0896bd0 Merge branch 'master' into add_override_option 2018-03-29 22:03:05 +09:00
Takeshi KOMIYA
c644ad7cae
Merge pull request #4700 from stephenfin/doc-rework
Doc rework (user guide, part 3)
2018-03-29 22:00:09 +09:00
Takeshi KOMIYA
61828786a6 Deprecate app.override_domain() 2018-03-29 21:59:29 +09:00
Takeshi KOMIYA
a24601aa24 Deprecate Config.check_unicode() 2018-03-29 10:32:49 +09:00
Takeshi KOMIYA
00e9e560b1 Fix confoverrides parameter was ignored 2018-03-29 10:24:48 +09:00
Kenyon Ralph
7581e90dce
installation.rst: correct Windows Run keyboard shortcut
You type Windows-R to get the Run dialog, not Control-R.
2018-03-28 18:04:05 -07:00
jfbu
8c55793902 Let LaTeX with XeTeX/LuaTeX not use small typeface in code-blocks
closes: #4791
2018-03-28 23:17:34 +02:00
Takeshi KOMIYA
febca7cf26 Merge branch 'master' into refactor_config 2018-03-28 01:01:03 +09:00
Takeshi KOMIYA
2f1cb1e184 Instantiate Config object simply if confdir not given 2018-03-28 00:58:41 +09:00
Takeshi KOMIYA
181fb1093d Now Config.read() takes a filename instead (dirname, filename) 2018-03-28 00:58:40 +09:00
Takeshi KOMIYA
0df4a121bd Fix mypy violations 2018-03-28 00:58:40 +09:00
Takeshi KOMIYA
045e8c80f3
Merge pull request #4781 from tk0miya/drop_env._nitpick_ignore
Deprecate env._nitpick_ignore
2018-03-27 23:43:24 +09:00
Takeshi KOMIYA
dfe20f116a
Merge pull request #4780 from tk0miya/drop_TYPE_CHECKING_in_master
Drop typing.TYPE_CHECKING
2018-03-27 23:42:58 +09:00
Stephen Finucane
2565195a44 doc: Add "domains" doc to usage guide
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
893a7ac1f2 doc: Rework "showing code" section
This makes the section more consistent with the rest of the document.
This adds a new section to the basics guide for doctest blocks, which
are a docutils thing. It also update the default highlight language,
which is now 'default'.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
ecd193cde8 doc: Extend "directives" doc, part 3
Finish building up this combined doc by adding the contents of the
former 'misc' document. There are no changes to the content.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
e01e9e34bb doc: Extend "directives" doc, part 2
Continue building up this combined doc by adding the contents of the
former 'code' document. There are no changes to the content.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
0641209da9 doc: Extend "directives" doc, part 1
Continue building up this combined doc by adding the contents of the
former 'para' document. There are no changes to the content.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
fdf91e502c doc: Add "directives" doc to restructuredtext section
There's simply no need to artificially divide up the documentation on
directives into multiple, hard-to-navigate documents. Gather all
documentation for directives into one easy-to-reference guide, starting
with the former 'toctree' document. There are no changes to the content.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
0167c009c2 doc: Rework "markup" documents
These are going to form the basis of a future 'directive' document, so
we do some cleanup before this happens. There are a number of cleanup
items.

- Some paragraphs are reworded or clarified
- Semantic markup is added where possible
- Everything is wrapped to ~80 characters

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:28 +01:00
Stephen Finucane
08ff8160b8 doc: Add "field-lists" doc to restructuredtext section
These are very poorly documented at present, especially given their
power and use in basically all non-Napoleon based Python documentation.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:37:25 +01:00
Stephen Finucane
3fcb1bd2dd doc: Add "roles" doc to restructuredtext section
This is essentially the 'markup/inline' with a few small fixes. There
are also some modifications to the basic rST guide to highlight what a
role is; we were doing this for directives but not roles.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:34:36 +01:00
Stephen Finucane
9c2ab8c3bb doc: Add "restructuredtext" section to usage guide
This is taken from the existing 'rest' documents. Little to no
modifications are necessary, thankfully.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-03-27 15:34:26 +01:00
Takeshi KOMIYA
aa1073cfe1 Fix #4787: Update docstrings for add_directive() 2018-03-27 23:10:22 +09:00
Takeshi KOMIYA
7aaa4948f5 The dirname argument for eval_config_file() is now required 2018-03-27 01:33:07 +09:00
Takeshi KOMIYA
2a43b44ec6 Use `cls` variable to instantiate 2018-03-27 01:29:50 +09:00
Takeshi KOMIYA
0f3fa689a4 Deprecate env._nitpick_ignore 2018-03-26 02:05:58 +09:00
Takeshi KOMIYA
f9ae69d9b0 Drop typing.TYPE_CHECKING 2018-03-26 02:02:19 +09:00
Takeshi KOMIYA
5734d8ad02
Merge pull request #4779 from thomashk0/fix-win-lcmessages
Handle missing LC_MESSAGES attribute on Windows
2018-03-26 01:23:00 +09:00
Thomas Hiscock
2d9e7f9baa Handle missing LC_MESSAGES attribute on Windows
This small fix handles the case where LC_MESSAGES is not defined
in Python's locale module (e.g., on Windows).
2018-03-25 11:01:59 +02:00
Takeshi KOMIYA
42263a07a6
Merge branch 'master' into add_override_option 2018-03-24 00:44:11 +09:00
Takeshi KOMIYA
69383f83bd
Merge pull request #4768 from cocoatomo/patch-1
Minor typo
2018-03-24 00:43:01 +09:00
Takeshi KOMIYA
13455067e8 Fix mypy violations 2018-03-24 00:42:41 +09:00
Takeshi KOMIYA
78cbf96158 Deprecate Config.check_types() 2018-03-24 00:29:11 +09:00
Takeshi KOMIYA
3d8cb12497 Raise ExtensionError from Config class instead application class 2018-03-24 00:27:03 +09:00
Takeshi KOMIYA
e4ecb97d5a refactor testcase for config 2018-03-23 23:41:09 +09:00
Takeshi KOMIYA
1cce27c302 Refactor: Move correct-copyright-year to config-inited handler 2018-03-23 23:41:09 +09:00
Takeshi KOMIYA
ba83214386 Refactor: Add Config.read() as a constructor
To simplify Config.__init__() method, this separates conf.py parsing
feature to Config.read() method.
This allows to instantiate config object simply.
2018-03-23 23:40:28 +09:00
cocoatomo
c0ec1ab23e
Minor typo 2018-03-22 23:20:02 +09:00
Takeshi KOMIYA
f26db5b228
Merge pull request #4742 from tk0miya/refactor_enumerable_nodes
Refactor enumerable nodes
2018-03-21 23:41:38 +09:00