Skip to content

Commit 619d050

Browse files
committed
fix the Makefile to generate the website documentation for 'en' and 'es'
languages
1 parent deee5db commit 619d050

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎Makefile‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ html:
4040
website:
4141
[ ~/Devel/doughellmann/doughellmann/templates/base.html -nt docs/sphinx/web/templates/base.html ] && (echo "Updating base.html" ; cp ~/Devel/doughellmann/doughellmann/templates/base.html docs/sphinx/web/templates/base.html) || exit 0
4242
rm -rf docs/website
43-
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx/web" BUILDDIR="website")
44-
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx/web" BUILDDIR="website" LANGUAGE="es")
43+
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx/web" BUILDDIR="website/en")
44+
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx/web" BUILDDIR="website/es" LANGUAGE="es")
4545

4646
installwebsite: website
47-
(cd docs/website/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/)
47+
(cd docs/website/en/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/)
48+
(cd docs/website/es/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/es/)
4849

4950
# Register the new version on pypi
5051
.PHONY: register

0 commit comments

Comments
 (0)