Skip to content

Commit

Permalink
Use space more efficiently on VQL reference cards (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
predictiple authored Dec 11, 2024
1 parent 3963b47 commit eea7d08
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
14 changes: 11 additions & 3 deletions content/docs/deployment/self-signed/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,25 @@ do in automated build environments.
{{< tabs >}}
{{% tab name="Linux" %}}
```shell
./velociraptor config generate --merge '{"autocert_domain": "domain.com", "autocert_cert_cache": "/foo/bar"}'
./velociraptor config generate --merge \
'{"autocert_domain": "domain.com", "autocert_cert_cache": "/foo/bar"}' \
> server.config.yaml
```
{{% /tab %}}
{{% tab name="Windows" %}}
```shell
velociraptor.exe config generate --merge '{"autocert_domain": "domain.com", "autocert_cert_cache": "/foo/bar"}'
velociraptor.exe config generate ^
--merge "{"""autocert_domain""": """domain.com""", """autocert_cert_cache""": """/foo/bar"""}" ^
> server.config.yaml
```
Note that while this can be run on Windows the quote escaping is arduous and
likely to be error-prone. We therefore don't recommend it.
{{% /tab %}}
{{% tab name="macOS" %}}
```shell
./velociraptor config generate --merge '{"autocert_domain": "domain.com", "autocert_cert_cache": "/foo/bar"}'
./velociraptor config generate --merge \
'{"autocert_domain": "domain.com", "autocert_cert_cache": "/foo/bar"}' \
> server.config.yaml
```
{{% /tab %}}
{{< /tabs >}}
Expand Down
4 changes: 0 additions & 4 deletions layouts/shortcodes/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
<img class="user-avatar inline">
<p class="description"></p>
<p class="args"/>
<span class="permissions"/>
<p class="idea-tag space"></p>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions static/css/theme-mine.css
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,8 @@ table thead th {
}

.vqlargs + table {
margin-top: 3em;
margin-bottom: 3em;
margin-top: 0;
margin-bottom: 1em;
}

.vqlargs + table td {
Expand Down

0 comments on commit eea7d08

Please sign in to comment.