Merge pull request 'docs: fix typos' (#2256) from kenji/clan-core:kenji-docs/fix-typo into main

This commit is contained in:
clan-bot
2024-10-16 21:06:39 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -421,7 +421,7 @@ It can be set via the `inventory` attribute of the [`buildClan`](./buildclan.md#
""" """
# Inventory options are already included under the buildClan attribute # Inventory options are already included under the buildClan attribute
# We just omited them in the buildClan docs, because we want a seperate output for the inventory model # We just omitted them in the buildClan docs, because we want a separate output for the inventory model
with Path(BUILD_CLAN_PATH).open() as f: with Path(BUILD_CLAN_PATH).open() as f:
options: dict[str, dict[str, Any]] = json.load(f) options: dict[str, dict[str, Any]] = json.load(f)
@@ -429,7 +429,7 @@ It can be set via the `inventory` attribute of the [`buildClan`](./buildclan.md#
name, _info = item name, _info = item
parts = name.split(".") if "." in name else ["root", "sub"] parts = name.split(".") if "." in name else ["root", "sub"]
# Make everything fixed lenght. # Make everything fixed length.
remain = 10 - len(parts) remain = 10 - len(parts)
parts.extend(["A"] * remain) parts.extend(["A"] * remain)
category = parts[1] category = parts[1]

View File

@@ -147,7 +147,7 @@ Generate the `hardware-configuration.nix` file for your machine by executing the
clan machines update-hardware-config [MACHINE_NAME] clan machines update-hardware-config [MACHINE_NAME]
``` ```
replace `[MACHINE_NAME]` with the name of the machine i.e. `jon` and `[HOSTNAME]` with the `ip_adress` or `hostname` of the machine within the network. i.e. `<IP>` replace `[MACHINE_NAME]` with the name of the machine i.e. `jon` and `[HOSTNAME]` with the `ip_address` or `hostname` of the machine within the network. i.e. `<IP>`
!!! Example !!! Example
```bash ```bash