diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-23 13:41:44 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-23 13:41:44 +0200 |
commit | 607d8603b6d5b8409aa3f0275d8dfc8d0b5fbaa0 (patch) | |
tree | a7e4b71e2f55e6d5d15cdbeaeda190b572b4307f /gtad/gtad.yaml | |
parent | 1abc131a53daeecddfc670830266948901fe82dc (diff) | |
download | libquotient-607d8603b6d5b8409aa3f0275d8dfc8d0b5fbaa0.tar.gz libquotient-607d8603b6d5b8409aa3f0275d8dfc8d0b5fbaa0.zip |
Update to the new matrix-doc layout and tooling
Among things affecting Quotient, the update involved moving API files
from api/ to data/api/, adding extensions to event schema files, and
switching from ReStructured Text to Markdown as a lightweight markup
language. This commit updates the build system and GTAD configuration
to accommodate for these.
The build system is also more robust now in choosing whether the
update-api target should be provided. Previously the target was provided
whenever GTAD_PATH and MATRIX_DOC_PATH were specified, even if they
did not point to anything valid. CMake now checks that MATRIX_DOC_PATH
is an actual directory and that GTAD_PATH points to an actual file.
Diffstat (limited to 'gtad/gtad.yaml')
-rw-r--r-- | gtad/gtad.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtad/gtad.yaml b/gtad/gtad.yaml index adf5024a..d68cc8a0 100644 --- a/gtad/gtad.yaml +++ b/gtad/gtad.yaml @@ -85,7 +85,7 @@ analyzer: { type: RoomEventPtr, imports: "events/eventloader.h" } - /event.yaml$/: { type: EventPtr, imports: "events/eventloader.h" } - - /m\.room\.member$/: void # Skip resolving; see EventsArray<> below + - /m\.room\.member/: void # Skip resolving; see EventsArray<> below - '/^(\./)?definitions/request_email_validation.yaml$/': title: EmailValidationData - '/^(\./)?definitions/request_msisdn_validation.yaml$/': @@ -109,7 +109,7 @@ analyzer: - /^Notification|Result$/: type: "std::vector<{{1}}>" imports: "events/eventloader.h" - - /m\.room\.member$/: # Only used in an array (see also above) + - /m\.room\.member/: # Only used in an array (see also above) type: "EventsArray<RoomMemberEvent>" imports: "events/roommemberevent.h" - /state_event.yaml$/: StateEvents |