improve doc package
This commit is contained in:
parent
ac105851ff
commit
697f44d200
18
Makefile
18
Makefile
|
@ -887,23 +887,9 @@ install_examples_site:
|
|||
install_doc_site:
|
||||
# Offline documentation install
|
||||
@rm -rf $(RDEFDOCDIR)
|
||||
# Install doc directories
|
||||
@install -v -d -m 755 $(RDEFDOCDIR)
|
||||
@cd doc && find * -type d |(cd $(RDEFDOCDIR); xargs install -v -d -m 755) && cd -
|
||||
# Install HTML files
|
||||
@cd doc && for f in `find * -type f -name '*.html'`; do \
|
||||
echo "Installing $$f"; \
|
||||
../scripts/transform-templates \
|
||||
usedebianlibs $(USEDEBIANLIBS) \
|
||||
useexternallibs $(USEEXTERNALLIBS) \
|
||||
jsminified $(JSCOMPRESS) \
|
||||
cssminified $(CSSCOMPRESS) <$$f \
|
||||
> $(RDEFDOCDIR)/$$f; \
|
||||
done && cd -
|
||||
# Install other files
|
||||
@cd doc && for f in `find * -type f ! -name '*.html'`; do \
|
||||
install -v -m 644 $$f $(RDEFDOCDIR)/$$f; \
|
||||
done && cd -
|
||||
@cd doc && find index.html pages/* -type f ! -path '*/.*' -exec install -v -m 644 -D '{}' $(RDEFDOCDIR)/'{}' \; && cd -
|
||||
|
||||
# Remove js
|
||||
@cd $(RDEFDOCDIR) && if test "$(USEEXTERNALLIBS)" = "yes"; then \
|
||||
rm -rvf $(DOCEXTERNALLIBS); \
|
||||
|
|
|
@ -138,6 +138,8 @@ if 'LLNGSPHINXWEBSITE' in os.environ:
|
|||
import sphinx_rtd_theme
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
html_theme_options = {}
|
||||
else:
|
||||
html_copy_source = False
|
||||
|
||||
|
||||
# html_theme_options = {}
|
||||
|
|
Loading…
Reference in New Issue