doc(style): use h3 for main arguments in README

This commit is contained in:
Victor Westerlund 2025-08-07 10:38:12 +02:00
parent 8859a741d3
commit 10b102c79f

View file

@ -15,25 +15,25 @@ curl -fsSL https://codeberg.org/vegvisir/install/raw/branch/master/install.sh |
# Arguments # Arguments
You can pass optional named arguments to this script for headless installation of Vegvisir. You can pass optional named arguments to this script for headless installation of Vegvisir.
## `--install` - Don't install, only configure Vegvisir ### `--install` - Don't install, only configure Vegvisir
```sh ```sh
./install.sh --install=n ./install.sh --install=n
``` ```
Pass `--install=n` to prevent download and installation of the Vegvisir git submodule. Use this option if you're version controlling Vegvisir from your project repository. Pass `--install=n` to prevent download and installation of the Vegvisir git submodule. Use this option if you're version controlling Vegvisir from your project repository.
## `--dir` - Installation directory ### `--dir` - Installation directory
```sh ```sh
./install.sh --dir="/path/to/project" ./install.sh --dir="/path/to/project"
``` ```
Pass a `--dir` argument with a value of a directory Vegvisir should consider its [`root_path`](https://vegvisir.vlw.se/docs/Reference/Env#root_path). Pass a `--dir` argument with a value of a directory Vegvisir should consider its [`root_path`](https://vegvisir.vlw.se/docs/Reference/Env#root_path).
## `--overwrite` - Overwrite configuration files ### `--overwrite` - Overwrite configuration files
```sh ```sh
./install.sh --overwrite=y ./install.sh --overwrite=y
``` ```
Pass `--overwrite=y` to replace existing Vegvisir configuration files. Pass `--overwrite=y` to replace existing Vegvisir configuration files.
## `--example` - Generate example website ### `--example` - Generate example website
```sh ```sh
./install.sh --example=n ./install.sh --example=n
``` ```