Mercurial > libervia-backend
annotate doc/Makefile @ 3393:2b6f69f6df8c
tools(xml_tools): fixed `<div>` unwrapping + added `parse` instance:
`<div>` unwrapping could fail when a text node was a sibling of the top element (could
easily happen ith a `\n` line feed added by an editor). This is fixed by filtering on
IElement with `elements()`.
A `parse` instance has been added as it is not necessary to create a new `ElementParser`
each time that we want to parse something.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 12 Nov 2020 14:53:15 +0100 |
parents | ce16847a7b6d |
children |
rev | line source |
---|---|
2946 | 1 # Minimal makefile for Sphinx documentation |
2 # | |
3 | |
4 # You can set these variables from the command line. | |
5 SPHINXOPTS = | |
6 SPHINXBUILD = sphinx-build | |
7 SOURCEDIR = . | |
8 BUILDDIR = .build | |
9 | |
10 # Put it first so that "make" without argument is like "make help". | |
11 help: | |
12 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | |
13 | |
14 .PHONY: help Makefile | |
15 | |
16 # Catch-all target: route all unknown targets to Sphinx using the new | |
17 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | |
18 %: Makefile | |
19 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |