f2ddafd860
Add a few missing headings to the translation templates.
(cherry picked from commit b98785309f
)
35 lines
806 B
Makefile
35 lines
806 B
Makefile
BASEDIR = $(CURDIR)
|
|
CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/
|
|
OUTPUTDIR = $(BASEDIR)/_build
|
|
TOOLSDIR = $(BASEDIR)/tools
|
|
JSDIR = $(BASEDIR)/../platform/javascript
|
|
LANGARG ?= en
|
|
LANGCMD = -l $(LANGARG)
|
|
|
|
.ONESHELL:
|
|
|
|
clean:
|
|
rm -rf $(OUTPUTDIR)
|
|
|
|
doxygen:
|
|
rm -rf $(OUTPUTDIR)/doxygen
|
|
mkdir -p $(OUTPUTDIR)/doxygen
|
|
doxygen Doxyfile
|
|
|
|
markdown:
|
|
rm -rf $(OUTPUTDIR)/markdown
|
|
mkdir -p $(OUTPUTDIR)/markdown
|
|
pushd $(OUTPUTDIR)/markdown
|
|
python2 $(TOOLSDIR)/makemd.py $(CLASSES)
|
|
popd
|
|
|
|
rst:
|
|
rm -rf $(OUTPUTDIR)/rst
|
|
mkdir -p $(OUTPUTDIR)/rst
|
|
python3 $(TOOLSDIR)/make_rst.py -o $(OUTPUTDIR)/rst $(LANGCMD) $(CLASSES)
|
|
|
|
rstjs:
|
|
rm -rf $(OUTPUTDIR)/rstjs
|
|
mkdir -p $(OUTPUTDIR)/rstjs
|
|
npm --prefix $(JSDIR) ci
|
|
npm --prefix $(JSDIR) run docs -- --destination $(OUTPUTDIR)/rstjs/html5_shell_classref.rst
|