Commit Graph

9576 Commits

Author SHA1 Message Date
jfbu
24c9103a2c Update CHANGES 2017-12-21 00:19:23 +01:00
jfbu
c7a4283ff7 Update CHANGES for PR #4311 2017-12-21 00:04:40 +01:00
jfbu
91350f35fa Remove hard-coded numbers to let LATEXSECTIONNAMES become patchable 2017-12-20 23:55:56 +01:00
jfbu
43bed034cd Add test for latex obey numfig_secnum_depth feature 2017-12-20 23:28:24 +01:00
jfbu
7ea4fa535a Make LaTeX obey numfig_secnum_depth for figures, tables, code-blocks
Notes:

- also fixes #4314

- although numbering of figures, tables and code-blocks will be same as
  in html, due to issue #4318 the numbering of enclosing sectioning units
  themselves may go deeper in html than PDF via latex. But this commit
  makes sure numbering goes to minimal depth needed by numfig_secnum_depth
2017-12-20 23:27:39 +01:00
jfbu
ff7e44a511 Merge branch 'stable' 2017-12-20 23:23:31 +01:00
jfbu
8c72f98c78 Update CHANGES for PR #4316 2017-12-20 22:45:22 +01:00
jfbu
dab7b49cd9 Correct merge error in writers/latex.py 2017-12-20 22:19:35 +01:00
jfbu
0a66d51cbc Merge branch 'stable' 2017-12-20 21:52:45 +01:00
Jean-François B
fa20b7af5c
Merge pull request #4316 from jfbu/4315_toplevel_sectioning
4315 toplevel sectioning
2017-12-20 21:46:03 +01:00
jfbu
1ee2c2fb95 Re-use some existing test with extras 2017-12-20 21:30:05 +01:00
Takeshi KOMIYA
a95bc095c0
Merge pull request #4305 from tk0miya/refactor_registry
Refactor registry
2017-12-21 01:37:29 +09:00
Takeshi KOMIYA
e2bf2ef11d
Merge pull request #4166 from jahn/math_numfig
Number equations across pages and by section (fix #3991, #4080)
2017-12-21 00:39:44 +09:00
Takeshi KOMIYA
b07de53061 Fix mypy violation 2017-12-21 00:19:02 +09:00
Takeshi KOMIYA
90159b8143 Merge branch 'master' into refactor_registry 2017-12-21 00:16:32 +09:00
Jakob Lykke Andersen
42f557d4b0 Merge branch 'master' of github.com:sphinx-doc/sphinx 2017-12-20 09:06:22 +01:00
Jakob Lykke Andersen
c7a145cc18 C++, handle defaulted constrained template type parameters 2017-12-20 09:05:34 +01:00
Takeshi KOMIYA
26ed80d7d7
Merge pull request #4322 from stephenfin/the-great-toxification
The great toxification
2017-12-20 14:47:02 +09:00
Takeshi KOMIYA
771e122980
Merge pull request #4329 from pvcraven/patch-1
Add "Arcade" library documentation to examples
2017-12-20 14:32:58 +09:00
Paul V Craven
3fe218e759
Update arcade.academy link
Update http://arcade.academy link to use http instead of https.
2017-12-19 21:14:36 -06:00
Takeshi KOMIYA
f04260dc9c
Merge pull request #4323 from tk0miya/update_docs
doc: Remove mentions to deprecated options (both are removed at 1.3)
2017-12-20 10:45:53 +09:00
Takeshi KOMIYA
7054c0306a doc: Remove mentions to deprecated options (both are removed at 8c2fabe v1.3) 2017-12-20 10:43:13 +09:00
Paul V Craven
221aa470fa
Add "Arcade" library documentation to examples 2017-12-19 17:28:28 -06:00
Takeshi KOMIYA
b103b3c24a doc: Use anonymous link target for README 2017-12-20 01:28:07 +09:00
Takeshi KOMIYA
516cbec2f9
Merge pull request #4326 from stephenfin/readme-improvements
README: Fix typo
2017-12-20 01:05:12 +09:00
Stephen Finucane
ac9ae4d54b README: Fix typo
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 393f59d ("Improve README")
2017-12-19 16:02:05 +00:00
Stephen Finucane
a2a873d58a tox: Add documentation for all targets
This should make 'tox -av' more helpful.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:55:10 +00:00
Takeshi KOMIYA
b00f78311f
Merge pull request #4321 from stephenfin/readme-improvements
Readme improvements
2017-12-20 00:38:41 +09:00
Takeshi KOMIYA
838f7fc29a Add Domain.add_object_type() to update internal caches correctly 2017-12-20 00:31:43 +09:00
Takeshi KOMIYA
b4a1bddeaa
Merge pull request #4313 from tk0miya/update_math_doc
Fix doc: now eq role works whole of project
2017-12-20 00:26:53 +09:00
Stephen Finucane
638e646766 doc: Rework CONTRIBUTING to encourage use of tox
Embrace the tox-ified future. This explicitly asks users to use a
virtualenv to stop them shooting themselves in the foot.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:22:14 +00:00
Stephen Finucane
76bd631872 travis: Start using tox for testing
This allows us to validate and reuse the testing tools we use locally
for "gate" tests and moves us closer to the eventual goal of deprecating
the Makefile targets. This involves adding two new targets to the list
of default targets run by tox - docs and mypy.

Note that we don't use tox-travis because, wonderful though it may be,
configuring it to exclude as many of the tests as we want to exclude is
a little convoluted (we have a big test matrix).

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:21:42 +00:00
Stephen Finucane
a6f0ba0fc9 README: Cleanup badges
Add AppVeyor badge and include 'alt' attributes for the others.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:05:44 +00:00
Stephen Finucane
393f59da00 Improve README
We're going to be adding additional badges to this but, before we do
that, we should improve the README and remove a lot of the duplication
that has built up here.

The 'long_description' from 'setup.py' is moved into the README as there
is serious value in displaying this on GitHub, as much as there is value
in including the badges and other content from README.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:00:06 +00:00
Stephen Finucane
f74b6756ac setup.cfg: Restructure file
Place configuration of the package itself first in the file, followed by
configuration of other tools.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 12:06:16 +00:00
Takeshi KOMIYA
f98bc4becc
Merge pull request #4175 from stephenfin/the-great-toxification-5
The great toxification (part 5)
2017-12-19 15:21:24 +09:00
Stephen Finucane
fd1df0815b tox: Make further use of factor-conditional deps
This is how we reduce boilerplate [1]. Succinctness FTW.

[1] https://tox.readthedocs.io/en/latest/config.html#factors-and-factor-conditional-settings

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Stephen Finucane
5d812ccefc tox: Add 'coverage' target
Enabling coverage results in an increase in runtime, and while this may
be an acceptable compromise for some developers, it's not necessarily
something we need to run all the time. Move it to a separate target so
it can be run only by those who wish to use it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Stephen Finucane
c8d56236c9 tests: Ignore roots using 'collect_ignore'
This is slightly cleaner than how we're doing this at the moment.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Stephen Finucane
e243e82723 tests: Ignore tests using 'collect_ignore'
Per the pytest docs [1], this is the preferred way to ignore tests. This
necessitates removing the 'test-async' target as it no longer makes any
sense.

[1] https://docs.pytest.org/en/latest/example/pythoncollection.html

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Stephen Finucane
41c19ddf91 tests: Skip tests with missing binaries
While there are already some skips included here, they clearly aren't
doing their job and the test fail locally. Resolve this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Stephen Finucane
a102e8e29b setup.py: Include 'flake8' in 'test' requirements
We are using this in our testing and actually need it for the flake8
plugin, so include this in the list of 'test' requirements.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 19:44:05 +00:00
Oliver Jahn
9a39295291 add version 2017-12-18 06:41:50 -05:00
jfbu
72bffcf0f4 Add precision to docs of latex_toplevel_sectioning 2017-12-18 11:20:07 +01:00
jfbu
fcbabcd9b5 Merge branch 'stable'
Conflicts:
	sphinx/apidoc.py
	sphinx/application.py
	sphinx/quickstart.py

	modified:   CHANGES
	modified:   doc/config.rst
	modified:   doc/markup/inline.rst
	modified:   sphinx/application.py
	modified:   sphinx/builders/__init__.py
	modified:   sphinx/cmd/quickstart.py
	modified:   sphinx/ext/apidoc.py
2017-12-18 10:13:49 +01:00
jfbu
245876c6e7 Add test for latex_toplevel_sectioning 2017-12-18 08:27:59 +01:00
jfbu
af46ed16b0 Fixes #4315: latex_toplevel_sectioning induced \chapter in article class 2017-12-18 08:09:47 +01:00
Oliver Jahn
56d4e0c80d make math_numfig default to True 2017-12-17 14:02:32 -05:00
Oliver Jahn
27285dfeed use :rst:role: markup 2017-12-17 13:56:06 -05:00
jfbu
46b1896228 Again rewording docs about numfig_secnum_depth 2017-12-17 17:56:03 +01:00