Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumWalley committed Dec 7, 2023
2 parents 0c59472 + ca01a4e commit 50b4e21
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
A wordlist for use across various projects.

## How to use.
The yaml files in `dic/` inform several different things (at present).
Editing any of these files should trigger regeneration of the outputs.

The yaml files in `dic/` inform several different things (at present). Editing any of these files should trigger regeneration of the outputs.
## Adding Words

Choose a category file from `dic/` (or add a new one if required).
The yaml files are dictionaries, where the key is the word in question, and the parameters are as below.

### Parameters

Expand All @@ -17,6 +21,10 @@ The yaml files in `dic/` inform several different things (at present). Editing a

Defaults currently hardcoded in [`generate.py`](./generate.py)

### Automatically Generated inputs.

`software_names.yaml` is generated by running `generate_software_names_dic.py`

### Aliases

Word aliases can be created with standard YAML syntax.
Expand All @@ -25,6 +33,7 @@ Word aliases can be created with standard YAML syntax.
* The alias word must equal the tag `*value`.

### Example

Example entry and alias.
```
- HPC: &hpc
Expand Down Expand Up @@ -81,6 +90,7 @@ smthe
#### Currently used in
* [zendesk-macros](https://git.hpcf.nesi.org.nz/nesi-apps/zendesk-macros)
* [mkdocs](https://git.hpcf.nesi.org.nz/nesi-apps/mkdocs)
* [support docs](https://github.com/nesi/support-docs-concept)
* [migratedocs](https://git.hpcf.nesi.org.nz/cwal219/migratedocs)

### `Glossary.md`
Expand Down

0 comments on commit 50b4e21

Please sign in to comment.