Updates and fixes across the board, with the main one being sphinx 3
support.
Bruno Santos (3):
parser: fix placement of array brackets
parser: start using c:macro also for function-like macros
parser: start using c:struct, c:union, and c:enum directives
Jani Nikula (8):
build: add initial requirements.txt
build: add a virtual env helper script
build: add simple Dockerfile for testing
doc: rework the fallback code on failing to import hawkmoth
parser: start using c:enumerator for enum values
require sphinx version 3 or higher
build: update requirements.txt to sphinx 3
test: remove clang warning from documentation build
Dockerfile | 21 +++++++++++++++++
Makefile.local | 15 +++++++++++-
README.rst | 2 +-
doc/conf.py | 8 +++++--
doc/examples.rst | 36 -----------------------------
doc/ext/automock/__init__.py | 43 +++++++++++++++++++++++++++++++++++
doc/update-examples | 4 ----
hawkmoth/__init__.py | 2 +-
hawkmoth/parser.py | 18 ++++++++++++---
hawkmoth/util/docstr.py | 14 ++++++++----
requirements-latest.txt | 2 ++
requirements.txt | 26 +++++++++++++++++++++
setup.py | 2 +-
test/enum.rst | 6 ++---
test/example-10-macro.rst | 6 ++---
test/example-20-variable.c | 5 ++++
test/example-20-variable.rst | 5 ++++
test/example-40-enum.rst | 6 ++---
test/example-50-struct.c | 2 +-
test/example-50-struct.rst | 2 +-
test/example-50-struct.stderr | 1 -
test/function-like-macro.rst | 4 ++--
test/struct.rst | 2 +-
test/typedef-enum.rst | 8 +++----
test/typedef-struct.rst | 4 ++--
test/union.rst | 4 ++--
venv | 4 ++++
27 files changed, 176 insertions(+), 76 deletions(-)
create mode 100644 Dockerfile
create mode 100644 doc/ext/automock/__init__.py
create mode 100644 requirements-latest.txt
create mode 100644 requirements.txt
delete mode 100644 test/example-50-struct.stderr
create mode 100644 venv
--
2.20.1