Skip to content

Commit d90f88e

Browse files
committed
Cleanup mkdocs warning. Cleanup markdown warnings in user-interactions.
Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
1 parent 718c15d commit d90f88e

4 files changed

Lines changed: 65 additions & 16 deletions

File tree

.markdownlint.jsonc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"code_block_line_length": 500 // some example console output is wide
1919
},
2020

21+
// MD024/no-duplicate-heading - No duplicate headings
22+
"MD024": false,
23+
2124
// MD046/code-block-style - Code block style
2225
// Disable consistency checks between fenced/indented code blocks.
2326
// Standard code blocks should use fences, while mkdocs admonitions require

docs/guides/user-interactions/readme.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ Once the job is running on compute nodes, the application can find access to Rab
1515

1616
### jobdw
1717

18-
The `jobdw` directive command tells the Rabbit software to create a file system on the Rabbit hardware for the lifetime of the user's job. At the end of the job, any data that is not moved off of the file system either by the application or through a `copy_out` directive will be lost. Multiple `jobdw` directives can be listed in the same job script.
18+
The `jobdw` directive command tells the Rabbit software to create a file system on the Rabbit hardware for the lifetime of the user's job. At the end of the job, any data that is not moved off of the file system either by the application or through a `copy_out` directive is lost. Multiple `jobdw` directives can be listed in the same job script.
1919

