Kegan Dougal
b0eb985523
Merge branch 'master' into spec-restructure-modules
9 years ago
Kegan Dougal
0c0ac3e814
Fix common event fields template to use subtitle char
9 years ago
Kegan Dougal
f71763b0d3
Implement relative title styles
...
Templates don't know at what level they will be inserted. Previously, we
hard-coded the title style which is not compatible with the build target
system. Define a set of styles which will be replaced by the gendoc script
when it encounters them:
'<' : Make this title a sub-heading
'/' : Make this title a heading at the same level
'>' : Make this title a super-heading
The build target system is now basically complete and functioning.
9 years ago
Mark Haines
7eb8b4fde2
Add new-style docs for the APIs for getting events for a room
9 years ago
Daniel Wagner-Hall
59a4e84361
s/registration/login/
9 years ago
Daniel Wagner-Hall
b8e2ac5c1b
Swaggerify /login
9 years ago
Daniel Wagner-Hall
d53943c8c2
Spec /room/{roomId}/join
...
This is just replacing the existing spec with a swagger version.
Subsequent pull requests will add 3pid join to this, as well as specing
the invite, leave, ban, and kick endpoints.
9 years ago
Kegan Dougal
e572cc662a
Restructure the first few sections.
...
Remove unecessary sections; put presnece/profile sections on the right level.
Move Living Standard warning to the top of the Introduction section.
9 years ago
Kegan Dougal
c42bfabaad
Order the status API before presence lists because it is more important.
9 years ago
Kegan Dougal
e10859a887
Replace presence API with new template.
9 years ago
Kegan Dougal
334e10468d
Add presence swagger and template.
9 years ago
Kegan Dougal
ec631c60d4
Add link to github commit for the spec as per request.
9 years ago
Kegan Dougal
0275c2ffa0
Add sync API yaml. Add template for sync_http_api.
9 years ago
Kegan Dougal
bb9537b824
Add a CHANGELOG. Modify table CSS.
...
Hook up templating system to read the CHANGELOG for version and changelog info.
Modified nature.css to make it clearer on table headings/sub-headings. Use the
full _matrix/client path on title links to make it clear it is for v1.
9 years ago
Kegan Dougal
8a676a2b9d
Add sortFn for profile HTTP API. Add combined profile HTTP API.
9 years ago
Kegan Dougal
c75fd6bcae
Add HTTP API wip template.
9 years ago
Kegan Dougal
d090389d01
Start pre-processing swagger APIs before passing to sections.
9 years ago
Kegan Dougal
1dc3d82664
Load swagger APIs as templating units. Check sections return strings.
9 years ago
Kegan Dougal
c3a298a5df
Fix sort order for VoIP events.
9 years ago
Kegan Dougal
ac7ccfa622
Add {{presence_events}}. Factor out common code in MatrixSections.
9 years ago
Kegan Dougal
9abadaf7af
Add {{presence_events}} template.
9 years ago
Kegan Dougal
e046402a4a
Shift msgtype section order to have common (implemented) types first.
9 years ago
Kegan Dougal
59f856c7e6
Factor out ImageInfo into a core type. Refer to that in other msgtypes.
...
Add templating for msgtypes. ImageInfo core type is not referred to for
m.image in order for the ImageInfo table to render for it.
9 years ago
Kegan Dougal
9d532f30e8
Add {{voip_events}}. Add more info on sections when asked via build.py -s
9 years ago
Kegan Dougal
89083b3a86
Add {{spec_version}}. Update build.py module docs.
9 years ago
Kegan Dougal
5b31c442f5
Completely split up the templating system from the Matrix Spec template code.
...
The two are now linked together in build.py by specifying the input module.
Updated gendoc.py to specify the right module.
9 years ago