Hi.
Patch #1 just simplifies the code a bit. This requires python
2.2.3. Is that OK?
Patch #2 fixes an issue with parsing top level comments.
Looking at the libvirt HTML output, you can see that the license text
at the top of the file ends prematurely.
This happens because the "<http:" is regarded by apibuild.py
as an info key, the part afterwards as its value.
The patch restricts the characters allowed for the key. Alternatively,
it would also be possible using only specific words.
Claudio Bley (2):
docs: simplify code
docs: restrict the set of characters for info keys
docs/apibuild.py | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
--
1.7.9.5