Commit Graph

11405 Commits

Author SHA1 Message Date
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
jfbu
bf911b9f40 Update CHANGES for PR #4792 2018-03-28 22:56:22 +02:00
Jean-François B
3259ba9422
Merge pull request #4792 from jfbu/autosummary_latex_tablespec
Fix autosummary latex table colspec (closes #4790)
2018-03-28 22:40:32 +02:00
jfbu
c59a0ccae1 Fix autosummary latex table colspec (closes #4790) 2018-03-28 10:03:18 +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
e2d2a9ab7b
Merge pull request #4774 from tk0miya/4769_argument_for_staticmethods
Fix #4769: autodoc loses the first staticmethod parameter
2018-03-27 09:47:11 +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
9e0089b252 Fix #4769: autodoc loses the first staticmethod parameter 2018-03-24 00:53:07 +09: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
Takeshi KOMIYA
41f17aeb21 Merge branch '1.7' 2018-03-21 21:08:31 +09:00
Takeshi KOMIYA
991b471025 Bump version 2018-03-21 21:06:48 +09:00
Takeshi KOMIYA
d029b3d5c9 Bump to 1.7.2 final 2018-03-21 21:03:54 +09:00
Takeshi KOMIYA
f9753e30de Merge branch '1.7' 2018-03-21 20:55:30 +09:00
Takeshi KOMIYA
ce3019821b
Merge pull request #4766 from tk0miya/4520_apidoc
4520 apidoc
2018-03-21 20:00:47 +09:00
Takeshi KOMIYA
a35be4cc66 Update CHANGES 2018-03-21 14:55:09 +09:00
Takeshi KOMIYA
451168d292
Merge pull request #4764 from tk0miya/4744_add_canonical_url
Fix #4744: Add canonical URL to docs
2018-03-21 14:45:15 +09:00
Takeshi KOMIYA
00260936ed
Merge pull request #4762 from tk0miya/4724_fix_example_for_autogen
Fix #4724: doc: an example of autogen is incorrect
2018-03-21 14:42:07 +09:00