Repository navigation
Updates to the how-to guide for creating the config #50
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
Open
TeresiaOlsson
wants to merge
16
commits into
docs/intro-structure-configuration
Choose a base branch
from
docs/configuration-how-to
base: docs/intro-structure-configuration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
61a03e8
Add tip to read the explanation page before starting.
TeresiaOlsson 210ba64
Add some more details to the introduction.
TeresiaOlsson 4064839
Remove in the introduction that the guide is about text file since it…
TeresiaOlsson f4197be
Update the rule to remember section to make it clearer how using a co…
TeresiaOlsson 39485af
Update finding the fields section with content from moved from the co…
TeresiaOlsson 9616c0b
Add that the configuration can be written as yaml, json or dict.
TeresiaOlsson 33db49d
Change heading to make clear that the example is for using a text fil…
TeresiaOlsson bfd9280
Update the facility and machine name.
TeresiaOlsson 0d5ad1d
Update the section about control modes since some information wrong.
TeresiaOlsson b6ee30a
Update full configuration to match other changes.
TeresiaOlsson 7c9436f
Update catalog in example to match previous changes.
TeresiaOlsson 567e341
Update text about using own classes.
TeresiaOlsson 0e1f53f
Update section about loading the config.
TeresiaOlsson e87fa30
Update validation section since information in there was wrong.
TeresiaOlsson a49e578
Update section about tools.
TeresiaOlsson 15b65b7
Add a new tool pages
GamelinAl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Tools That Help Writing the Configuration | ||
|
|
||
| There are tools available to help to write and modify the configuration. They can suggest the fields and check their types while you write. The tools are under development and testing so new or other tools might be available in the future based on user feedback. | ||
|
|
||
| Some of the tools are based on a [JSON Schema](https://json-schema.org). For information about JSON Schemas and how to generate them, see [Configuration Schemas and Validation](../../../explanation/schema_and_validation.md) and [Generate JSON Schemas](../generate-json-schema.ipynb). | ||
|
|
||
| Currently these tools are available: | ||
|
|
||
| - [Use ConfigurationSchema](./use-configuration-schema.ipynb) objects to create the configuration in Python and export it as a dictionary or text file. This allows to program the configuration. | ||
|
|
||
| - [Use a JSON Schema in VS Code](./use-vscode-json-schema.md) | ||
|
|
||
| - [Use the MetaConfigurator](./use-meta-configurator.md), a form-based editor in the browser | ||
|
|
||
| ```{tip} | ||
| AI coding assistants can also help: supply for example a lattice file, a description of the naming conventions of your control system, and the JSON Schema of the pyAML configuration and ask it to write the configuration for you. | ||
| ``` | ||
|
|
||
| ```{toctree} | ||
| :maxdepth: 1 | ||
| :hidden: | ||
|
|
||
| use-configuration-schema | ||
| use-vscode-json-schema | ||
| use-meta-configurator | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.