Update: Traduction pour ablog

This commit is contained in:
Kujiu 2020-05-27 16:47:25 +02:00
parent ced019ec0d
commit 65d5c686dc
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 9 additions and 3 deletions

View file

@ -12,6 +12,6 @@ sphinxcontrib-bibtex
sphinxcontrib-images
reportlab
ablog
#sphinx-storymaker
#sphinx_nervproject_theme
sphinx-storymaker
sphinx_nervproject_theme
sphinx-fasvg

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import os
import ablog
project = 'Nerv Project'
basename = 'nervproject'
@ -91,7 +92,7 @@ extensions = [
'sphinx_issues',
'sphinx_sitemap',
'sphinx_fasvg',
# 'sphinx_storymaker',
'sphinx_storymaker',
]
if use_ablog:
@ -105,6 +106,11 @@ if use_bibtex:
locale_dirs = ['locale/']
if use_ablog:
locale_dirs.append(
os.path.join(ablog.get_html_templates_path(), '..', 'locale'),
)
images_config = {
"default_show_title": True,
"override_image_directive": True,