Commit Graph

88 Commits

Author SHA1 Message Date
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
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
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
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
Takayuki Shimizukawa
b2997a652e Fix Python version compatibility with Jinja2 2.7. closes #1173 2013-05-29 09:16:14 +00:00
Jonathan Waltman
4e715ff0bf Avoid unknown option warnings for use_2to3 in setup.py under Python 2. 2012-11-11 01:33:52 -06:00
Georg Brandl
4763419db1 Update Sphinx URL to new sphinx-doc.org domain. 2012-11-04 11:28:12 +01:00
Jonathan Waltman
025ae13703 setup.py: Update "requires" to docutils>=0.10.0 under Python 3.3 2012-11-03 12:29:55 -05:00
Jonathan Waltman
0e44cb20a1 setup.py: Require Docutils >= 0.10 when running under Python >= 3.3 2012-11-03 11:11:38 -05:00
Georg Brandl
2671d55436 Update required Python to 2.5. 2012-10-30 09:55:44 +01:00
Georg Brandl
de117ea974 Pre-release updates. 2011-10-09 23:25:40 +02:00
Georg Brandl
608edd427c Fix #758: do not install custom_fixers and tests "packages". 2011-10-05 15:31:50 +02:00
Georg Brandl
142c15093a Upgrade the version requirements. 2011-09-25 08:31:27 +02:00
Georg Brandl
87cebf1a07 #98: Add autopackage script. (Undocumented for now.) 2011-01-04 19:20:22 +01:00
Georg Brandl
867b421178 Invert setup.py uuid logic. 2010-08-21 22:14:57 +02:00
Daniel Neuhäuser
c3905938ea Use uuid as a requirement in the setup.py and mention it in the documentation for Python 2.4 2010-08-15 20:48:19 +02:00
Daniel Neuhäuser
e20b61b06e Rename __unicode__ to __str__ 2010-05-09 14:57:18 +02:00
Daniel Neuhäuser
4f13ff1ab7 Added a distribute_setup to replace ez_setup 2010-05-08 22:33:36 +02:00
Daniel Neuhäuser
89cb0714b1 Removed ez_setup which doesn't work with python3 and added use_2to3 for distribute 2010-05-08 20:34:19 +02:00