Commit Graph
103 Commits
Author SHA1 Message Date
Takeshi KOMIYA 2ccb75c98f Bundle sphinx/pycode/Grammar-*.pickle (ref: #2765)
So far, sphinx generates the grammar files on demand.
It causes uninstallation does not remove whole of files.
With this fix, Sphinx bundles the files in the package.
2016-07-12 12:15:12 +09:00
Ville Skyttä e8a8be5788 Handle more file closing with "with" 2016-07-07 18:53:34 +03:00
Avram Lubkin 76b92ad24f Use html5lib to parse HTML in tests instead of XMLParser 2016-05-28 02:51:21 -04:00
Takeshi KOMIYA 2578f47664 Merge branch 'stable' 2016-05-26 20:55:26 +09:00
Dmitry Shachnev 65638c12b8 Make our custom compile_catalog command work with Babel 2.3
In new Babel versions, self.domain is a list rather than a string.
2016-05-17 15:43:59 +03:00
Darragh Bailey 0b9ee8d451 Switch to using requests for better charset detection
Python requests does a better job of detecting the charsets of
webpages, performing automatic decoding when the text content is
requested, avoiding issues around needing to do detection.

This allows checking the following urls & anchors correctly:

    http://www.yaml.org/spec/1.2/spec.html#id2761803
    http://www.yaml.org/spec/1.2/spec.html#id2765878
    http://www.yaml.org/spec/1.2/spec.html#id2765878
2016-04-21 13:20:02 +01:00
Alex Gaynor 7b759b1db7 Removed ez_setup.py
There are no common cases where it will be used anymore:

* pip always installs stuff with setuptools
* Modern pythons preinstall setuptools
2016-02-13 10:14:16 -05:00
Takeshi KOMIYA fd674ef9f9 Fix #2199: Use `imagesize` package to obtain size of images 2016-02-10 00:46:22 +09:00
Takayuki SHIMIZUKAWA 4391521b81 Merge pull request #2087 from cppformat/optional-rtd
refs #2087, #2086, #1845, #2097: Make sphinx_rtd_theme optional
2016-01-15 11:55:09 +09:00
Takeshi KOMIYA e4b9eb51f6 Merge branch 'stable' 2016-01-11 00:27:26 +09:00
shimizukawa dc0873adf6 Fix #1820: On Windows, console coloring is broken with colorama version 0.3.3. Now sphinx use colorama>=0.3.5 to avoid this problem. 2016-01-06 07:27:34 +09:00
vitaut 12dde8afdb Make sphinx_rtd_theme optional 2015-10-16 06:58:12 -07:00
Takayuki SHIMIZUKAWA a7723ff6f4 Merge pull request #2009 from ProgVal/determinism
Make files generation at install deterministic
2015-09-13 12:39:28 +09:00
Anthony Johnson 8cf1612e37 Tune sphinx_rtd_theme version
With some recent changes that are slightly backwards compatible, we were going
to bump the version of the RTD theme. We wanted to drop the current version
pattern for the semver scheme, but Sphinx's requirement on the RTD theme is
pinned at >=0.1,<0.2. For now, we're stuck releasing on the current scheme.

This relaxes the versioning requirement for the theme, with 2.0 being the
following release that could contain backwards incompatible API changes. We'd
likely wait to bump to 1.0 until the next Sphinx release, as to not break
experience for users.

Refs snide/sphinx_rtd_theme#244
2015-09-13 10:08:00 +09:00
Takayuki SHIMIZUKAWA bf795b9000 Merge pull request #2031 from agjohnson/rtd-theme-version
Tune sphinx_rtd_theme version
2015-09-13 10:00:16 +09:00
shimizukawa 6bce0a1c10 Avoid "2.0" version of Babel because it doesn't work with Windows environment. Closes #1976.
see also:
* https://github.com/mitsuhiko/babel/issues/174
* https://github.com/mitsuhiko/babel/pull/188

Version spec syntax "babel>=1.3,!=2.0" is following PEP440: https://www.python.org/dev/peps/pep-0440/#version-exclusion and it works with pip 6.0 or later (I didn't check before pip 6.0).
2015-09-13 09:40:14 +09:00
Anthony Johnson e6ddd326d1 Tune sphinx_rtd_theme version
With some recent changes that are slightly backwards compatible, we were going
to bump the version of the RTD theme. We wanted to drop the current version
pattern for the semver scheme, but Sphinx's requirement on the RTD theme is
pinned at >=0.1,<0.2. For now, we're stuck releasing on the current scheme.

This relaxes the versioning requirement for the theme, with 2.0 being the
following release that could contain backwards incompatible API changes. We'd
likely wait to bump to 1.0 until the next Sphinx release, as to not break
experience for users.

Refs snide/sphinx_rtd_theme#244
2015-09-09 11:38:03 -07:00
Valentin Lorentz a9323e6f59 Make Javascript locale deterministic. 2015-08-19 20:38:23 +02:00
Takayuki SHIMIZUKAWA b557b5665c Merge pull request #1759 from bitprophet/patch-1
Version-lock unlocked dependencies
2015-03-09 10:52:17 +09:00
Georg Brandl 548a6dc22e final pep8 fixes; reactivate most warnings in flake8 2015-03-08 17:15:54 +01:00
Jeff Forcier 2f76149acf Version-lock unlocked dependencies
As the author of one of the new theme dependencies (`alabaster`), having a wholly unqualified requirement scared me a bit re: ability to make non-bugfix releases without downstream users' sites changing underneath them in unexpected (visual) ways without them consciously upgrading Sphinx versions.

`alabaster` uses semantic versioning so the lock reflects this.

For consistency, I also updated the other new theme dependency similarly, and made `babel` match its fellow non-theme dependencies in having an optimistic (vs semantic) version lock, but I can revert these changes if desired.
2015-03-07 07:35:04 -08:00
shimizukawa bc6df36d37 add extras_require for websupport and test. 2015-03-07 16:53:32 +09:00
shimizukawa cdc4f5d8bb fix http/https 2015-02-28 01:10:03 +09:00
shimizukawa 68021b0bd3 refs #1346. Add new default theme.
- Rename 'default' theme to 'classic'.
  - rename `themes/default` to `themes/classic`
  - add new `themes/default` theme that derives from 'classic' theme for compatibility.
- setup.py depends to 'alabaster' and 'rtd' theme.
- theming.py import and run `alabaster.get_path()` to append path for alabaster theme.
- theming.py also import and run `sphinx_rtd_theme.get_html_theme_path()` to append path.
- sphinx-quickstart will generate `html_theme = 'alabaster'`.
- If user use 'default', sphinx emit notice (WARNING) suggestion to use 'alabaster' or use 'classic'.
- add documentation for new alabaster and readthedoc theme and link to original pages:
  - https://pypi.python.org/pypi/alabaster
  - https://pypi.python.org/pypi/sphinx_rtd_theme
2015-02-24 01:01:54 +09:00
shimizukawa a9c1ab9828 Merge branch 'stable'
Conflicts:
	setup.py
2015-01-06 22:26:56 +09:00
shimizukawa ddb7c9945d Exclude 'tests' instead of 'test'. Sphinx-1.2.3 wheel package includes 'tests' directory. It might be happen by this wrong parameter. 2015-01-06 22:23:05 +09:00
Georg Brandl fadfa5ecf7 Require newer docutils and Pygments. 2015-01-01 19:02:19 +01:00
Takayuki Shimizukawa 8d514be7a8 Provides environment marker (PEP-0426) to install colorama on win32 environment for installation from wheel. 2014-12-13 18:34:55 +09:00
Takayuki Shimizukawa 4ee821efa3 add PyPI classifiers for sphinx 2014-11-27 09:58:53 +09:00
Takayuki Shimizukawa 7207b614b6 merge with stable 2014-09-02 00:11:32 +09:00
Takayuki Shimizukawa b7629471e5 run make check and correct errors. 2014-09-01 23:16:54 +09:00
Takayuki Shimizukawa eaed3ca9f1 Automatically compile `*.mo files from *.po` files. 2014-08-03 16:22:08 +09:00
anatoly techtonik 61ec2c6d23 raise six requirement to 1.4+ when UserString was added 2014-07-28 09:04:32 +00:00
Takayuki Shimizukawa 6ab7a2cbec Windows color console support. update for pull request #252. 2014-07-05 01:16:33 +09:00
Takayuki Shimizukawa 6746c83a18 * Drop Python-3.2. And now, removing 2to3 mechanism procedure has been completed. Closes #1350.
Pygments-2.0 will drop Python-3.2.
The snowballstemmer package that is referred from sphinx-1.3 (that is merged at pull request #214) has not supported Python-3.2.

We decided to drop the Python-3.2.

see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs
2014-05-27 23:17:36 +09:00
Takayuki Shimizukawa 15879896fd remove custom_fixers. it is not needed anymore. 2014-05-03 13:26:36 +09:00
Takayuki Shimizukawa 956d6286bf remove 2to3. #1350. 2014-05-01 17:27:27 +09:00
Takayuki Shimizukawa 68290a266c introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350. 2014-04-29 11:46:47 +09:00
Georg Brandl 18755458a1 merge with stable 2014-03-25 09:31:44 +01:00
Takayuki Shimizukawa b751d5db52 Fix: Generated i18n sphinx.js files are missing message catalog entries from '.js_t' and '.html'. The issue was introduced from Sphinx-1.1. Closes #1419 2014-03-21 10:58:41 +09:00
Georg Brandl afd6c0b28d Merged in shibu/sphinx/add_stemmer (pull request #214) 2014-03-04 19:10:19 +01:00
Georg Brandl c3836b3188 Merged in shimizukawa/sphinx-drop-old-docutils (pull request #206)
Drop docutils-0.7, 0.8, 0.9 support.
2014-03-01 08:20:21 +01:00
Georg Brandl 1eb23c62ce merge with stable 2014-01-22 18:13:49 +01:00
Georg Brandl 216c664187 remove mention of development egg. 2014-01-22 18:04:44 +01:00
shibukawa yoshiki ca63dba2ad merge default 2014-01-22 00:10:09 -08:00
shibukawa yoshiki a01e56fde9 add 14 languages search support 2014-01-20 02:09:21 -08:00
Takayuki Shimizukawa 2050285ebf Drop docutils-0.7, 0.8 and 0.9 support 2013-12-15 16:25:01 +09:00
Takayuki Shimizukawa f7cb510ebd Drop python-3.1 and remove support codes 2013-12-15 16:04:23 +09:00
Takayuki Shimizukawa a8fc938d1b Drop python-2.5 and remove 2.4,2.5 support codes 2013-12-15 14:16:53 +09:00
Takayuki Shimizukawa e81a2d884e Added a ez_setup to replace distribute_setup. ez_setup become defacto. Closes #1264 2013-10-03 05:55:58 +00:00