2020
#### Command Arguments
21+
2122
| Argument | Required | Value | Notes |
2223
|----------|----------|-------|-------|
23-
| `type` | Yes | `raw`, `xfs`, `gfs2`, `lustre` | Type defines how the storage should be formatted. For Lustre file systems, a single file system is created that is mounted by all computes in the job. For raw, xfs, and GFS2 storage, a separate file system is allocated for each compute node. |
24+
| `type` | Yes | `raw`, `xfs`, `gfs2`, `lustre` | Type defines how the storage should be formatted. For Lustre file systems, a single file system is created that is mounted by all computes in the job. For raw, xfs, and GFS2 storage, a separate file system is allocated for each compute node. |
2425
| `capacity` | Yes | Allocation size with units. `1TiB`, `100GB`, etc. | Capacity interpretation varies by storage type. For Lustre file systems, capacity is the aggregate OST capacity. For raw, xfs, and GFS2 storage, capacity is the capacity of the file system for a single compute node. Capacity suffixes are: `KB`, `KiB`, `MB`, `MiB`, `GB`, `GiB`, `TB`, `TiB` |
2526
| `name` | Yes | String including numbers and '-' | This is a name for the storage allocation that is unique within a job |
2627
| `profile` | No | Profile name | This specifies which profile to use when allocating storage. Profiles include `mkfs` and `mount` arguments, file system layout, and many other options. Profiles are created by admins. When no profile is specified, the default profile is used. More information about storage profiles can be found in the [Storage Profiles](../storage-profiles/readme.md) guide. |
@@ -52,9 +53,10 @@ This directive results in a 50GB GFS2 file system created for each compute node
5253
The `create_persistent` command results in a storage allocation on the Rabbit nodes that lasts beyond the lifetime of the job. This is useful for creating a file system that can share data between jobs. Only a single `create_persistent` directive is allowed in a job, and it cannot be in the same job as a `destroy_persistent` directive. See [persistentdw](readme.md#persistentdw) to utilize the storage in a job.
5354

5455
#### Command Arguments
56+
5557
| Argument | Required | Value | Notes |
5658
|----------|----------|-------|-------|
57-
| `type` | Yes | `raw`, `xfs`, `gfs2`, `lustre` | Type defines how the storage should be formatted. For Lustre file systems, a single file system is created. For raw, xfs, and GFS2 storage, a separate file system is allocated for each compute node in the job. |
59+
| `type` | Yes | `raw`, `xfs`, `gfs2`, `lustre` | Type defines how the storage should be formatted. For Lustre file systems, a single file system is created. For raw, xfs, and GFS2 storage, a separate file system is allocated for each compute node in the job. |
5860
| `capacity` | Yes | Allocation size with units. `1TiB`, `100GB`, etc. | Capacity interpretation varies by storage type. For Lustre file systems, capacity is the aggregate OST capacity. For raw, xfs, and GFS2 storage, capacity is the capacity of the file system for a single compute node. Capacity suffixes are: `KB`, `KiB`, `MB`, `MiB`, `GB`, `GiB`, `TB`, `TiB` |
5961
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the storage allocation that is unique within the system |
6062
| `profile` | No | Profile name | This specifies which profile to use when allocating storage. Profiles include `mkfs` and `mount` arguments, file system layout, and many other options. Profiles are created by admins. When no profile is specified, the default profile is used. The profile used when creating the persistent storage allocation is the same profile used by jobs that use the persistent storage. More information about storage profiles can be found in the [Storage Profiles](../storage-profiles/readme.md) guide.|
@@ -74,30 +76,34 @@ This directive results in a 100GiB xfs file system created for each compute node
7476
This directive results in a single 10TiB Lustre file system being created that can be accessed later by any compute nodes in the system. Multiple jobs can access a Rabbit Lustre file system at the same time. This job can be scheduled with a single compute node (or zero compute nodes if the WLM allows), without any limitations on compute node counts for subsequent jobs using the persistent Lustre file system.
7577

7678
### destroy_persistent
77-
The `destroy_persistent` command will delete persistent storage that was allocated by a corresponding `create_persistent`. If the persistent storage is currently in use by a job, then the job containing the `destroy_persistent` command will fail. Only a single `destroy_persistent` directive is allowed in a job, and it cannot be in the same job as a `create_persistent` directive.
79+
80+
The `destroy_persistent` command deletes persistent storage that was allocated by a corresponding `create_persistent`. If the persistent storage is currently in use by a job, then the job containing the `destroy_persistent` command fails. Only a single `destroy_persistent` directive is allowed in a job, and it cannot be in the same job as a `create_persistent` directive.
7881

7982
#### Command Arguments
83+
8084
| Argument | Required | Value | Notes |
8185
|----------|----------|-------|-------|
82-
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the persistent storage allocation that will be destroyed |
86+
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the persistent storage allocation that is destroyed |
8387

8488
#### Examples
8589

8690
```bash
8791
#DW destroy_persistent name=shared-data
8892
```
8993

90-
This directive will delete the persistent storage allocation with the name `shared-data`
94+
This directive deletes the persistent storage allocation with the name `shared-data`
9195

9296
### persistentdw
97+
9398
The `persistentdw` command makes an existing persistent storage allocation available to a job. The persistent storage must already be created from a `create_persistent` command in a different job script. Multiple `persistentdw` commands can be used in the same job script to request access to multiple persistent allocations.
9499

95100
Persistent Lustre file systems can be accessed from any compute nodes in the system, and the compute node count for the job can vary as needed. Multiple jobs can access a persistent Lustre file system concurrently if desired. Raw, xfs, and GFS2 file systems can only be accessed by compute nodes that have a physical connection to the Rabbits hosting the storage, and jobs accessing these storage types must have the same compute node count as the job that made the persistent storage.
96101

97102
#### Command Arguments
103+
98104
| Argument | Required | Value | Notes |
99105
|----------|----------|-------|-------|
100-
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the persistent storage that will be accessed |
106+
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the persistent storage that is accessed |
101107
| `requires` | No | `copy-offload` | Use this option with [Copy Offload](../data-movement/copy-offload.md). This is for users who want to initiate data movement to or from the Rabbit storage from within their application. |
102108
| `requires` | No | `user-container-auth` | Use this option with [User Containers](../user-containers/readme.md) that have an application that expects to use the same kind of TLS certificate and [per-Workflow token](../data-movement/copy-offload.md#per-workflow-token) that is configured for [Copy Offload](../data-movement/copy-offload.md). |
103109

@@ -114,11 +120,12 @@ This directive causes the `shared-data` persistent storage allocation to be moun
114120
The `copy_in` and `copy_out` directives are used to move data to and from the storage allocations on Rabbit nodes. The `copy_in` directive requests that data be moved into the Rabbit file system before application launch, and the `copy_out` directive requests data to be moved off of the Rabbit file system after application exit. This is different from data-movement that is requested through the copy-offload API, which occurs during application runtime. Multiple `copy_in` and `copy_out` directives can be included in the same job script. More information about data movement can be found in the [Data Movement](../data-movement/readme.md) documentation.
115121

116122
#### Command Arguments
117-
| Argument | Required | Value | Notes |
118-
|----------|----------|-------|-------|
123+
124+
|Argument|Required|Value|Notes|
125+
|--------|----------|-------|-------|
119126
| `source` | Yes | `[path]`, `$DW_JOB_[name]/[path]`, `$DW_PERSISTENT_[name]/[path]` | `[name]` is the name of the Rabbit persistent or job storage as specified in the `name` argument of the `jobdw` or `persistentdw` directive. Any `'-'` in the name from the `jobdw` or `persistentdw` directive should be changed to a `'_'` in the `copy_in` and `copy_out` directive. |
120127
| `destination` | Yes | `[path]`, `$DW_JOB_[name]/[path]`, `$DW_PERSISTENT_[name]/[path]` | `[name]` is the name of the Rabbit persistent or job storage as specified in the `name` argument of the `jobdw` or `persistentdw` directive. Any `'-'` in the name from the `jobdw` or `persistentdw` directive should be changed to a `'_'` in the `copy_in` and `copy_out` directive. |
121-
| `profile` | No | Profile name | This specifies which profile to use when copying data. Profiles specify the copy command to use, MPI arguments, and how output gets logged. If no profile is specified then the default profile is used. Profiles are created by an admin. |
128+
| `profile` | No | Profile name | This specifies the profile to use when copying data. Profiles specify the copy command to use, MPI arguments, and how output is logged. If no profile is specified then the default profile is used. **Note:** Profiles are created by an admin. |
122129

123130
#### Examples
124131

@@ -156,13 +163,14 @@ This set of directives makes use of a persistent storage allocation and a job st
156163
The `container` directive is used to launch user containers on the Rabbit nodes. The containers have access to `jobdw`, `persistentdw`, or global Lustre storage as specified in the `container` directive. More documentation for user containers can be found in the [User Containers](../user-containers/readme.md) guide. Only a single `container` directive is allowed in a job.
157164

158165
#### Command Arguments
166+
159167
| Argument | Required | Value | Notes |
160168
|----------|----------|-------|-------|
161169
| `name` | Yes | Lowercase string including numbers and '-' | This is a name for the container instance that is unique within a job |
162170
| `profile` | Yes | Profile name | This specifies which container profile to use. The container profile contains information about which container to run, which file system types to expect, which network ports are needed, and many other options. An admin is responsible for creating the container profiles. |
163-
| `DW_JOB_[expected]` | No | `jobdw` storage allocation `name` | The container profile will list `jobdw` file systems that the container requires. `[expected]` is the name as specified in the container profile |
164-
| `DW_PERSISTENT_[expected]` | No | `persistentdw` storage allocation `name` | The container profile will list `persistentdw` file systems that the container requires. `[expected]` is the name as specified in the container profile |
165-
| `DW_GLOBAL_[expected]` | No | Global lustre path | The container profile will list global Lustre file systems that the container requires. `[expected]` is the name as specified in the container profile |
171+
| `DW_JOB_[expected]` | No | `jobdw` storage allocation `name` | The container profile lists `jobdw` file systems that the container requires. `[expected]` is the name as specified in the container profile |
172+
| `DW_PERSISTENT_[expected]` | No | `persistentdw` storage allocation `name` | The container profile lists `persistentdw` file systems that the container requires. `[expected]` is the name as specified in the container profile |
173+
| `DW_GLOBAL_[expected]` | No | Global lustre path | The container profile lists global Lustre file systems that the container requires. `[expected]` is the name as specified in the container profile |
166174

167175
#### Examples
168176

@@ -179,8 +187,8 @@ The WLM makes a set of environment variables available to the job application ru
179187

180188
| Environment Variable | Value | Notes |
181189
|----------------------|-------|-------|
182-
| `DW_JOB_[name]` | Mount path of a `jobdw` file system | `[name]` is from the `name` argument in the `jobdw` directive. Any `'-'` characters in the `name` will be converted to `'_'` in the environment variable. There will be one of these environment variables per `jobdw` directive in the job. |
183-
| `DW_PERSISTENT_[name]` | Mount path of a `persistentdw` file system | `[name]` is from the `name` argument in the `persistentdw` directive. Any `'-'` characters in the `name` will be converted to `'_'` in the environment variable. There will be one of these environment variables per `persistentdw` directive in the job. |
190+
| `DW_JOB_[name]` | Mount path of a `jobdw` file system | `[name]` is from the `name` argument in the `jobdw` directive. Any `'-'` characters in the `name` are converted to `'_'` in the environment variable. There is one of these environment variables per `jobdw` directive in the job. |
191+
| `DW_PERSISTENT_[name]` | Mount path of a `persistentdw` file system | `[name]` is from the `name` argument in the `persistentdw` directive. Any `'-'` characters in the `name` are converted to `'_'` in the environment variable. There is one of these environment variables per `persistentdw` directive in the job. |
184192
| `NNF_CONTAINER_PORTS` | Comma separated list of ports | These ports are used together with the IP address of the local Rabbit to communicate with a user container specified by a `container` directive. More information can be found in the [User Containers](../user-containers/readme.md) guide. |
185193
| `DW_WORKFLOW_NAME` | Name of the Workflow | |
186194
| `DW_WORKFLOW_NAMESPACE` | Namespace of the Workflow | |

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ nav:
3434
- 'CRD Version Bumper': 'repo-guides/crd-bumper/readme.md'
3535
- 'Editing APIs': 'repo-guides/crd-bumper/editing-apis.md'
3636
- 'CRD Upgrade Helpers': 'repo-guides/release-nnf-sw/crd-upgrade-helpers.md'
37-
- 'Upgrade Tester': 'repo-guides/release-nnf-sw/upgrade-tester.md'
37+
- 'Upgrade Tester': 'repo-guides/testing/upgrade-tester.md'
3838
theme:
3939
name: 'material'
4040
custom_dir: overrides
@@ -51,6 +51,8 @@ theme:
5151
- search.share
5252
logo: img/logo.png
5353
favicon: img/logo.png
54+
extra_css:
55+
- stylesheets/extra.css
5456
plugins:
5557
- search:
5658
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'

overrides/stylesheets/extra.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Reduce padding for all table cells - force override */
2+
.md-typeset table th,
3+
.md-typeset table td {
4+
padding-left: 0.4rem !important;
5+
padding-right: 0.4rem !important;
6+
padding-top: 0.5rem !important;
7+
padding-bottom: 0.5rem !important;
8+
}
9+
10+
/* Prevent word wrapping only in the first column (Argument) */
11+
.md-typeset table th:first-child,
12+
.md-typeset table td:first-child {
13+
white-space: nowrap;
14+
word-break: keep-all;
15+
min-width: 120px;
16+
}
17+
18+
/* Ensure code elements in the first column don't wrap */
19+
.md-typeset table th:first-child code,
20+
.md-typeset table td:first-child code {
21+
white-space: nowrap;
22+
word-break: keep-all;
23+
}
24+
25+
/* Allow normal wrapping for other columns (especially Notes) */
26+
.md-typeset table th:not(:first-child),
27+
.md-typeset table td:not(:first-child) {
28+
white-space: normal;
29+
word-break: normal;
30+
}
31+
32+
/* Keep table layout flexible */
33+
.md-typeset table {
34+
table-layout: auto;
35+
width: 100%;
36+
}

0 commit comments

Comments
 (0)