Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
2dfe1847
Commit
2dfe1847
authored
Aug 21, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use sphinxcontrib.httpdomain for documenting API
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
bd37aaa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
docs/api.rst
docs/api.rst
+11
-11
docs/conf.py
docs/conf.py
+1
-1
No files found.
docs/api.rst
View file @
2dfe1847
...
...
@@ -11,17 +11,17 @@ Notification hooks
Notification hooks allow external applications to notify Weblate that Git
repository has been updated.
..
describe:: GET
/hooks/update/(string:project)/(string:subproject)/
..
http:get::
/hooks/update/(string:project)/(string:subproject)/
Triggers update of a subproject (pulling from Git and scanning for
translation changes).
..
describe:: GET
/hooks/update/(string:project)/
..
http:get::
/hooks/update/(string:project)/
Triggers update of all subprojects in a project (pulling from Git and
scanning for translation changes).
..
describe:: POST
/hooks/github/
..
http:post::
/hooks/github/
Special hook for handling GitHub notifications and automatically updating
matching subprojects.
...
...
@@ -38,7 +38,7 @@ repository has been updated.
https://help.github.com/articles/creating-webhooks
:setting:`ENABLE_HOOKS`
..
describe:: POST
/hooks/gitlab/
..
http:post::
/hooks/gitlab/
Special hook for handling GitLab notifications and automatically updating
matching subprojects.
...
...
@@ -49,7 +49,7 @@ repository has been updated.
http://doc.gitlab.com/ce/web_hooks/web_hooks.html
:setting:`ENABLE_HOOKS`
..
describe:: POST
/hooks/bitbucket/
..
http:post::
/hooks/bitbucket/
Special hook for handling Bitbucket notifications and automatically
updating matching subprojects.
...
...
@@ -68,7 +68,7 @@ Exports
Weblate provides various exports to allow you further process the data.
..
describe:: GET
/exports/stats/(string:project)/(string:subproject)/
..
http:get::
/exports/stats/(string:project)/(string:subproject)/
Retrieves statistics for given subproject in JSON format.
...
...
@@ -163,23 +163,23 @@ RSS feeds
Changes in translations are exported in RSS feeds.
..
describe:: GET
/exports/rss/(string:project)/(string:subproject)/(string:language)/
..
http:get::
/exports/rss/(string:project)/(string:subproject)/(string:language)/
Retrieves RSS feed with recent changes for a translation.
..
describe:: GET
/exports/rss/(string:project)/(string:subproject)/
..
http:get::
/exports/rss/(string:project)/(string:subproject)/
Retrieves RSS feed with recent changes for a subproject.
..
describe:: GET
/exports/rss/(string:project)/
..
http:get::
/exports/rss/(string:project)/
Retrieves RSS feed with recent changes for a project.
..
describe:: GET
/exports/rss/language/(string:language)/
..
http:get::
/exports/rss/language/(string:language)/
Retrieves RSS feed with recent changes for a language.
..
describe:: GET
/exports/rss/
..
http:get::
/exports/rss/
Retrieves RSS feed with recent changes for Weblate instance.
...
...
docs/conf.py
View file @
2dfe1847
...
...
@@ -31,7 +31,7 @@ sys.path.append(
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions
=
[
'djangodocs'
]
extensions
=
[
'djangodocs'
,
'sphinxcontrib.httpdomain'
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment