Built-in documentation text width in Lighthouse book (#5394)

* Adjust width

* Commit changes

* Trigger Build
This commit is contained in:
chonghe 2024-03-24 04:52:09 +08:00 committed by GitHub
parent 0a6e4a11d7
commit a0e64d0652
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 17 additions and 7 deletions

View File

@ -491,3 +491,4 @@ OPTIONS:
block root should be 0x-prefixed. Note that this flag is for verification only, to perform a checkpoint sync
from a recent state use --checkpoint-sync-url.
```
<style> .content main {max-width:88%;} </style>

View File

@ -105,3 +105,4 @@ SUBCOMMANDS:
validator_manager Utilities for managing a Lighthouse validator client via the HTTP API. [aliases: vm,
validator-manager, validator_manager]
```
<style> .content main {max-width:88%;} </style>

View File

@ -223,3 +223,4 @@ OPTIONS:
--web3-signer-max-idle-connections <COUNT>
Maximum number of idle connections to maintain per web3signer host. Default is unlimited.
```
<style> .content main {max-width:88%;} </style>

View File

@ -95,3 +95,4 @@ SUBCOMMANDS:
which can be generated using the "create-validators" command. This command only supports validators
signing via a keystore on the local file system (i.e., not Web3Signer validators).
```
<style> .content main {max-width:88%;} </style>

View File

@ -135,3 +135,4 @@ OPTIONS:
Path to directory containing eth2_testnet specs. Defaults to a hard-coded Lighthouse testnet. Only effective
if there is no existing database.
```
<style> .content main {max-width:88%;} </style>

View File

@ -99,3 +99,4 @@ OPTIONS:
A HTTP(S) address of a validator client using the keymanager-API. If this value is not supplied then a 'dry
run' will be conducted where no changes are made to the validator client. [default: http://localhost:5062]
```
<style> .content main {max-width:88%;} </style>

View File

@ -116,3 +116,4 @@ OPTIONS:
--validators <STRING>
The validators to be moved. Either a list of 0x-prefixed validator pubkeys or the keyword "all".
```
<style> .content main {max-width:88%;} </style>

View File

@ -17,6 +17,9 @@ write_to_file() {
# We need to add the header and the backticks to create the code block.
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file"
# Adjust the width of the help text and append to the end of file
sed -i -e '$a\'$'\n''<style> .content main {max-width:88%;} </style>' "$file"
}
CMD=./target/release/lighthouse