Blog/content/posts/2023/v/build-doc.md

23 lines
36 KiB
Markdown
Raw Normal View History

2023-07-09 12:22:51 +03:00
---
title: "🦡 Сборка документации модулей VLang"
date: 2023-07-09T12:14:12+03:00
draft: false
tags: [v, tips, development]
---
## 1. (опционально) Изменяем тему
Тема находится по пути `cmd/tools/vdoc/theme/`.
## 2. Сборка
```sh
v doc -m -f html vlib/
```
## 3. Просмотр
Открываем файл `vlib/_docs/index.html` в браузере.
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeoAAACwCAYAAADADy0fAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOzdd3gU1frA8e/MbnY3vfdCQknovddQRHqxIAqIBbCB2FFREbFguXitqNwfqKCCIr2I0gm9k0ACBNJ729RNNrszvz8SIEBIAsIlcs/neXgesmXmnZlzzjvnnNkZyckrREUQBEEQhHpJvt0BCIIgCIJwbSJRC4IgCEI9JhK1IAiCINRjIlELgiAIQj2mvd0B3C4SIGtt0NjokDUyICPLmoo3BEEQBKGuVFAUK6CgWBWs5WYUSzk360rt/7lELcsyWr0tWhu9SMqCIAjC3yeBrNEAGmQNaHV6UMFSXkZ5mQlVUf7W4v9nErWEhNZgQKs3IIkMLQiCINxKUkXC1uh0WMpKsZSWot5gH/t/IlFLsozezgFZ8z+xuYIgCEI9ISFho7dFo7WhrKTohnrXd/zFZJJGg97eSSRpQRAE4baRNVr09k5IGs31f/cWxFNvSLKMwc4RWb6jN1MQBEH4B5BlGb2dI9J15qQ7NoNJSOjtHK57hwiCIAjCrSJXTsVez7VSd2wW0xoMYrhbEARBqHdkjRatwVD3z9/CWG6bip9g1X0nCIIgCMJ/k1ZvqPOI7x2ZqLV6W/ETLEEQBKHeunA1eF3ccYlaQkJro7vdYQiCIAhCjbQ2+jp1Ke+4RC1rtSDdht60ti2tFv1O38ea/Q/15Q34vforgz+5D4c7riQJgiBcoMG36730CbW7ue27VHEr69rccVdbaW6kNy15E/L+VzRrqgVVRbWYKEuPI3fPOmJ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