From 2b75f51443f1bc7c2138f14f584a7ef2a401cfd0 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:40:48 +0800 Subject: [PATCH 1/8] Add MacOS prerequisite --- README.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f50373aaae..ef377de871 100644 --- a/README.rst +++ b/README.rst @@ -73,6 +73,11 @@ the PSF for inclusion in the documentation. - `安裝好 git `_\ (Windows 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ +- MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 +.. code-block:: bash + brew install gettext + + brew link gettext --force 在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork`` 按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork @@ -114,7 +119,7 @@ the PSF for inclusion in the documentation. 3. 存檔以後,可以輸出文件以確保你的修改沒有 rST 的語法錯誤或警告 :: make - + 這個過程中 Sphinx 會幫你檢查 rST 語法錯誤,我們盡量保持沒有 warning 的狀態,因此如果有出現 warning 的話請修復它。另外也記得檢查是否符合\ `翻譯守則`_ From 9f7ff2409e454588ecde2fdc41041e2df178e7b4 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:42:35 +0800 Subject: [PATCH 2/8] Edit Paragraph --- README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rst b/README.rst index ef377de871..b04cbf3474 100644 --- a/README.rst +++ b/README.rst @@ -74,6 +74,7 @@ the PSF for inclusion in the documentation. 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ - MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 + .. code-block:: bash brew install gettext From 850d67304b25e590da7a27966d32caab7a104107 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:46:09 +0800 Subject: [PATCH 3/8] Edit Paragraph --- README.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index b04cbf3474..088e6e84e1 100644 --- a/README.rst +++ b/README.rst @@ -74,11 +74,10 @@ the PSF for inclusion in the documentation. 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ - MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 - -.. code-block:: bash - brew install gettext - - brew link gettext --force + .. code-block:: bash + + brew install gettext + brew link gettext --force 在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork`` 按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork From 7e9a51caeaf7b50804087f5c5b79b950156b11a7 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:47:38 +0800 Subject: [PATCH 4/8] Edit code snippet --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 088e6e84e1..c8c9bb49d0 100644 --- a/README.rst +++ b/README.rst @@ -75,8 +75,9 @@ the PSF for inclusion in the documentation. - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ - MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 .. code-block:: bash - + brew install gettext + brew link gettext --force 在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork`` From c57f320b6a75aa040c52ccceeb3bfd2e5dc37f9d Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:48:34 +0800 Subject: [PATCH 5/8] Edit code snippet --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index c8c9bb49d0..c7e900cef1 100644 --- a/README.rst +++ b/README.rst @@ -74,11 +74,11 @@ the PSF for inclusion in the documentation. 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ - MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 - .. code-block:: bash +.. code-block:: bash - brew install gettext + brew install gettext - brew link gettext --force + brew link gettext --force 在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork`` 按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork From 5d3c97a58741fe1e6e780052135304b979735494 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:49:29 +0800 Subject: [PATCH 6/8] edit syntax --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index c7e900cef1..f00eb6e783 100644 --- a/README.rst +++ b/README.rst @@ -73,7 +73,7 @@ the PSF for inclusion in the documentation. - `安裝好 git `_\ (Windows 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ -- MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時使用 Sphinx 會用到。 +- MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時 Sphinx 會使用到。 .. code-block:: bash brew install gettext From 7ee6bc9b3a823cfb542f35d5f1bf7945dec9d347 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 16:51:56 +0800 Subject: [PATCH 7/8] Edit indent --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f00eb6e783..11e6eb9bbc 100644 --- a/README.rst +++ b/README.rst @@ -120,7 +120,7 @@ the PSF for inclusion in the documentation. 3. 存檔以後,可以輸出文件以確保你的修改沒有 rST 的語法錯誤或警告 :: make - + 這個過程中 Sphinx 會幫你檢查 rST 語法錯誤,我們盡量保持沒有 warning 的狀態,因此如果有出現 warning 的話請修復它。另外也記得檢查是否符合\ `翻譯守則`_ From 0dfc0ebae8ee8956c1564e3214938cd66b2dac18 Mon Sep 17 00:00:00 2001 From: nickbanana Date: Sat, 13 Oct 2018 17:46:55 +0800 Subject: [PATCH 8/8] Add homebrew link --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 11e6eb9bbc..de26d196d2 100644 --- a/README.rst +++ b/README.rst @@ -73,7 +73,7 @@ the PSF for inclusion in the documentation. - `安裝好 git `_\ (Windows 上請參考 https://gitforwindows.org/) - 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit `_ -- MacOS 的使用者還需要先利用 homebrew 安裝 gettext ,屆時 Sphinx 會使用到。 +- MacOS 的使用者還需要先利用 `homebrew `_ 安裝 gettext ,屆時 Sphinx 會使用到。 .. code-block:: bash brew install gettext