-
Notifications
You must be signed in to change notification settings - Fork 167
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
preferences: add description to preferences and autogenerate the docs #1869
base: main
Are you sure you want to change the base?
Conversation
AlexandraTrifan
commented
Dec 20, 2024
•
edited
Loading
edited
- Added an info button to display extra details in each preference.
- Create preferences using a macro.
- Scan for the macro when generating documentation and automatically populate it.
- Screenshots on how this looks like: doc_resources: add Scopy preferences screenshots #1884
All the preferences now require a description and are created using function macros in order to parse and automatically detect all. Signed-off-by: AlexandraTrifan <[email protected]>
28d6b42
to
745ddaa
Compare
Signed-off-by: AlexandraTrifan <[email protected]>
745ddaa
to
20bdea7
Compare
"the current state of the application." | ||
"Important messages such as connection done or alerts are displayed here.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A space must be placed after application.
"Indicates whether the plot grid is visible across the application." | ||
"The user can enable or disable this in order to configure the ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space missing.
"Indicates whether native dialogs should be used in the application." | ||
"This setting allows the user to enable or disable the use of native file " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space missing.
"Scale factor for the font size used across the application, suitable for " | ||
"different display settings", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Period at the end.
"Theme setting for the application interface." | ||
"The user can choose between Harmonic style (light or dark) or Scopy style.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space
"to handle them separately using different sections in the left side menu." | ||
"Due to not being tested using enough scenarios it is still marked as an experimental feature.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space.
"Enable/disable the configuration panel for ADC digital filters." | ||
"This allows manual control over the parameters of the filters.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space.
"Select whether the 0dB value is displayed as a reference point on the" | ||
"Network Analyzer plot. This control is disabled by default.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between "the" and "Network".
"Select the number of displayed signal periods in the Signal Generator." | ||
"Default value is 2.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between sentences.
"Select whether the Y-Axis handle is located on the left or right side of the plot." | ||
"Only applied after restart.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between sentences.
"Select whether the X-Axis cursor handles are located on the top or bottom of the plot." | ||
"Only applied after restart.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between sentences.
"Select whether the Y-Axis cursor handles are located on the left or right side of the plot." | ||
"Only applied after restart.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between sentences.
"%Full Scale. This is also controllable while running, from the instrument settings." | ||
"Only applied after restart.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include space between sentences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text displayed by the info button can be hard to read if it's too long.
One way to improve readability would be to add in a few places an "\n".