Skip to content
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

make gettext fails to extract sidebar titles conditionally #6598

Open
sfc-gh-mpeters opened this issue Jul 22, 2019 · 0 comments
Open

make gettext fails to extract sidebar titles conditionally #6598

sfc-gh-mpeters opened this issue Jul 22, 2019 · 0 comments

Comments

@sfc-gh-mpeters
Copy link

Issue
make gettext does not extract a sidebar title when the sidebar content includes any one of the following:

  • List item
  • Numbered item
  • :raw: RST directive

To Reproduce
Steps to reproduce the behavior:

Add a sidebar similar to the following to an RST file:


  - <link>
  - <link>```

conf.py:

```locale_dirs = ['./locale']
language = 'fr'
gettext_compact = False```

Commands:

```make gettext```

**Expected behavior**
The sidebar title ("Related Topics") is extracted to the POT file along with the other strings.

**Environment info**
- OS: Mac Mojave
- Python version: 3.7.3
- Sphinx version: 2.2.11_2
- Sphinx-doc version: 2.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants