From e36c86ed7eefa4cc64c76d4ef4d3ebabcc3c0d02 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Mon, 22 Jul 2019 14:10:10 -0700 Subject: [PATCH] Small change to theme and added build of Chinese language version. Signed-off-by: Kevin Putnam --- source/Makefile | 6 ++++++ source/_themes/otc_tcs_sphinx_theme/layout.html | 1 - source/conf.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/Makefile b/source/Makefile index 5c93beae..37287ed1 100644 --- a/source/Makefile +++ b/source/Makefile @@ -56,12 +56,18 @@ clean: htmlall: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html $(SPHINXBUILD) -b html -D language='de' $(ALLSPHINXOPTS) $(BUILDDIR)/html/de + $(SPHINXBUILD) -b html -D language='zh_CN' $(ALLSPHINXOPTS) $(BUILDDIR)/html/zh_CN htmlde: $(SPHINXBUILD) -b html -D language='de' $(ALLSPHINXOPTS) $(BUILDDIR)/html/de @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html/de." +htmlzh: + $(SPHINXBUILD) -b html -D language='zh_CN' $(ALLSPHINXOPTS) $(BUILDDIR)/html/zh_CN + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/html/zh_CN." + html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index 9d7aae2e..3edaf20a 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -12,7 +12,6 @@
- diff --git a/source/conf.py b/source/conf.py index 655f368e..761019d0 100644 --- a/source/conf.py +++ b/source/conf.py @@ -165,7 +165,7 @@ html_title = "Documentation for Clear Linux* project" # The name of an image file (relative to this directory) to place at the top # of the sidebar. -#html_logo = '_images/clearlinux.png' +html_logo = '_images/clearlinux.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32