Update: Traduction pour ablog
This commit is contained in:
parent
ced019ec0d
commit
65d5c686dc
2 changed files with 9 additions and 3 deletions
|
@ -12,6 +12,6 @@ sphinxcontrib-bibtex
|
||||||
sphinxcontrib-images
|
sphinxcontrib-images
|
||||||
reportlab
|
reportlab
|
||||||
ablog
|
ablog
|
||||||
#sphinx-storymaker
|
sphinx-storymaker
|
||||||
#sphinx_nervproject_theme
|
sphinx_nervproject_theme
|
||||||
sphinx-fasvg
|
sphinx-fasvg
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
|
import ablog
|
||||||
|
|
||||||
project = 'Nerv Project'
|
project = 'Nerv Project'
|
||||||
basename = 'nervproject'
|
basename = 'nervproject'
|
||||||
|
@ -91,7 +92,7 @@ extensions = [
|
||||||
'sphinx_issues',
|
'sphinx_issues',
|
||||||
'sphinx_sitemap',
|
'sphinx_sitemap',
|
||||||
'sphinx_fasvg',
|
'sphinx_fasvg',
|
||||||
# 'sphinx_storymaker',
|
'sphinx_storymaker',
|
||||||
]
|
]
|
||||||
|
|
||||||
if use_ablog:
|
if use_ablog:
|
||||||
|
@ -105,6 +106,11 @@ if use_bibtex:
|
||||||
|
|
||||||
locale_dirs = ['locale/']
|
locale_dirs = ['locale/']
|
||||||
|
|
||||||
|
if use_ablog:
|
||||||
|
locale_dirs.append(
|
||||||
|
os.path.join(ablog.get_html_templates_path(), '..', 'locale'),
|
||||||
|
)
|
||||||
|
|
||||||
images_config = {
|
images_config = {
|
||||||
"default_show_title": True,
|
"default_show_title": True,
|
||||||
"override_image_directive": True,
|
"override_image_directive": True,
|
||||||
|
|
Loading…
Reference in a new issue