Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
matrix-doc
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Matrix.org
matrix-doc
Commits
505c8044
Commit
505c8044
authored
10 years ago
by
Kegan Dougal
Browse files
Options
Downloads
Patches
Plain Diff
Update scripts to look in the right places. Update jsfiddles to be more obvious in the HOWTO.
parent
31ec39db
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/gendoc.py
+1
-1
1 addition, 1 deletion
scripts/gendoc.py
supporting-docs/howtos/client-server.rst
+15
-10
15 additions, 10 deletions
supporting-docs/howtos/client-server.rst
with
16 additions
and
11 deletions
scripts/gendoc.py
+
1
−
1
View file @
505c8044
...
...
@@ -108,7 +108,7 @@ def main():
glob_spec
(
"
tmp/full_spec.rst
"
)
set_git_version
(
"
tmp/full_spec.rst
"
)
rst2html
(
"
tmp/full_spec.rst
"
,
"
gen/specification.html
"
)
rst2html
(
"
../howtos/client-server.rst
"
,
"
gen/howtos.html
"
)
rst2html
(
"
../
supporting-docs/
howtos/client-server.rst
"
,
"
gen/howtos.html
"
)
cleanup_env
()
if
__name__
==
'
__main__
'
:
...
...
This diff is collapsed.
Click to expand it.
supporting-docs/howtos/client-server.rst
+
15
−
10
View file @
505c8044
...
...
@@ -22,9 +22,10 @@ Accounts
Before you can send and receive messages, you must **register** for an account.
If you already have an account, you must **login** into it.
.. NOTE::
`Try out the fiddle`__
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/jsfiddles/register_login
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/
supporting-docs/howtos/
jsfiddles/register_login
Registration
------------
...
...
@@ -86,9 +87,10 @@ Communicating
In order to communicate with another user, you must **create a room** with that
user and **send a message** to that room.
.. NOTE::
`Try out the fiddle`__
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/jsfiddles/create_room_send_msg
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/
supporting-docs/howtos/
jsfiddles/create_room_send_msg
Creating a room
---------------
...
...
@@ -136,9 +138,10 @@ these rules may specify if you require an **invitation** from someone already in
the room in order to **join the room**. In addition, you may also be able to
join a room **via a room alias** if one was set up.
.. NOTE::
`Try out the fiddle`__
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/jsfiddles/room_memberships
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/
supporting-docs/howtos/
jsfiddles/room_memberships
Inviting a user to a room
-------------------------
...
...
@@ -182,9 +185,10 @@ An event is some interesting piece of data that a client may be interested in.
It can be a message in a room, a room invite, etc. There are many different ways
of getting events, depending on what the client already knows.
.. NOTE::
`Try out the fiddle`__
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/jsfiddles/event_stream
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/
supporting-docs/howtos/
jsfiddles/event_stream
Getting all state
-----------------
...
...
@@ -632,6 +636,7 @@ creating and joining rooms, sending messages, getting member lists and getting
historical messages for a room. This covers most functionality of a messaging
application.
.. NOTE::
`Try out the fiddle`__
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/jsfiddles/example_app
.. __: http://jsfiddle.net/gh/get/jquery/1.8.3/matrix-org/matrix-doc/tree/master/
supporting-docs/howtos/
jsfiddles/example_app
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment