Added german language support and build for travis

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
This commit is contained in:
Kevin Putnam
2019-07-12 13:36:15 -07:00
parent 86afb6b21b
commit e3329bc2ca
4 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ install:
# command to run tests
script:
- make py
- make html
- make htmlall
#- make linkcheck
deploy:
+6
View File
@@ -4,6 +4,12 @@
all:
make -C source html
htmlall:
make -C source htmlall
htmlde:
make -C source htmlde
html:
make -C source html
+9
View File
@@ -53,6 +53,15 @@ help:
clean:
rm -rf $(BUILDDIR)/*
htmlall:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
$(SPHINXBUILD) -b html -D language='de' $(ALLSPHINXOPTS) $(BUILDDIR)/html/de
htmlde:
$(SPHINXBUILD) -b html -D language='de' $(ALLSPHINXOPTS) $(BUILDDIR)/html/de
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html/de."
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
+2 -2
View File
@@ -140,8 +140,8 @@ html_context = {
"conf_py_path": "/source/", # Path in the checkout to the docs root
"current_version": current_version,
"languages": ( ("English", ""),
("Mandarin", "/md"),
("Spanish", "/esp")
("Mandarin", "/zh_CN"),
("German", "/de")
),
"versions": ( ("latest", ""),
("LTS 1", "/lts/v1"),