This repository documents a collection of Standard Names used in the Fusion Conventions. To submit proposals for new Standard Names or changes to existing Standard Names, please use one of the supplied issue templates. The issue templates use the following "zero-code" submission process:
- Create an Issue: Use the provided issue templates to create a new issue.
- For new Standard Names, use the "New Standard Name" template.
- For changes to existing Standard Names, use the "Change Existing Standard Name" template.
- Fill in the Template: Provide all required information in the issue template.
- For new Standard Names, include details such as the proposed name, description, and any relevant references.
- For changes to existing Standard Names, specify the name of the existing Standard Name and the proposed changes.
- Submit the Issue: Once you have filled in the template, submit the issue.
- Review Process: We outline the review process as follows:
- Following submission, a GitHub action will automatically check the issue for compliance with the Fusion Conventions and flag any errors or missing information.
- After successful automatic processing, a member of the IMAS Standard Names team will review your issue.
- The team may request information or clarification if needed.
- Approval: Once your issue is sufficiently developed, collaborators with privileges will tag it with the 'approve' label.
- Submission: After approval, a GitHub action will automatically commit the Standard Name proposal to the
submit
branch. The action will raise a draft Pull Request pointing from thesubmit
branch to thedevelop
branch, if one is not already present. - Final Review: Once we collect a batch of Standard Name proposals, the Pull Request will undergo final review and approval.
- Release: We will tag releases that merge approved changes from the
develop
branch back to themain
branch accordingly. - Feedback: We encourage feedback on the Standard Names to ensure they meet community needs. Please submit your feedback through the provided issue templates to support discussion and improvements.
This project uses a Git branching strategy to manage development and releases. The principal branches are:
- The
submit
branch collects and reviews proposed changes to the Standard Names. - We use the
develop
branch for ongoing development and testing of new Standard Names. - We create tagged releases of the Standard Names project and associated documentation from the
main
branch.
The project documentation is available at our GitHub Pages site.
GitHub Actions automatically build and deploy the documentation whenever you push changes to the main branch. We version the documentation using Mike, allowing versions to be accessible simultaneously.
To build the documentation locally, run:
# create virtual environment
python -m venv
. venv/bin/activate
# Install documentation dependencies
pip install .[docs]
# Build the documentation
mkdocs build
# To preview the documentation locally
mkdocs serve
This project uses Mike to manage versioned documentation. To work with versioned documentation locally:
# Install documentation dependencies (includes Mike)
pip install .[docs]
# Initialize a git repo if not already done
git init
# Build and serve versions using Mike
mike deploy 0.1 latest --update-aliases
mike deploy 0.2 --update-aliases
mike serve # Serves the versioned documentation locally
# List all versions of the documentation
mike list
# Set the default version
mike set-default latest
When the CI/CD pipeline runs, it automatically deploys documentation for:
main
branch as "latest"develop
branch as "develop"submit
branch as "submit"
Each branch will be available as a separate version in the version selector dropdown on the documentation site.