ni / ni/nimi-python

Enumerated attributes should have a link points to its enum

Open
#1,696 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

codegen docs
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

From developer's point of view, it will be great that on the documentation for an enumerated attribute such as (nidcpower) auto_zero should have link to its enum to show the list of possible values. Currently only the Datatype shows an "enums" keyword for example enums.AutoZero and developers/users need to expand the "Enums" to look for the corresponding enum.

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 by locating the documentation generation or rendering entry point for enumerated attributes such as nidcpower auto_zero and the Enums section. Trace how the Datatype currently exposes enums.AutoZero, then determine how the rendered attribute can link directly to that enum; done means the documentation shows a usable link to the corresponding enum values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.