Skip to content

Commit

Permalink
Add make build on README (#910)
Browse files Browse the repository at this point in the history
* add make build way in readme

* fix syntax error

* add make build description

* add annotation of make build

* Update Makefile

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>

---------

Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>
  • Loading branch information
timmy0123 and rockleona authored Jun 1, 2024
1 parent b7cc6ec commit 829aa71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Here is what you can do:
#
# - make all # Automatically build an html local version
# - make build # To build a single .po file
# - make todo # To list remaining tasks
# - make merge # To merge pot from upstream
# - make fuzzy # To find fuzzy strings
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ the PSF for inclusion in the documentation.

確保輸出中沒有任何關於正在翻譯的檔案的警告訊息。

在 ``make all`` 後,可以使用 ``make build`` 來只對單一 ``.po`` 檔進行編譯,可以節省較多的時間 ::

VERSION=3.12 make build glossary.po

如果你還沒有執行 `維護、預覽`_ 的 clone CPython 的動作,此指令會自動幫你 clone CPython,\
並且會使用 Sphinx 幫你檢查 reST 語法錯誤,我們盡量保持沒有 warning \
的狀態,因此如果有出現 warning 的話請修復它。另外也記得檢查是否符合\
Expand Down

0 comments on commit 829aa71

Please sign in to comment.