Kegan Dougal
1f6b12b3e8
Modify and enforce the file format/structure used
...
Convert the file format to be of the form ##_##_something.rst where the
first ## is the top-level section number and the second ## is the
second-level section number, e.g. 07_01_push_cs_api.rst means
Section 7.1 - This is now enforced in gendoc.py along with the title line
style that should be used (= for top-level, - for 2nd level) which will
give helpful suggestions if you trip up. This feels much more intuitive
now looking in /specification
9 years ago
Mark Haines
7f81501762
Allow relative references to schema to work in python and node.
...
Rename "schema/v1/core" to "schema/v1/core-event-schema".
Add self-referential symlinks to schema/v1/core-event-schema
The python json schema libraries expect that relative references are
relative to the file they are in. The node json schema libraries
expect that relateive references are relative to the first file loaded.
To support both kinds we reference the core event schema using
"core-event-schema/event.json". We then symlink the core-event-schema
directory to both the location of the file refering to "event.json" so
that it will work in python and to the location of the top level file
so that it will work in node.
9 years ago
Kegan Dougal
06e46c1899
Fix on a better numbering format
9 years ago
Kegan Dougal
91d674b3c7
Merge branch 'spec-edits-cleanup' into spec-file-structure
9 years ago
Kegsay
28f3e61d04
Merge pull request #50 from matrix-org/spec-edits-cleanup
...
Spec: typo/layout fixes
9 years ago
Kegan Dougal
9ed39665c8
PR feedback
9 years ago
Kegan Dougal
ef473b4161
Start enforcing title styles
...
This depends on the number of the file.
9 years ago
Daniel Wagner-Hall
08defafd98
Print errors to stderr
...
This means that continuserv will actually display them
9 years ago
Daniel Wagner-Hall
0b183f06f8
Merge pull request #49 from matrix-org/continuserv-logging
...
Continuserv: Log port being listened on
9 years ago
Kegan Dougal
ad26b7f8cb
Fix a subtle rendering bug when catting spec sections
...
Throw in gendoc.py if a spec section doesn't end with \n\n
There needs to be TWO new lines at the end of each spec section else the
title of the next section merges into the last paragraph of the earlier
section. This happens without rst2html producing a warning, and results
in the section heading of a file disappearing(!)
9 years ago
Kegan Dougal
8e7b33ac99
Fix more typos/spelling errors
9 years ago
Kegan Dougal
3f9d183c2a
More typo/layout fixes
...
Split out identity servers to a separate file
9 years ago
Kegan Dougal
620d3dcb26
Test commit
9 years ago
Kegan Dougal
faa95e172f
More formatting fixes; typos; etc
9 years ago
Mark Haines
46d29e9eea
fix the room api swagger to be valid swagger
9 years ago
Kegan Dougal
af32ec194a
Move VoIP events to 22_voip_events
...
20_events is a huge as it is, this makes it easier to find what section
you actually want when editing.
9 years ago
Kegan Dougal
5b59c67510
Minor formatting fixes. Fix state event templating.
9 years ago
Mark Haines
654ed9b99e
Remove keys from the m.room.* schema files so that they may be used in the node swagger validator
9 years ago
Kegan Dougal
9c3a333a6d
Apparently tabs are A Thing
9 years ago
Kegan Dougal
9b18fd252e
Log port being listened on
9 years ago
Mark Haines
315f97e36b
Merge branch 'master' into markjh/document_v1_rooms_api
9 years ago
Kegsay
bb441427ac
Merge pull request #48 from matrix-org/markjh/swagger
...
De-duplicate event schema
9 years ago
Mark Haines
fd3401fc7a
Remove accidentally committed swp file
9 years ago
Mark Haines
d0b018c46e
Fix syntax error in JSON
9 years ago
Mark Haines
380f186273
Log which file a json parse error occurred in
9 years ago
Mark Haines
c49338006a
replace definitions/*event.yaml with symlinks to /event-schemas/
9 years ago
Mark Haines
2cf8da6b20
Update the gendoc script to load the core event schema from
...
separate files.
9 years ago
Mark Haines
6147562d14
Split the "core" definition files into separate files. To
...
make it easier to use the schema files with tools that
don't support deep links.
9 years ago
Mark Haines
4d302d10c4
Merge pull request #47 from matrix-org/daniel/chdor
...
Fix chdir path
9 years ago
Daniel Wagner-Hall
21411309e0
Fix chdir path
9 years ago
Mark Haines
7eb8b4fde2
Add new-style docs for the APIs for getting events for a room
9 years ago
Kegsay
7fec98d651
Merge pull request #46 from matrix-org/markjh/gendoc_directory
...
Set the current directory in gendoc.py to the scripts directory
9 years ago
Mark Haines
c3eab1cc3c
Set the current working directory in gendoc.py to the script directory as that is where it expects to be run
9 years ago
Kegsay
916046670c
Merge pull request #45 from matrix-org/daniel/swaggerlogin
...
Swaggerify /login
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
b247761465
.gitignore speculator
9 years ago
Kegsay
2a2cd808fb
Merge pull request #42 from matrix-org/speculator-list
...
speculator: Add list-pull-request functionality
9 years ago
Daniel Wagner-Hall
d251f791fb
speculator: Document /
9 years ago
Daniel Wagner-Hall
f9ef934625
Merge branch 'master' into speculator-list
...
Conflicts:
scripts/speculator/main.go
9 years ago
Kegsay
e4f4670260
Merge pull request #44 from matrix-org/speculator-errs
...
speculator: Don't ignore errors
9 years ago
Kegsay
b2eb7e7dc1
Merge pull request #43 from matrix-org/speculator-diff
...
speculator: Unified diff for rst diff
9 years ago
Daniel Wagner-Hall
b6dab0009d
speculator: Don't ignore errors
9 years ago
Daniel Wagner-Hall
20f0284155
speculator: Unified diff for rst diff
9 years ago
Daniel Wagner-Hall
ba780a589a
speculator: Add list-pull-request functionality
9 years ago
Kegsay
da7c2e7fa8
Merge pull request #40 from matrix-org/markjh/history_for_rooms_that_have_been_left
...
SPEC-216: Add rooms that have been left to initial sync
9 years ago
Daniel Wagner-Hall
fef97802b7
Merge pull request #39 from matrix-org/speculator
...
speculator: Tool to preview spec pull requests
9 years ago
Daniel Wagner-Hall
bf318ffcd5
Add HTTP endpoints to README
9 years ago
Kegsay
e788f565f8
Merge pull request #36 from matrix-org/daniel/threepidinvites
...
Swagger /room/{roomId}/invite
9 years ago
Daniel Wagner-Hall
ca7dd49dc6
speculator: Add /healthz endpoint
9 years ago