-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translation of note #4
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have Paragraph-level markup
note
in some generated files (gitignored). If you clone the project and compile it,source/locale/zh_CN/LC_MESSAGES/reference/generated
will appear. In a file calledoptuna.create_study.po
we have some lines like this:the
.. note::"
above represents notes directive. Here is the rendered output:But it seems that this block cannot be changed with even slight modifications. For example, if we replace
URL
withU RL
like this:the output will crash:
This was not a problem when the doc is not generated automatically. You can find
.. note::
in some deprecated translations:doc-optuna-zh-cn/source/locale/zh_CN/LC_MESSAGES/reference/study.po
Line 503 in 85583f6
I guess probably this is due to the auto-generation mechanism and strict punctuation requirement of Sphinx note. Even changing
URL
toU L
will lead to crashed output. Currently I haven't found a good solution for this problem.The text was updated successfully, but these errors were encountered: