gitronics 0.5.19__tar.gz → 0.5.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gitronics-0.5.19 → gitronics-0.5.20}/.github/workflows/docs.yml +18 -6
- {gitronics-0.5.19 → gitronics-0.5.20}/Cargo.lock +1 -1
- {gitronics-0.5.19 → gitronics-0.5.20}/Cargo.toml +1 -1
- {gitronics-0.5.19 → gitronics-0.5.20}/PKG-INFO +1 -1
- {gitronics-0.5.19 → gitronics-0.5.20}/.github/workflows/ci.yml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/.github/workflows/release.yml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/.gitignore +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/.vscode/settings.json +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/LICENSE +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/README.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/assets/logo.png +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/best_practices.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/examples.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/assessments.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/building_a_model.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/card_id_numbers.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/concepts.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/configuration_file.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/file_types.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/migrating.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/new_project.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started/project_structure.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/getting_started.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/hooks/version_from_git.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/index.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/installation.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/requirements.txt +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/usage/build.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/docs/usage/migrate.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/filler_model_3.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/filler_model_3.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/small_override.yaml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/configurations/valid_configuration.yaml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/output/.gitignore +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/fine_mesh.tally +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/materials.mat +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/my_transform.transform +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/volumetric_source.source +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/envelope_structure.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/envelope_structure.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/filler_models/filler_model_1.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/filler_models/filler_model_1.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/filler_models/filler_model_2.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/filler_models/filler_model_2.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/mkdocs.yml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/pyproject.toml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/python/gitronics/__init__.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/python/gitronics/__main__.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/python/gitronics/gitronics.pyi +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/python/tests/test_build_model.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/python/tests/test_cli_works.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/resources/simple_model.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/build_model.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/build_report.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/cli.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/lib.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/main.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/migrate_model.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/model_config.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/project_manager/load_metadata.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/project_manager/load_model_config.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/project_manager/load_project_files.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/project_manager.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/python.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/report.css +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/types.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/src/utils.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.20}/tests/test_example_project.rs +0 -0
|
@@ -3,7 +3,8 @@ name: Docs
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
tags:
|
|
6
|
-
|
|
6
|
+
# GitHub Actions uses glob patterns here (not regex).
|
|
7
|
+
- "v*.*.*"
|
|
7
8
|
# Allow manual triggering from the Actions tab
|
|
8
9
|
workflow_dispatch:
|
|
9
10
|
|
|
@@ -32,16 +33,27 @@ jobs:
|
|
|
32
33
|
- name: Extract version from tag
|
|
33
34
|
id: version
|
|
34
35
|
run: |
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
|
|
37
|
+
# Strip the leading "v" so MkDocs sees "1.2.3", not "v1.2.3"
|
|
38
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
39
|
+
else
|
|
40
|
+
# For manual runs, resolve the most recent semantic tag in the repo.
|
|
41
|
+
VERSION="$(git tag --list 'v*.*.*' --sort=-v:refname | head -n1 | sed 's/^v//')"
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
if [[ -z "$VERSION" ]]; then
|
|
45
|
+
echo "No semantic version tag found (expected pattern: v*.*.*)." >&2
|
|
46
|
+
exit 1
|
|
47
|
+
fi
|
|
48
|
+
|
|
37
49
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
38
50
|
|
|
39
51
|
- name: Build & deploy to GitHub Pages
|
|
40
52
|
run: |
|
|
41
53
|
git config user.name "github-actions[bot]"
|
|
42
54
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
43
|
-
|
|
55
|
+
# Deploy this version and update the "latest" alias
|
|
44
56
|
pip install mike
|
|
45
57
|
mike deploy --push --update-aliases "${{ steps.version.outputs.version }}" latest
|
|
46
|
-
|
|
47
|
-
|
|
58
|
+
# Keep docs root pinned to latest so it always follows new releases.
|
|
59
|
+
mike set-default --push latest
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/filler_model_3.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/filler_model_3.metadata
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/assessment_specific/small_override.yaml
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/configurations/valid_configuration.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/fine_mesh.tally
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/data_cards/materials.mat
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/envelope_structure.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.20}/example_project/reference_model/envelope_structure.metadata
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|