Skip to content

Commit b4325b6

Browse files
[Docs] Minor edits
1 parent 1383b9c commit b4325b6

3 files changed

Lines changed: 61 additions & 57 deletions

File tree

docs/assets/stylesheets/extra.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
margin-left: 32px;
3030
}
3131

32+
[dir=ltr] .md-typeset :is(.md-typeset__scrollwrap,p,h4,h3,.tabbed-set,ul):not(.admonition-title) :is(.admonition,details, .termy) {
33+
margin-left: 0;
34+
}
35+
3236
@media screen and (max-width: 76.1875em) {
3337
.md-header {
3438
background-color: rgb(255, 255, 255);

docs/docs/installation/index.md

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -139,71 +139,71 @@ Configuration is updated at ~/.dstack/config.yml
139139

140140
This configuration is stored in `~/.dstack/config.yml`.
141141

142-
### (Optional) Enable shell autocompletion
142+
??? info "Shell autocompletion"
143143

144-
`dstack` supports shell autocompletion for `bash` and `zsh`.
144+
`dstack` supports shell autocompletion for `bash` and `zsh`.
145145

146-
=== "bash"
146+
=== "bash"
147147

148-
First, validate if completion scripts load correctly in your current shell session:
149-
150-
<div class="termy">
151-
152-
```shell
153-
$ eval "$(dstack completion bash)"
154-
```
148+
First, validate if completion scripts load correctly in your current shell session:
149+
150+
<div class="termy">
151+
152+
```shell
153+
$ eval "$(dstack completion bash)"
154+
```
155155

156-
</div>
157-
158-
If completions work as expected and you would like them to persist across shell sessions, add the completion script to your shell profile using these commands:
159-
160-
<div class="termy">
161-
162-
```shell
163-
$ mkdir -p ~/.dstack
164-
$ dstack completion bash > ~/.dstack/completion.sh
165-
$ echo 'source ~/.dstack/completion.sh' >> ~/.bashrc
166-
```
167-
168-
</div>
156+
</div>
157+
158+
If completions work as expected and you would like them to persist across shell sessions, add the completion script to your shell profile using these commands:
159+
160+
<div class="termy">
161+
162+
```shell
163+
$ mkdir -p ~/.dstack
164+
$ dstack completion bash > ~/.dstack/completion.sh
165+
$ echo 'source ~/.dstack/completion.sh' >> ~/.bashrc
166+
```
167+
168+
</div>
169169

170-
=== "zsh"
171-
172-
First, validate if completion scripts load correctly in your current shell session:
173-
174-
<div class="termy">
175-
176-
```shell
177-
$ eval "$(dstack completion zsh)"
178-
```
170+
=== "zsh"
171+
172+
First, validate if completion scripts load correctly in your current shell session:
173+
174+
<div class="termy">
175+
176+
```shell
177+
$ eval "$(dstack completion zsh)"
178+
```
179179

180-
</div>
181-
182-
If completions work as expected and you would like them to persist across shell sessions, you can install them via Oh My Zsh using these commands:
183-
184-
<div class="termy">
185-
186-
```shell
187-
$ mkdir -p ~/.oh-my-zsh/completions
188-
$ dstack completion zsh > ~/.oh-my-zsh/completions/_dstack
189-
```
180+
</div>
190181
191-
</div>
182+
If completions work as expected and you would like them to persist across shell sessions, you can install them via Oh My Zsh using these commands:
183+
184+
<div class="termy">
185+
186+
```shell
187+
$ mkdir -p ~/.oh-my-zsh/completions
188+
$ dstack completion zsh > ~/.oh-my-zsh/completions/_dstack
189+
```
190+
191+
</div>
192192

193-
And if you don't use Oh My Zsh:
193+
And if you don't use Oh My Zsh:
194194

195-
<div class="termy">
196-
197-
```shell
198-
$ mkdir -p ~/.dstack
199-
$ dstack completion zsh > ~/.dstack/completion.sh
200-
$ echo 'source ~/.dstack/completion.sh' >> ~/.zshrc
201-
```
202-
203-
</div>
195+
<div class="termy">
196+
197+
```shell
198+
$ mkdir -p ~/.dstack
199+
$ dstack completion zsh > ~/.dstack/completion.sh
200+
$ echo 'source ~/.dstack/completion.sh' >> ~/.zshrc
201+
```
202+
203+
</div>
204204

205-
> If you get an error similar to `2: command not found: compdef`, then add the following line to the beginning of your `~/.zshrc` file:
206-
> `autoload -Uz compinit && compinit`.
205+
> If you get an error similar to `2: command not found: compdef`, then add the following line to the beginning of your `~/.zshrc` file:
206+
> `autoload -Uz compinit && compinit`.
207207

208208

209209
!!! info "What's next?"

docs/overrides/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<a href="/examples#inference" class="tx-footer__section-link">Inference</a>
123123
<a href="/examples#accelerators" class="tx-footer__section-link">Accelerators</a>
124124
<a href="/examples#llms" class="tx-footer__section-link">LLMs</a>
125-
<a href="/examples#misc" class="tx-footer__section-link">Misc</a>
125+
<!-- <a href="/examples#misc" class="tx-footer__section-link">Misc</a> -->
126126
</div>
127127

128128
<div class="tx-footer__section">
@@ -136,7 +136,7 @@
136136
<div class="tx-footer__section">
137137
<div class="tx-footer__section-title">Company</div>
138138
<a href="https://calendly.com/dstackai/discovery-call" target="_blank" class="tx-footer__section-link external">Talk to an expert</a>
139-
<a href="/partners" class="tx-footer__section-link">Partners</a>
139+
<!-- <a href="/partners" class="tx-footer__section-link">Partners</a> -->
140140
<a href="/terms" class="tx-footer__section-link">Terms</a>
141141
<a href="/privacy" class="tx-footer__section-link">Privacy</a>
142142
<!--<a href="https://dstackai.notion.site/Jobs-at-dstack-ff01a450c3174904b70c36124f2d8f4b" target="_blank" class="tx-footer__section-link external">Careers</a>-->

0 commit comments

Comments
 (0)