You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
392 B
HTML
16 lines
392 B
HTML
8 years ago
|
<head>
|
||
|
<script>
|
||
|
window.onload = function() {
|
||
|
var url = new URL(window.location);
|
||
|
url.pathname += "api-docs.json";
|
||
|
var newLoc = "http://matrix.org/docs/api/client-server/?url=" + encodeURIComponent(url);
|
||
|
document.getElementById("apidocs").href = newLoc;
|
||
|
};
|
||
|
</script>
|
||
|
</head>
|
||
|
<body><ul>
|
||
|
<li><a id="apidocs">api docs</a></li>
|
||
|
<li><a href="index.html">spec</a></li>
|
||
|
</ul>
|
||
|
</body>
|