Skip to content

Commit

Permalink
Merge pull request #34 from buricl/master
Browse files Browse the repository at this point in the history
Fix quick start guide for Windows, add build directories to gitignore
  • Loading branch information
shimizukawa committed Jul 8, 2019
2 parents 175f26f + b87cdc9 commit a51e033
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.egg-info
__pycache__
doc/locale
doc/_build
12 changes: 6 additions & 6 deletions doc/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This section describe to translate with Sphinx_ and `sphinx-intl` command.

On Windows::

$ set SPHINXOPTS="-Dlanguage='ja'"
$ set SPHINXOPTS=-Dlanguage=ja
$ make html

That's all!
Expand Down Expand Up @@ -90,7 +90,6 @@ QuickStart console log

(.venv) C:/sphinx-intl/doc> make gettext
Running Sphinx v2.0.1
loading translations ['ja']... not available for built-in messages
making output directory... done
building [gettext]: targets for 0 template files
building [gettext]: targets for 7 source files that are out of date
Expand Down Expand Up @@ -199,13 +198,14 @@ QuickStart console log
(.venv) C:/sphinx-intl/doc> # Edit po files for each languages
(.venv) C:/sphinx-intl/doc> # ================================

(.venv) C:/sphinx-intl/doc> set SPHINXOPTS="-Dlanguage='ja'"
(.venv) C:/sphinx-intl/doc> set SPHINXOPTS=-Dlanguage=ja

(.venv) C:/sphinx-intl/doc> make html
Running Sphinx v2.0.1
loading translations ['ja']... not available for built-in messages
loading translations [ja]... done
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [mo]: targets for 7 po files that are out of date
writing output... [100%] locale/ja/LC_MESSAGES/refs.mo
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] refs
Expand All @@ -221,7 +221,7 @@ QuickStart console log

copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping search index in Japanese (code: ja) ... done
dumping object inventory... done
build succeeded.

Expand Down

0 comments on commit a51e033

Please sign in to comment.