Commit Graph

10426 Commits

Author SHA1 Message Date
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
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
69383f83bd
Merge pull request #4768 from cocoatomo/patch-1
Minor typo
2018-03-24 00:43:01 +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
Takeshi KOMIYA
2d0e2557b8
Merge branch 'master' into refactor_enumerable_nodes 2018-03-21 14:40:58 +09:00
Takeshi KOMIYA
75eccc86d7 apidoc: Fix local variable is not initialized 2018-03-21 14:36:16 +09:00
Christer Bystrom
a7aac6956d Closes #4520 - acidic: Subpackage not in toc. The rule of skipping folders with only an empty __init__.py has been removed. The reason for this is that it was never working consistently in the first place and made the code unnecessary hard to reason about. Tests for the TOC generation have been added, as well as tests for the exclude mechanism since they are coupled. One test (test_ext_apidoc.py::test_exclude) has also been modified to reflect the new behaviour. 2018-03-21 14:35:58 +09:00
Takeshi KOMIYA
ad08b5b409
Merge pull request #4755 from stephenfin/issue/4738
codecov: Disable status checks
2018-03-21 11:47:03 +09:00
Takeshi KOMIYA
948f8c94d9
Merge pull request #4763 from tk0miya/4611_epubcheck
Fix existence check for JRE was broken
2018-03-21 01:23:56 +09:00
Stephen Finucane
cef28eedfe codecov: Disable status checks
We don't currently care if a commit changes our coverage metrics, so we
can disable the status checks that would enforce that.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #4738
2018-03-20 15:33:35 +00:00
Takeshi KOMIYA
d7a9c8638b
Merge pull request #4759 from tk0miya/reduce_the_loglevel_of_message_for_add_translator
Reduce the log level of message for add_translator()
2018-03-21 00:10:54 +09:00
Takeshi KOMIYA
a014caa4f0
Merge pull request #4761 from tk0miya/fix_confdir
Fix invalid __file__ variable is passed to conf.py
2018-03-21 00:10:23 +09:00
Takeshi KOMIYA
d8c107a61b Fix #4744: Add canonical URL to docs 2018-03-21 00:01:44 +09:00
Takeshi KOMIYA
cd08872cc0 Fix existence check for JRE was broken 2018-03-20 23:35:42 +09:00
Takeshi KOMIYA
f6e8b9897d Reduce the log level of message for add_translator()
This message might be useful for developers, not for users.
So I changed it to debug message from info leveled.
2018-03-20 23:10:14 +09:00
Takeshi KOMIYA
cf3de7d62b
Merge pull request #4758 from tk0miya/epub_escape_toc.ncx
epub: Fix docTitle elements of toc.ncx is not escaped
2018-03-20 23:08:10 +09:00
Takeshi KOMIYA
9716010313
Merge pull request #4757 from tk0miya/suppress_DeprecationWarning
test: Suppress DeprecationWarning
2018-03-20 23:07:37 +09:00
Takeshi KOMIYA
0a8e3f5087 Fix #4724: doc: an example of autogen is incorrect 2018-03-20 22:58:21 +09:00
Takeshi KOMIYA
4202c13fe8 Fix invalid __file__ variable is passed to conf.py 2018-03-20 22:52:17 +09:00
Takeshi KOMIYA
9891924485 epub: Fix docTitle elements of toc.ncx is not escaped 2018-03-20 20:28:02 +09:00
Takeshi KOMIYA
049df5d5e1 test: Suppress DeprecationWarning 2018-03-20 20:27:05 +09:00
Takeshi KOMIYA
a06e954bd8
Merge pull request #4749 from tk0miya/qthelp_templates
Qthelp templates
2018-03-20 01:45:26 +09:00
Takeshi KOMIYA
f2d4ebe9e8
Merge branch '1.7' into qthelp_templates 2018-03-20 01:43:46 +09:00
Takeshi KOMIYA
58d118c8a7
Merge pull request #4756 from tk0miya/4754_remove_unused_code
Fix #4754: sphinx/pycode/__init__.py raises AttributeError
2018-03-20 01:42:17 +09:00
Takeshi KOMIYA
c9fcaa3c14
Merge branch '1.7' into 4754_remove_unused_code 2018-03-20 01:41:57 +09:00
Takeshi KOMIYA
c320c29c60
Merge pull request #4747 from tk0miya/4688_remote_image_having_long_URL
4688 remote image having long url
2018-03-20 01:40:48 +09:00
Takeshi KOMIYA
0382ab6280 i18n: Make new messages translatable 2018-03-19 23:47:17 +09:00
Takeshi KOMIYA
2c7d08ee47 Merge branch '1.7' 2018-03-19 23:46:15 +09:00
Takeshi KOMIYA
1a0fe2b1ef
Merge pull request #4751 from tk0miya/2157_warning_helper_for_themes
Closes #2157: helper function ``warning()`` for HTML themes is added
2018-03-19 23:36:38 +09:00
Takeshi KOMIYA
d7ebcf6f45
Merge branch '1.7' into 4688_remote_image_having_long_URL 2018-03-19 23:34:39 +09:00
Takeshi KOMIYA
abcc31d945
Merge pull request #4752 from tk0miya/2286_handle_rendering_errors
Fix #2286: Sphinx crashes when error is happens in rendering HTML pages
2018-03-19 23:33:36 +09:00