sphinx-doc / sphinx-doc/sphinx

`translatable` node is not documented on the page 'Doctree node classes added by Sphinx'

Open
#9,409 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

awaiting:review type:docs
Dominant language
Python
Stars
8k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

This node allows supplying custom translation strings.

Link to source: https://github.com/sphinx-doc/sphinx/blob/996c5855bcda6cc49986bcecd18290c9fcd5e06c/sphinx/addnodes.py#L47

It is not present on the Doctree node classes added by Sphinx nor i18n API.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the translatable node definition in sphinx/addnodes.py around line 47, then review the “Doctree node classes added by Sphinx” and i18n API pages linked in the issue. Document what the node does and how it supplies custom translation strings in the appropriate documentation page or pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.