3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-24 06:31:28 +00:00

Docs: Fix cell option_spec inheritance

Doesn't actually resolve the `:noindex:` failure, which is how I discovered the option wasn't being inherited, but it is a step in the right direction.
This commit is contained in:
Krystine Sherwin 2025-11-22 15:39:22 +13:00
parent 39e3e39241
commit 069f6ef348
No known key found for this signature in database
2 changed files with 7 additions and 5 deletions

View file

@ -245,12 +245,13 @@ class CellNode(TocNode):
"""A custom node that describes an internal cell."""
name = 'cell'
option_spec = {
option_spec = TocNode.option_spec.copy()
option_spec.update({
'title': directives.unchanged,
'ports': directives.unchanged,
'properties': directives.unchanged,
}
})
doc_field_types = [
CellGroupedField('props', label='Properties', rolename='prop',