File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,12 +33,14 @@ sdist: html
3333.PHONY : html
3434html :
3535 (cd docs && $( MAKE) html SPHINXOPTS=" -c sphinx/pkg" )
36+ (cd docs && $( MAKE) html SPHINXOPTS=" -c sphinx/pkg" LANGUAGE=" es" )
3637
3738# Website copy of documentation
3839.PHONY : website
3940website : docs/sphinx/web/templates/base.html
4041 rm -rf docs/website
4142 (cd docs && $( MAKE) html SPHINXOPTS=" -c sphinx/web" BUILDDIR=" website" )
43+ (cd docs && $( MAKE) html SPHINXOPTS=" -c sphinx/web" BUILDDIR=" website" LANGUAGE=" es" )
4244
4345installwebsite : website
4446 (cd docs/website/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/)
@@ -93,4 +95,4 @@ test-quick:
9395 SUPPORTED_PYTHON_VERSIONS=$(PRIMARY_PYTHON_VERSION ) $(MAKE ) test-bash
9496
9597test-install :
96- bash ./tests/manual_test_install.sh ` pwd` /dist " $( VERSION) "
98+ bash ./tests/manual_test_install.sh ` pwd` /dist " $( VERSION) "
Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ BUILDDIR = build
1010# Internal variables.
1111PAPEROPT_a4 = -D latex_paper_size=a4
1212PAPEROPT_letter = -D latex_paper_size=letter
13- ALLSPHINXOPTS = -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source
13+ # If doc language is English you don't need to set this variable
14+ LANGUAGE =
15+ ALLSPHINXOPTS = -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source/$(LANGUAGE )
1416
1517.PHONY : help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
1618
You can’t perform that action at this time.
0 commit comments