mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix readthedocs compilation
This commit is contained in:
parent
18b2af113b
commit
2ea880c6fa
@ -1,13 +1,27 @@
|
||||
alabaster==0.7.10
|
||||
Babel==2.4.0
|
||||
docutils==0.13.1
|
||||
imagesize==0.7.1
|
||||
Jinja2==2.10.1
|
||||
MarkupSafe==1.0
|
||||
Pygments==2.2.0
|
||||
pytz==2017.2
|
||||
requests==2.20.0
|
||||
six==1.10.0
|
||||
snowballstemmer==1.2.1
|
||||
Sphinx==1.3.6
|
||||
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
|
||||
alabaster==0.7.12
|
||||
Babel==2.9.0
|
||||
certifi==2020.12.5
|
||||
chardet==4.0.0
|
||||
docutils==0.16
|
||||
idna==2.10
|
||||
imagesize==1.2.0
|
||||
Jinja2==2.11.3
|
||||
MarkupSafe==1.1.1
|
||||
packaging==20.9
|
||||
pkg-resources==0.0.0
|
||||
Pygments==2.8.1
|
||||
pyparsing==2.4.7
|
||||
pytz==2021.1
|
||||
requests==2.25.1
|
||||
six==1.15.0
|
||||
snowballstemmer==2.1.0
|
||||
Sphinx==3.5.3
|
||||
sphinx-php==1.0
|
||||
sphinx-rtd-theme==0.5.1
|
||||
sphinxcontrib-applehelp==1.0.2
|
||||
sphinxcontrib-devhelp==1.0.2
|
||||
sphinxcontrib-htmlhelp==1.0.3
|
||||
sphinxcontrib-jsmath==1.0.1
|
||||
sphinxcontrib-qthelp==1.0.3
|
||||
sphinxcontrib-serializinghtml==1.1.4
|
||||
urllib3==1.26.4
|
||||
|
@ -25,7 +25,8 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
#sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
if not on_rtd:
|
||||
sys.path.append(os.path.abspath('./../_exts/sphinx-php'))
|
||||
# sys.path.append(os.path.abspath('./../_exts/sphinx-php'))
|
||||
pass
|
||||
|
||||
|
||||
# adding PhpLexer
|
||||
@ -51,37 +52,38 @@ extensions = [
|
||||
'sphinx.ext.todo',
|
||||
]
|
||||
|
||||
try:
|
||||
import sensio.sphinx.refinclude
|
||||
except ImportError:
|
||||
print('sensio.sphinx.refinclude is not available')
|
||||
else:
|
||||
extensions += ['sensio.sphinx.refinclude']
|
||||
|
||||
try:
|
||||
import sensio.sphinx.configurationblock
|
||||
except ImportError:
|
||||
print('sensio.sphinx.configurationblock is not available')
|
||||
else:
|
||||
extensions += ['sensio.sphinx.configurationblock']
|
||||
|
||||
try:
|
||||
import sensio.sphinx.phpcode
|
||||
except ImportError:
|
||||
print('sensio.sphinx.phpcode')
|
||||
else:
|
||||
extensions += ['sensio.sphinx.phpcode']
|
||||
|
||||
try:
|
||||
import sensio.sphinx.bestpractice
|
||||
except ImportError:
|
||||
print('sensio.sphinx.bestpractice is not avaialble')
|
||||
else:
|
||||
extensions += ['sensio.sphinx.bestpractice']
|
||||
# desactivated
|
||||
# try:
|
||||
# import sensio.sphinx.refinclude
|
||||
# except ImportError:
|
||||
# print('sensio.sphinx.refinclude is not available')
|
||||
# else:
|
||||
# extensions += ['sensio.sphinx.refinclude']
|
||||
#
|
||||
# try:
|
||||
# import sensio.sphinx.configurationblock
|
||||
# except ImportError:
|
||||
# print('sensio.sphinx.configurationblock is not available')
|
||||
# else:
|
||||
# extensions += ['sensio.sphinx.configurationblock']
|
||||
#
|
||||
# try:
|
||||
# import sensio.sphinx.phpcode
|
||||
# except ImportError:
|
||||
# print('sensio.sphinx.phpcode')
|
||||
# else:
|
||||
# extensions += ['sensio.sphinx.phpcode']
|
||||
#
|
||||
# try:
|
||||
# import sensio.sphinx.bestpractice
|
||||
# except ImportError:
|
||||
# print('sensio.sphinx.bestpractice is not avaialble')
|
||||
# else:
|
||||
# extensions += ['sensio.sphinx.bestpractice']
|
||||
|
||||
#add configuration for api url
|
||||
|
||||
api_url = 'http://api.chill.social/master/%s'
|
||||
# api_url = 'http://api.chill.social/master/%s'
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
@ -104,9 +106,9 @@ copyright = '2014-2016, Champs-Libres, published under the terms of the GNU Free
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '1.0'
|
||||
version = '2.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.0'
|
||||
release = '2.0'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user