From 65d5c686dc92c5b5e7d19c01cf3e8b491b1b9ecf Mon Sep 17 00:00:00 2001 From: "kujiu (@ciredutemps)" Date: Wed, 27 May 2020 16:47:25 +0200 Subject: [PATCH] Update: Traduction pour ablog --- requirements.txt | 4 ++-- source/conf.py | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index bfa599b..0461735 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,6 @@ sphinxcontrib-bibtex sphinxcontrib-images reportlab ablog -#sphinx-storymaker -#sphinx_nervproject_theme +sphinx-storymaker +sphinx_nervproject_theme sphinx-fasvg diff --git a/source/conf.py b/source/conf.py index 7b93695..426679b 100644 --- a/source/conf.py +++ b/source/conf.py @@ -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,