From 3566352bdbd21a2f6668d5f3da815ed6f8de3f50 Mon Sep 17 00:00:00 2001 From: shimizukawa Date: Sun, 20 Nov 2016 17:48:07 +0900 Subject: [PATCH] refs #3093: add tests --- tests/roots/test-intl/conf.py | 2 +- tests/roots/test-intl/figure.txt | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/tests/roots/test-intl/conf.py b/tests/roots/test-intl/conf.py index aafd9ba79..e465e75dc 100644 --- a/tests/roots/test-intl/conf.py +++ b/tests/roots/test-intl/conf.py @@ -6,5 +6,5 @@ keep_warnings = True templates_path = ['_templates'] html_additional_pages = {'index': 'index.html'} release = version = '2013.120' -gettext_additional_targets = ['index'] +gettext_additional_targets = ['index', 'image'] exclude_patterns = ['_build'] diff --git a/tests/roots/test-intl/figure.txt b/tests/roots/test-intl/figure.txt index b639a4ac1..e6ebfd7ce 100644 --- a/tests/roots/test-intl/figure.txt +++ b/tests/roots/test-intl/figure.txt @@ -34,3 +34,20 @@ image url and alt .. figure:: img.png :alt: img + +image on substitution +--------------------- + +.. |sub image| image:: i18n.png + +image under note +----------------- + +.. note:: + + .. image:: i18n.png + :alt: i18n + + .. figure:: img.png + :alt: img +