Skip to content

Commit

Permalink
docs(next/readme): add build instructions for the Markdown backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Dec 18, 2024
1 parent 3bc3dc1 commit ec659e0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions next/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (WIP) Next gen moonbit-docs
# Next gen moonbit-docs

A new MoonBit docs framework based on Sphinx.

Expand Down Expand Up @@ -45,9 +45,16 @@ PATH=$PATH:/usr/local/texlive/2024/bin/universal-darwin/ make latexpdf
open ./_build/latex/moonbitdocument.pdf
```

For Markdown:

```bash
pip install sphinx-markdown-builder
sphinx-build -M markdown . ./_build
```

### Update translation template

```bash
make gettext
sphinx-intl update -p _build/gettext -l zh_CN
```
```

0 comments on commit ec659e0

Please sign in to comment.