Fix: PyAPI Doc: unexpected indentation error

7413031dd6 introduced an error and related warning when generating Py API docs:

```
/blender/doc/python_api/sphinx-in/bpy.app.translations.rst:132: ERROR: Unexpected indentation.
...
/blender/doc/python_api/sphinx-in/bpy.app.translations.rst:132: WARNING: Lexing literal_block 'See :func:`pgettext` notes.' as "python3" resulted in an error at token: '`'. Retrying in relaxed mode.
```

Pull Request: https://projects.blender.org/blender/blender/pulls/123097
This commit is contained in:
Nathan Burnham
2024-06-11 19:55:24 +02:00
committed by Bastien Montagne
parent 354b1a5db9
commit 6ea1d2131d

View File

@@ -620,6 +620,7 @@ PyDoc_STRVAR(app_translations_pgettext_n_doc,
"\n"
" Extract the given msgid to translation files. This is a no-op function that will "
"only mark the string to extract, but not perform the actual translation.\n"
"\n"
" .. note::\n"
" See :func:`pgettext` notes.\n"
"\n"