diff options
author | Pieter-Jan Briers <pieterjan.briers+git@gmail.com> | 2018-12-26 15:57:51 +0100 |
---|---|---|
committer | Pieter-Jan Briers <pieterjan.briers+git@gmail.com> | 2018-12-27 13:57:08 +0100 |
commit | 15a3d16d08f6452558456602b8f2adccf48e4327 (patch) | |
tree | c74bbfa1dbec06151bea6b8d09637e4b9ffccb61 /doc/Makefile | |
parent | 10e9221c49eddc05cb36c0b582060cac9e4c8cef (diff) |
Clean up & improve makerst.py
Man this file even had some semicolons in it.
I cleaned up the entire file, while it's still pretty ugly it's much better now.
I also added type checks so it passes mypy --strict.
make_type now throws a warning on unresolved type references, which there are a bunch of. I'm not responsible for fixing those though.
Also some more hardening against crashes. For example XML tags without content won't cause crashes now.
Functionality has not been modified as far as I can tell.
Update Makefile for Python 3
Fix ordering issues related to enums & constants
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index 2f9fefe794..7f3f7ea939 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -24,5 +24,5 @@ rst: rm -rf $(OUTPUTDIR)/rst mkdir -p $(OUTPUTDIR)/rst pushd $(OUTPUTDIR)/rst - python $(TOOLSDIR)/makerst.py $(CLASSES) + python3 $(TOOLSDIR)/makerst.py $(CLASSES) popd |