Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Aug 16, 2024
1 parent f5a96b0 commit e5e3cac
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/contribute.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contribute
# Contributing

This page describes some information relevant for contributing to bfabricPy.

Expand Down
5 changes: 5 additions & 0 deletions docs/good_to_know.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Updating workunits with many associated resources

!!! note "Summary: Updating workunits and its associated resources"
1. Set workunit state to `"processing"`.
2. Update workunit and associated resources, as much as you need to.
3. Set workunit state to `"available"`.

When updating large workunits, it's crucial to prevent state recomputation in B-Fabric by setting the workunit state to `"processing"` before making any changes.
Failing to do so can lead to significant performance issues and complications, especially during iterative updates.

Expand Down
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ theme:
features:
- navigation.sections
- navigation.instant
markdown_extensions:
- admonition
plugins:
- mkdocstrings
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ dev = [
"nox",
"uv",
"mkdocs",
"mkdocs-material"
"mkdocs-material",
"mkdocstrings[python]",
]

[project.urls]
Expand Down

0 comments on commit e5e3cac

Please sign in to comment.