From e77f9ccad543c3c2fb9553539abea2d4f83c6f23 Mon Sep 17 00:00:00 2001 From: Hai Lang Date: Fri, 8 May 2026 17:14:09 +0700 Subject: [PATCH] fix(site-docs): remove markdown page, add --watch option Forge ID: F#T67505 --- site-docs/docs/commands/update.md | 4 +- site-docs/docs/markdown.md | 96 ------------------------------- 2 files changed, 3 insertions(+), 97 deletions(-) delete mode 100644 site-docs/docs/markdown.md diff --git a/site-docs/docs/commands/update.md b/site-docs/docs/commands/update.md index 85b8532..7654cdf 100644 --- a/site-docs/docs/commands/update.md +++ b/site-docs/docs/commands/update.md @@ -7,7 +7,7 @@ target host. ```bash deploy [--config FILE] update [] \ - [--type odoo|python|service] [-p PORT] [--db DATABASE] [--ignore-hooks] + [--type odoo|python|service] [-p PORT] [--db DATABASE] [--ignore-hooks] [--watch] ``` ## Arguments @@ -25,6 +25,7 @@ deploy [--config FILE] update [] \ | `-p`, `--port` | — | SSH port on the remote host | | `--db` | `` | Override target database name (Odoo only) | | `--ignore-hooks` | `False` | Skip all hook execution | +| `--watch` | `False` | Watch service logs for working information | ## Steps @@ -63,6 +64,7 @@ deploy [--config FILE] update [] \ ``` 8. **`post-update` hooks**, then `post-update-success` or `post-update-fail`. +9. If there is **`--watch`**, watch service logs for working information. Press `Ctrl+C` to exit. ## Exit codes diff --git a/site-docs/docs/markdown.md b/site-docs/docs/markdown.md deleted file mode 100644 index a4ad61f..0000000 --- a/site-docs/docs/markdown.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -icon: simple/markdown ---- - -# Markdown in 5min - -## Headers -``` -# H1 Header -## H2 Header -### H3 Header -#### H4 Header -##### H5 Header -###### H6 Header -``` - -## Text formatting -``` -**bold text** -*italic text* -***bold and italic*** -~~strikethrough~~ -`inline code` -``` - -## Links and images -``` -[Link text](https://example.com) -[Link with title](https://example.com "Hover title") -![Alt text](image.jpg) -![Image with title](image.jpg "Image title") -``` - -## Lists -``` -Unordered: -- Item 1 -- Item 2 - - Nested item - -Ordered: -1. First item -2. Second item -3. Third item -``` - -## Blockquotes -``` -> This is a blockquote -> Multiple lines ->> Nested quote -``` - -## Code blocks -```` -```javascript -function hello() { - console.log("Hello, world!"); -} -``` -```` - -## Tables -``` -| Header 1 | Header 2 | Header 3 | -|----------|----------|----------| -| Row 1 | Data | Data | -| Row 2 | Data | Data | -``` - -## Horizontal rule -``` ---- -or -*** -or -___ -``` - -## Task lists -``` -- [x] Completed task -- [ ] Incomplete task -- [ ] Another task -``` - -## Escaping characters -``` -Use backslash to escape: \* \_ \# \` -``` - -## Line breaks -``` - -Use a blank line for a new paragraph. -```