generate: Show metadata in the templates

Expose stability, availability, and possible deprecation notices.

We also expose the free-form annotations; in the future we might want to
use them to influence the documentation's output as well.
2 jobs for issue-17 in 4 minutes and 36 seconds (queued for 1 second)
Status Job ID Name Coverage
  Check
passed flake8 #1132812

00:04:36

failed mypy #1132813
allowed to fail

00:01:22

 
Name Stage Failure
failed
mypy Check
gidocgen/gir/parser.py:778: error: Item "None" of "Optional[Namespace]" has no attribute "add_record"
gidocgen/gir/parser.py:790: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "name" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "symbol_prefix" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "ctype" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:824: error: Item "None" of "Optional[Namespace]" has no attribute "add_union"
Found 77 errors in 3 files (checked 11 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1