You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the language is ja, the following warning will occur. Warning: :1: (warning/2) Text or phrase interpreted inline refers to a starting string without an ending string. [document]
#13289
Open
nomura-kei opened this issue
Feb 2, 2025
· 0 comments
If the language is ja, the following warning will occur.
Warning: :1: (warning/2) Text or phrase interpreted inline refers to a starting string without an ending string. [document]
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
project = 'test'
copyright = '2025, test'
author = 'test'
release = '0.0.1'
extensions = [
'sphinx.ext.autodoc',
]
templates_path = ['_templates']
exclude_patterns = []
# !!! Occurs only when language = 'ja' !!!
language = 'ja'
html_theme = 'alabaster'
html_static_path = ['_static']
index.rst
.. test documentation master file, created by
sphinx-quickstart on Sun Feb 2 20:40:46 2025.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
test documentation
==================
Add your content using ``reStructuredText`` syntax. See the
`reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
documentation for details.
.. toctree::
:maxdepth: 2
:caption: Contents:
modules
boo
Describe the bug
If the language is ja, the following warning will occur.
Warning: :1: (warning/2) Text or phrase interpreted inline refers to a starting string without an ending string. [document]
sphinx/locale/ja/LC_MESSAGES/sphinx.po:4083
NG: msgstr "%sの別名です。"
OK: msgstr "%s の別名です。"
How to Reproduce
boo.py
conf.py
index.rst
command
Environment Information
Sphinx extensions
Additional context
No response
The text was updated successfully, but these errors were encountered: