Commits

Dimitris Glezos  committed 44d9208

docs: Move compiled docs in html instead of _build/html.

  • Participants
  • Parent commits d51c988

Comments (0)

Files changed (4)

 *.sqlite
 TODO
 docs/_build
+docs/html
 settings_local.py
 build-tools/*.rpm
 settings/??-local.conf

File build-tools/SPECS/transifex.spec.in

 
 %files -f transifex.lst
 %defattr(-,root,root,-)
-%doc LICENSE README docs/_build/html
+%doc LICENSE README docs/html
 %dir %{confdir}
 %config(noreplace) %{confdir}/10-base.conf
 %config(noreplace) %{confdir}/20-engines.conf

File docs/Makefile

 	-rm -rf _build/*
 
 html:
-	mkdir -p _build/html _build/doctrees
-	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
+	mkdir -p html _build/doctrees
+	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) html
 	@echo
-	@echo "Build finished. The HTML pages are in _build/html."
+	@echo "Build finished. The HTML pages are in html."
 
 pickle:
 	mkdir -p _build/pickle _build/doctrees
 To build the docs, I usually do something like:
 
 workon current
-export DJANGO_SETTINGS_MODULE='settings'
 make clean && make html
-scpresume _build/html/* opendev@opendev.gr:webapps/txo_docs/
+cd html
+scpresume * txo:webapps/txo_docs/