mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-13 01:42:01 -05:00
Added i18n support using Babel and Spanish translation
This commit is contained in:
1 parent
ea8988043c
commit
7dadea5172
8 files changed
+407
No files matched your search
@@ -4,6 +4,7 @@
|
||||
.. _github: https://www.github.com/snide/sphinx_rtd_theme
|
||||
|
||||
"""
|
||||
from babel.messages import frontend as babel
|
||||
from setuptools import setup
|
||||
from sphinx_rtd_theme import __version__
|
||||
|
||||
@@ -43,4 +44,13 @@ setup(
|
||||
'Topic :: Documentation',
|
||||
'Topic :: Software Development :: Documentation',
|
||||
],
|
||||
install_requires= [
|
||||
'Sphinx>=1.4.1',
|
||||
],
|
||||
cmdclass = {
|
||||
'compile_catalog': babel.compile_catalog,
|
||||
'extract_messages': babel.extract_messages,
|
||||
'init_catalog': babel.init_catalog,
|
||||
'update_catalog': babel.update_catalog
|
||||
},
|
||||
)
|
||||
Reference in new issue
Block a user