Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing some broken links

  • Loading branch information...
commit 5853fc800759a99275518ca8663498903b10183e 1 parent 23d5d86
Christian Johansen authored
View
14 site/docs/client/client.html
@@ -1,22 +1,22 @@
<h1><code>buster.client</code></h1>
<dl>
<dt>Version</dt>
- <dd>See <a href="/buster-client/">buster-client</a></dd>
+ <dd>See <a href="/docs/client/">buster-client</a></dd>
<dt>Module</dt>
<dd><code>require("buster-client").client;</code></dd>
<dt>In browsers</dt>
<dd>N/A</dd>
</dl>
<p>
- The client creates a <a href="/buster-client/session/">session</a> given some
- <a href="/buster-configuration/">configuration</a>.
+ The client creates a <a href="/docs/client/session/">session</a> given some
+ <a href="/docs/configuration/">configuration</a>.
</p>
<div class="section">
<h2 id="methods">Methods</h2>
<h3 id="create" data-title="+create(port, host, path);+"><code>var client = buster.client.create(port, host, path);</code></h3>
<p>
Create a new client. Arguments are strings and describes where to find a
- running <a href="/buster-capture-server/">buster-capture-server</a>.
+ running <a href="/docs/capture-server/">buster-capture-server</a>.
</p>
<h3 id="createSession" data-title="+createSession(config);+">
<code>var promise = client.createSession(<a href="#options">options</a>);</code>
@@ -30,7 +30,7 @@ <h3 id="createSession" data-title="+createSession(config);+">
</p>
<p>
The returned promise is resolved with a
- <a href="/buster-client/session/">buster-client/session</a> object when
+ <a href="/docs/client/session/">buster-client/session</a> object when
the session is ready.
</p>
<pre><code>var buster = require("buster-client");
@@ -43,7 +43,7 @@ <h3 id="createSession" data-title="+createSession(config);+">
sessionConfig.load("/src/1.js");
var client = buster.client.create(1111, "localhost");
-client.createSession(sessionConfig).then(function (<a href="/buster-client/session/">session</a>) {
+client.createSession(sessionConfig).then(function (<a href="/docs/client/session/">session</a>) {
// Use session
});</code></pre>
<h3 id="getCachedResources" data-title="+getCachedResources();+">
@@ -54,7 +54,7 @@ <h3 id="getCachedResources" data-title="+getCachedResources();+">
reused if their content has not changed. The returned promise is resolved
with a <a href="#cachedResources"><code>cachedResources</code></a> object when ready.
</p>
- <h3 id="useCachedResources" data-title="+useCachedResources(config);+"><code>var promise = client.useCachedResources(<a href="/buster-client/session-config/#formatted-session-config">config</a>);</code></h3>
+ <h3 id="useCachedResources" data-title="+useCachedResources(config);+"><code>var promise = client.useCachedResources(<a href="/docs/client/session-config/#formatted-session-config">config</a>);</code></h3>
<p>
Tweak the session configuration to use cached resources where possible.
</p>
View
14 site/docs/client/session.html
@@ -1,7 +1,7 @@
<h1><code>buster.session</code></h1>
<dl>
<dt>Version</dt>
- <dd>See <a href="/buster-client/">buster-client</a></dd>
+ <dd>See <a href="/docs/client/">buster-client</a></dd>
<dt>Module</dt>
<dd><code>require("buster-client").session;</code></dd>
<dt>In browsers</dt>
@@ -9,9 +9,9 @@
</dl>
<p>
The client of a
- connected <a href="/buster-capture-server/">buster-capture-server</a>
+ connected <a href="/docs/capture-server/">buster-capture-server</a>
session. If you are looking to create a session, you are most likely looking
- for <a href="/buster-client/client/#createSession"><code>buster.client.createSession(config)</code></a>.
+ for <a href="/docs/client/client/#createSession"><code>buster.client.createSession(config)</code></a>.
</p>
<p>
The session can be used to communicate with captured clients through messaging
@@ -24,13 +24,13 @@ <h2 id="methods">Methods</h2>
<h3 id="on"><code>on(event, callback);</code></h3>
<p>
Subscribe to messages sent from any client. See
- <a href="/buster-multicast/#on"><code>buster.multicast.on</code></a> for
+ <a href="/docs/multicast/#on"><code>buster.multicast.on</code></a> for
details.
</p>
<h3 id="emit"><code>emit(event, data);</code></h3>
<p>
Send a message to all clients. See
- <a href="/buster-multicast/#on"><code>buster.multicast.emit</code></a> for
+ <a href="/docs/multicast/#on"><code>buster.multicast.emit</code></a> for
details.
</p>
<h3 id="close" data-title="+close();+"><code>var promise = session.close();</code></h3>
@@ -42,7 +42,7 @@ <h3 id="create" data-title="+create(options);+"><code>var config = buster.sessio
<p>
Create a new session instance. The session is assumed to already be
registered on the
- server. See <a href="/buster-client/client/#createSession"><code>buster.client.createSession(config)</code></a>.
+ server. See <a href="/docs/client/client/#createSession"><code>buster.client.createSession(config)</code></a>.
</p>
<h3 id="connect"><code>connect();</code></h3>
<p>
@@ -85,7 +85,7 @@ <h3 id="options"><code>options</code></h3>
</dd>
<dt><code>multicast</code></dt>
<dd>
- <a href="/buster-multicast/">Multicasting</a> options. Should contain two
+ <a href="/docs/multicast/">Multicasting</a> options. Should contain two
properties, <code>path</code> and <code>id</code>. Should be retrieved
from the server when the session is created remotely.
</dd>
View
2  site/docs/overview.html
@@ -100,7 +100,7 @@
<p><img src="/images/node-testing/buster-test-node.png" width="633" height="382"></p>
<h2>Assertions</h2>
<p>
- Buster.JS comes <a href="https://busterjs.org/docs/buster-assertions/">packed
+ Buster.JS comes <a href="https://busterjs.org/docs/assertions/">packed
with assertions</a>, and a simple DSL to add app-specific custom assertions.
</p>
<pre><code>assert(true);
View
4 site/docs/test/reporters.html
@@ -230,7 +230,7 @@ <h2 id="json-proxy"><code>jsonProxy</code></h2>
var reporter = buster.reporters.xml.create();
reporter.listen(proxy);</code></pre>
<h3 id="json-proxy-create" data-title="+create(emitter)+">
- <code>create([<a href="/buster-event-emitter/">emitter</a>])</code>
+ <code>create([<a href="/docs/event-emitter/">emitter</a>])</code>
</h3>
<p>
Create an instance. You can optionally provide an event emitter to emit
@@ -271,7 +271,7 @@ <h2 id="implement">Implementing a reporter</h2>
</h4>
<p>
This method allows you to listen to events of interest on the test
- runner. The built-in reporters typically use <a href="/buster-event-emitter/#bind"><code>bind</code></a>, but you are completely free to implement this the
+ runner. The built-in reporters typically use <a href="/docs/event-emitter/#bind"><code>bind</code></a>, but you are completely free to implement this the
way you feel best. See <a href="/docs/test/runner/#events">test runner events</a>
for available events.
</p>
Please sign in to comment.
Something went wrong with that request. Please try again.