Javadocs now use i2p-javadocs.i2p for in-network, and docs.i2p-projekt.de for clearnet.

This commit is contained in:
lazygravy
2016-01-24 03:12:09 +00:00
parent 32dce37d39
commit f881305fe6
19 changed files with 61 additions and 60 deletions

View File

@ -23,7 +23,7 @@ either protocol may be carried by either transport.
{%- endtrans %}</p> {%- endtrans %}</p>
<h2>{% trans %}Application Guide{% endtrans %}</h2> <h2>{% trans %}Application Guide{% endtrans %}</h2>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/client/datagram/package-summary.html', <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/datagram/package-summary.html',
sam= site_url('docs/api/sam'), sam= site_url('docs/api/sam'),
socks=site_url('docs/api/socks') -%} socks=site_url('docs/api/socks') -%}
Applications written in Java may use the Applications written in Java may use the
@ -70,7 +70,7 @@ Applications may add 'from' and 'to' ports to the I2CP (gzip) header as describe
the <a href="{{ i2cp }}#format">I2CP page</a>. the <a href="{{ i2cp }}#format">I2CP page</a>.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans i2psession='http://docs.i2p-projekt.de/javadoc/net/i2p/client/I2PSession.html' -%} <p>{% trans i2psession='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/I2PSession.html' -%}
There is no method within the datagram API to specify whether it is non-repliable (raw) There is no method within the datagram API to specify whether it is non-repliable (raw)
or repliable. The application should be designed to expect the appropriate type. or repliable. The application should be designed to expect the appropriate type.
The I2CP protocol number or port should be used by the application to The I2CP protocol number or port should be used by the application to
@ -82,8 +82,8 @@ use signed datagrams for a request which includes a nonce, and use a raw datagra
for the reply, returning the nonce from the request. for the reply, returning the nonce from the request.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans i2psession='http://docs.i2p-projekt.de/javadoc/net/i2p/client/I2PSession.html', <p>{% trans i2psession='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/I2PSession.html',
i2psessionmuxed='http://docs.i2p-projekt.de/javadoc/net/i2p/client/I2PSessionMuxedImpl.html' -%} i2psessionmuxed='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/I2PSessionMuxedImpl.html' -%}
The protocols and ports may be set in I2CP's The protocols and ports may be set in I2CP's
<a href="{{ i2psession }}">I2PSession API</a>, <a href="{{ i2psession }}">I2PSession API</a>,
as implemented in as implemented in

View File

@ -4,7 +4,7 @@
<h2>{% trans %}Note{% endtrans %}</h2> <h2>{% trans %}Note{% endtrans %}</h2>
<p>{% trans streaming=site_url('docs/api/streaming'), api='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/package-summary.html' -%} <p>{% trans streaming=site_url('docs/api/streaming'), api='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/package-summary.html' -%}
The ministreaming library has been enhanced and extended by the The ministreaming library has been enhanced and extended by the
"full" <a href="{{ streaming }}">streaming library</a>. "full" <a href="{{ streaming }}">streaming library</a>.
Ministreaming is deprecated and is incompatible with today's applications. Ministreaming is deprecated and is incompatible with today's applications.
@ -42,7 +42,7 @@ messages sent (or include any application level ACK or SACK), so it must wait
on average twice the time it takes to send a message before sending another. on average twice the time it takes to send a message before sending another.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans api='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/package-summary.html', <p>{% trans api='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/package-summary.html',
samv3=site_url('docs/api/samv3') -%} samv3=site_url('docs/api/samv3') -%}
Even with those issues, the ministreaming library performs quite well in many Even with those issues, the ministreaming library performs quite well in many
situations, and its <a href="{{ api }}">API</a> situations, and its <a href="{{ api }}">API</a>

View File

@ -389,7 +389,7 @@ followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_Priv
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 884 or more base 64 characters (663 or more bytes in binary), which is 884 or more base 64 characters (663 or more bytes in binary),
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
---------------------------------------------------------------------- ----------------------------------------------------------------------
RESULT values RESULT values

View File

@ -446,7 +446,7 @@ followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_Priv
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 884 or more base 64 characters (663 or more bytes in binary), which is 884 or more base 64 characters (663 or more bytes in binary),
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
---------------------------------------------------------------------- ----------------------------------------------------------------------
RESULT values RESULT values

View File

@ -342,7 +342,7 @@ followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_Priv
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 663 or more bytes in binary and 884 or more bytes in base 64, which is 663 or more bytes in binary and 884 or more bytes in base 64,
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
</p><p> </p><p>
If the destination is specified as TRANSIENT, the SAM bridge creates a new destination. If the destination is specified as TRANSIENT, the SAM bridge creates a new destination.
@ -384,7 +384,7 @@ followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_Priv
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 663 or more bytes in binary and 884 or more bytes in base 64, which is 663 or more bytes in binary and 884 or more bytes in base 64,
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
</p><p> </p><p>
If the nickname is already associated with a session: If the nickname is already associated with a session:
@ -808,7 +808,7 @@ CREATE command with PORT and HOST options:
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 884 or more base 64 characters (663 or more bytes in binary), which is 884 or more base 64 characters (663 or more bytes in binary),
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
</p><p> </p><p>
$host is the hostname or IP address of the datagram server to $host is the hostname or IP address of the datagram server to
@ -1033,7 +1033,7 @@ followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_Priv
followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>, followed by the <a href="{{ site_url('docs/spec/common-structures') }}#type_SigningPrivateKey">Signing Private Key</a>,
which is 884 or more base 64 characters (663 or more bytes in binary), which is 884 or more base 64 characters (663 or more bytes in binary),
depending on signature type. depending on signature type.
The binary format is specified in <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKeyFile.html">Private Key File</a>. The binary format is specified in <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKeyFile.html">Private Key File</a>.
<h4>PING/PONG (SAM 3.2 or higher)</h4> <h4>PING/PONG (SAM 3.2 or higher)</h4>

View File

@ -65,11 +65,11 @@ streaming library, to be interpreted by I2CP.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans i2cp=site_url('docs/protocol/i2cp'), <p>{% trans i2cp=site_url('docs/protocol/i2cp'),
i2psktmf='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/I2PSocketManagerFactory.html', i2psktmf='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/I2PSocketManagerFactory.html',
i2psktm='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/I2PSocketManager.html', i2psktm='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/I2PSocketManager.html',
i2psess='http://docs.i2p-projekt.de/javadoc/net/i2p/client/I2PSession.html', i2psess='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/I2PSession.html',
i2pskt='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/I2PSocket.html', i2pskt='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/I2PSocket.html',
i2psskt='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/I2PServerSocket.html' -%} i2psskt='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/I2PServerSocket.html' -%}
The standard interface to the streaming lib is for the application to use the The standard interface to the streaming lib is for the application to use the
<a href="{{ i2psktmf }}">I2PSocketManagerFactory</a> to create an <a href="{{ i2psktmf }}">I2PSocketManagerFactory</a> to create an
<a href="{{ i2psktm }}">I2PSocketManager</a>. The application then asks the <a href="{{ i2psktm }}">I2PSocketManager</a>. The application then asks the
@ -79,7 +79,7 @@ can then setup connections with an <a href="{{ i2pskt }}">I2PSocket</a> or
receive connections with an <a href="{{ i2psskt }}">I2PServerSocket</a>. receive connections with an <a href="{{ i2psskt }}">I2PServerSocket</a>.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/package-summary.html' -%} <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/package-summary.html' -%}
Here are the <a href="{{ url }}">full streaming library Javadocs</a>. Here are the <a href="{{ url }}">full streaming library Javadocs</a>.
{%- endtrans %}</p> {%- endtrans %}</p>
@ -89,7 +89,7 @@ For a good example of usage, see the i2psnark code.
<h3 id="options">{% trans %}Options and Defaults{% endtrans %}</h3> <h3 id="options">{% trans %}Options and Defaults{% endtrans %}</h3>
<p>{% trans i2psktmf='http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/I2PSocketManagerFactory.html' -%} <p>{% trans i2psktmf='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/streaming/I2PSocketManagerFactory.html' -%}
The options and current default values are listed below. The options and current default values are listed below.
Options are case-sensitive and may be set for the whole router, for a particular client, or for an individual socket on a Options are case-sensitive and may be set for the whole router, for a particular client, or for an individual socket on a
per-connection basis. per-connection basis.

View File

@ -336,7 +336,7 @@ as is done in our Java packages.
As always, state management is the difficult part. As always, state management is the difficult part.
{%- endtrans %}</p> {%- endtrans %}</p>
<p> <p>
See also: <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/router/Router.html">the Router javadocs</a>. See also: <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/router/Router.html">the Router javadocs</a>.
</p> </p>
{% endblock %} {% endblock %}

View File

@ -188,7 +188,7 @@ RouterInfos are periodically written to disk so that they are available after a
<a href="{{ site_url('docs/spec/common-structures') }}#struct_RouterInfo">{% trans %}RouterInfo specification{% endtrans %}</a> <a href="{{ site_url('docs/spec/common-structures') }}#struct_RouterInfo">{% trans %}RouterInfo specification{% endtrans %}</a>
</p> </p>
<p> <p>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/RouterInfo.html">{% trans %}RouterInfo Javadoc{% endtrans %}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/RouterInfo.html">{% trans %}RouterInfo Javadoc{% endtrans %}</a>
</p> </p>
<h2 id="leaseSet">LeaseSet</h2> <h2 id="leaseSet">LeaseSet</h2>
@ -224,9 +224,9 @@ In addition to these leases, the LeaseSet includes:
<a href="{{ site_url('docs/spec/common-structures') }}#struct_LeaseSet">{% trans %}LeaseSet specification{% endtrans %}</a> <a href="{{ site_url('docs/spec/common-structures') }}#struct_LeaseSet">{% trans %}LeaseSet specification{% endtrans %}</a>
</p> </p>
<p> <p>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Lease.html">{% trans %}Lease Javadoc{% endtrans %}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/Lease.html">{% trans %}Lease Javadoc{% endtrans %}</a>
<br /> <br />
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/LeaseSet.html">{% trans %}LeaseSet Javadoc{% endtrans %}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/LeaseSet.html">{% trans %}LeaseSet Javadoc{% endtrans %}</a>
</p> </p>

View File

@ -63,7 +63,7 @@ See <a href="#notes">below</a> for notes on minor changes since the paper was pu
{%- endtrans %}</p> {%- endtrans %}</p>
<h2>{% trans %}Profiles{% endtrans %}</h2> <h2>{% trans %}Profiles{% endtrans %}</h2>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/router/peermanager/PeerProfile.html' -%} <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/router/peermanager/PeerProfile.html' -%}
Each peer has a set of data points collected about them, including statistics Each peer has a set of data points collected about them, including statistics
about how long it takes for them to reply to a network database query, how about how long it takes for them to reply to a network database query, how
often their tunnels fail, and how many new peers they are able to introduce often their tunnels fail, and how many new peers they are able to introduce
@ -142,7 +142,7 @@ speed calculation meets or exceeds the median of all peers.
<li>{% trans %}A peer is considered "standard" if it is not "high capacity"{% endtrans %}</li> <li>{% trans %}A peer is considered "standard" if it is not "high capacity"{% endtrans %}</li>
</ul> </ul>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/router/peermanager/ProfileOrganizer.html' -%} <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/router/peermanager/ProfileOrganizer.html' -%}
These groupings are implemented in the router's These groupings are implemented in the router's
<a href="{{ url }}">ProfileOrganizer</a>. <a href="{{ url }}">ProfileOrganizer</a>.
{%- endtrans %}</p> {%- endtrans %}</p>

View File

@ -87,11 +87,11 @@ HTTP Bidir Proxy
</li><li> </li><li>
<a href="{{ site_url('docs/spec/streaming') }}">{{ _('Streaming Protocol Specification') }}</a> <a href="{{ site_url('docs/spec/streaming') }}">{{ _('Streaming Protocol Specification') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/client/streaming/package-summary.html">{{ _('Streaming Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/client/streaming/package-summary.html">{{ _('Streaming Javadoc') }}</a>
</li><li> </li><li>
<a href="{{ site_url('docs/spec/datagrams') }}">{{ _('Datagrams') }}</a> <a href="{{ site_url('docs/spec/datagrams') }}">{{ _('Datagrams') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/client/datagram/package-summary.html">{{ _('Datagram Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/client/datagram/package-summary.html">{{ _('Datagram Javadoc') }}</a>
</li></ul> </li></ul>
<h3>{% trans %}Client-to-Router Interface API and Protocol{% endtrans %}</h3> <h3>{% trans %}Client-to-Router Interface API and Protocol{% endtrans %}</h3>
@ -104,11 +104,11 @@ Traditionally used only by Java applications and higher-level APIs.
</li><li> </li><li>
<a href="{{ site_url('docs/spec/i2cp') }}">{{ _('I2CP Specification') }}</a> <a href="{{ site_url('docs/spec/i2cp') }}">{{ _('I2CP Specification') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/client/package-summary.html">{{ _('I2CP API Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/client/package-summary.html">{{ _('I2CP API Javadoc') }}</a>
</li><li> </li><li>
<a href="{{ site_url('docs/spec/common-structures') }}">{{ _('Common data structures specification') }}</a> <a href="{{ site_url('docs/spec/common-structures') }}">{{ _('Common data structures specification') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/package-summary.html">{{ _('Data Structures Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/package-summary.html">{{ _('Data Structures Javadoc') }}</a>
</li></ul> </li></ul>
<h3>{% trans %}End-to-End Encryption{% endtrans %}</h3> <h3>{% trans %}End-to-End Encryption{% endtrans %}</h3>
@ -134,11 +134,11 @@ Traditionally used only by Java applications and higher-level APIs.
</li><li> </li><li>
<a href="{{ site_url('docs/spec/i2np') }}">{{ _('I2NP Specification') }}</a> <a href="{{ site_url('docs/spec/i2np') }}">{{ _('I2NP Specification') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/i2np/package-summary.html">{{ _('I2NP Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/i2np/package-summary.html">{{ _('I2NP Javadoc') }}</a>
</li><li> </li><li>
<a href="{{ site_url('docs/spec/common-structures') }}">{{ _('Common data structures specification') }}</a> <a href="{{ site_url('docs/spec/common-structures') }}">{{ _('Common data structures specification') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/package-summary.html">{{ _('Data Structures Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/package-summary.html">{{ _('Data Structures Javadoc') }}</a>
</li></ul> </li></ul>
<h3>{% trans %}Tunnels{% endtrans %}</h3> <h3>{% trans %}Tunnels{% endtrans %}</h3>
@ -172,11 +172,11 @@ Traditionally used only by Java applications and higher-level APIs.
</li><li> </li><li>
<a href="{{ site_url('docs/how/cryptography') }}#udp">{{ _('SSU transport encryption') }}</a> <a href="{{ site_url('docs/how/cryptography') }}#udp">{{ _('SSU transport encryption') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/router/transport/package-summary.html">{{ _('Transport Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/router/transport/package-summary.html">{{ _('Transport Javadoc') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/router/transport/ntcp/package-summary.html">{{ _('NTCP Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/router/transport/ntcp/package-summary.html">{{ _('NTCP Javadoc') }}</a>
</li><li> </li><li>
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/router/transport/udp/package-summary.html">{{ _('SSU Javadoc') }}</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/router/transport/udp/package-summary.html">{{ _('SSU Javadoc') }}</a>
</li></ul> </li></ul>
<h3>{% trans %}Other Router Topics{% endtrans %}</h3> <h3>{% trans %}Other Router Topics{% endtrans %}</h3>

View File

@ -140,7 +140,7 @@ It also maintains a reverse-lookup map to implement rapid reverse lookups.
<h3>{{ _('Other Naming Service Facilities') }}</h3> <h3>{{ _('Other Naming Service Facilities') }}</h3>
<p>{% trans nsjavadocs='http://docs.i2p-projekt.de/javadoc/net/i2p/client/naming/package-summary.html' -%} <p>{% trans nsjavadocs='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/naming/package-summary.html' -%}
The lookup is case-insensitive. The lookup is case-insensitive.
The first match is used, and conflicts are not detected. The first match is used, and conflicts are not detected.
There is no enforcement of naming rules in lookups. There is no enforcement of naming rules in lookups.

View File

@ -15,7 +15,7 @@ I2CP to tell the client when any messages have arrived, and to request authoriza
for some tunnels to be used. for some tunnels to be used.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/client/package-summary.html', <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/client/package-summary.html',
libi2cp='http://git.repo.i2p/w/libi2cp.git', libi2cp='http://git.repo.i2p/w/libi2cp.git',
streaming=site_url('docs/api/streaming') -%} streaming=site_url('docs/api/streaming') -%}
The protocol itself is implemented in Java, to provide the The protocol itself is implemented in Java, to provide the

View File

@ -19,7 +19,7 @@ through multiple hops to the ultimate destination.
Priority is only used locally at the origin, i.e. when queuing for outbound delivery. Priority is only used locally at the origin, i.e. when queuing for outbound delivery.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans outnetmessage='http://docs.i2p-projekt.de/javadoc/net/i2p/router/OutNetMessage.html' -%} <p>{% trans outnetmessage='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/router/OutNetMessage.html' -%}
The priorities listed below may not be current and are subject to change. The priorities listed below may not be current and are subject to change.
See the <a href="{{ outnetmessage }}">OutNetMessage Javadocs</a> See the <a href="{{ outnetmessage }}">OutNetMessage Javadocs</a>
for the current priority settings. for the current priority settings.

View File

@ -98,7 +98,7 @@ This structure is used in ElGamal encryption, representing only the exponent, no
256 bytes 256 bytes
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PublicKey.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PublicKey.html">Javadoc</a></h4>
<h2 id="type_PrivateKey">PrivateKey</h2> <h2 id="type_PrivateKey">PrivateKey</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -111,7 +111,7 @@ This structure is used in ElGamal decryption, representing only the exponent, no
256 bytes 256 bytes
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/PrivateKey.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/PrivateKey.html">Javadoc</a></h4>
<h2 id="type_SessionKey">SessionKey</h2> <h2 id="type_SessionKey">SessionKey</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -123,7 +123,7 @@ This structure is used for AES256 encryption and decryption.
32 bytes 32 bytes
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/SessionKey.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/SessionKey.html">Javadoc</a></h4>
<h2 id="type_SigningPublicKey">SigningPublicKey</h2> <h2 id="type_SigningPublicKey">SigningPublicKey</h2>
@ -166,7 +166,7 @@ EdDSA, which is stored and transmitted in a Little Endian format.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/SigningPublicKey.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/SigningPublicKey.html">Javadoc</a></h4>
<h2 id="type_SigningPrivateKey">SigningPrivateKey</h2> <h2 id="type_SigningPrivateKey">SigningPrivateKey</h2>
@ -209,7 +209,7 @@ EdDSA, which is stored and transmitted in a Little Endian format.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/SigningPrivateKey.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/SigningPrivateKey.html">Javadoc</a></h4>
<h2 id="type_Signature">Signature</h2> <h2 id="type_Signature">Signature</h2>
@ -252,7 +252,7 @@ EdDSA, which is stored and transmitted in a Little Endian format.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Signature.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/Signature.html">Javadoc</a></h4>
<h2 id="type_Hash">Hash</h2> <h2 id="type_Hash">Hash</h2>
@ -265,7 +265,7 @@ Represents the SHA256 of some data.
32 bytes 32 bytes
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Hash.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/Hash.html">Javadoc</a></h4>
<h2 id="type_SessionTag">Session Tag</h2> <h2 id="type_SessionTag">Session Tag</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -277,7 +277,7 @@ A random number
32 bytes 32 bytes
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/SessionTag.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/SessionTag.html">Javadoc</a></h4>
<h2 id="type_TunnelId">TunnelId</h2> <h2 id="type_TunnelId">TunnelId</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -292,7 +292,7 @@ A Tunnel ID is generally greater than zero; do not use a value of zero except in
4 byte <a href="#type_Integer">Integer</a> 4 byte <a href="#type_Integer">Integer</a>
{% endtrans %}</p> {% endtrans %}</p>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/TunnelId.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/TunnelId.html">Javadoc</a></h4>
<h2 id="type_Certificate">Certificate</h2> <h2 id="type_Certificate">Certificate</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -456,7 +456,7 @@ Example layouts using an ElGamal Crypto Public Key and the Signing Public Key ty
</table> </table>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Certificate.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/Certificate.html">Javadoc</a></h4>
<h2 id="type_Mapping">Mapping</h2> <h2 id="type_Mapping">Mapping</h2>
@ -541,7 +541,7 @@ Total length limit is 65535 bytes, plus the 2 byte size field, or 65537 total.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/DataHelper.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/DataHelper.html">Javadoc</a></h4>
@ -609,7 +609,7 @@ The Crypto Public Key is aligned at the start and the Signing Public Key is alig
The padding (if any) is in the middle. The padding (if any) is in the middle.
</li></ul> </li></ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/KeysAndCert.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/KeysAndCert.html">Javadoc</a></h4>
<h2 id="struct_RouterIdentity">RouterIdentity</h2> <h2 id="struct_RouterIdentity">RouterIdentity</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -635,7 +635,7 @@ The Crypto Public Key is aligned at the start and the Signing Public Key is alig
The padding (if any) is in the middle. The padding (if any) is in the middle.
</li></ul> </li></ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/router/RouterIdentity.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/router/RouterIdentity.html">Javadoc</a></h4>
<h2 id="struct_Destination">Destination</h2> <h2 id="struct_Destination">Destination</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -664,7 +664,7 @@ The Crypto Public Key is aligned at the start and the Signing Public Key is alig
The padding (if any) is in the middle. The padding (if any) is in the middle.
</li></ul> </li></ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Destination.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/Destination.html">Javadoc</a></h4>
<h2 id="struct_Lease">Lease</h2> <h2 id="struct_Lease">Lease</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -709,7 +709,7 @@ Total size: 44 bytes
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/Lease.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/Lease.html">Javadoc</a></h4>
<h2 id="struct_LeaseSet">LeaseSet</h2> <h2 id="struct_LeaseSet">LeaseSet</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -837,7 +837,7 @@ This is an implementation detail and not part of the structures specification.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/LeaseSet.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/LeaseSet.html">Javadoc</a></h4>
@ -906,7 +906,7 @@ The following options, while not required, are standard and expected to be prese
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/router/RouterAddress.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/router/RouterAddress.html">Javadoc</a></h4>
<h2 id="struct_RouterInfo">RouterInfo</h2> <h2 id="struct_RouterInfo">RouterInfo</h2>
<h4>{% trans %}Description{% endtrans %}</h4> <h4>{% trans %}Description{% endtrans %}</h4>
@ -1005,7 +1005,7 @@ for standard options that are expected to be present in all router infos.
{%- endtrans %}</li> {%- endtrans %}</li>
</ul> </ul>
<h4><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/router/RouterInfo.html">Javadoc</a></h4> <h4><a href="http://{{ i2pconv('i2p-javadocs') }}/net/i2p/data/router/RouterInfo.html">Javadoc</a></h4>
<h2 id="struct_DeliveryInstructions">Delivery Instructions</h2> <h2 id="struct_DeliveryInstructions">Delivery Instructions</h2>

View File

@ -36,7 +36,7 @@ The file need not be sorted, but most applications do sort by key when
writing to the file, for ease of reading and manual editing. writing to the file, for ease of reading and manual editing.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans url='http://docs.i2p-projekt.de/javadoc/net/i2p/data/DataHelper.html', <p>{% trans url='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/data/DataHelper.html',
commonstructures=site_url('docs/spec/common-structures') -%} commonstructures=site_url('docs/spec/common-structures') -%}
Reads and writes are implemented in Reads and writes are implemented in
<a href="{{ url }}">DataHelper loadProps() and storeProps()</a>. <a href="{{ url }}">DataHelper loadProps() and storeProps()</a>.

View File

@ -415,7 +415,7 @@ time.
<h2 id="messages">Messages</h2> <h2 id="messages">Messages</h2>
See also the See also the
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/i2cp/package-summary.html">I2CP Javadocs</a>. <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/i2cp/package-summary.html">I2CP Javadocs</a>.
<h3 id="types">Message Types</h3> <h3 id="types">Message Types</h3>
<table border=1> <table border=1>
<tr><th>Message<th>Direction<th>Type<th>Since <tr><th>Message<th>Direction<th>Type<th>Since
@ -976,7 +976,7 @@ router implementation uses the guaranteed status codes, not the best effort code
As of router version 0.9.5, additional status codes are defined, As of router version 0.9.5, additional status codes are defined,
however they are not necessarily implemented. however they are not necessarily implemented.
See the See the
<a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/i2cp/MessageStatusMessage.html">MessageStatusMessage Javadocs</a> <a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/i2cp/MessageStatusMessage.html">MessageStatusMessage Javadocs</a>
for details. for details.
All status codes: All status codes:
<table border=1> <table border=1>

View File

@ -287,7 +287,7 @@ size ::
total length: 7 bytes total length: 7 bytes
{% endhighlight %} {% endhighlight %}
<h3><a href="http://docs.i2p-projekt.de/javadoc/net/i2p/data/i2np/DeliveryInstructions.html">Delivery Instructions Javadoc</a></h3> <h3><a href="http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/i2np/DeliveryInstructions.html">Delivery Instructions Javadoc</a></h3>
<h2 id="notes">Notes</h2> <h2 id="notes">Notes</h2>
<h3>I2NP Message Maximum Size</h3> <h3>I2NP Message Maximum Size</h3>

View File

@ -22,7 +22,7 @@ as a replacement for the
As modPow() is a significant computational portion of many crypto operations, this is of significant benefit. As modPow() is a significant computational portion of many crypto operations, this is of significant benefit.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans nativebigint='http://docs.i2p-projekt.de/javadoc/net/i2p/util/NativeBigInteger.html', <p>{% trans nativebigint='http://'+i2pconv('i2p-javadocs.i2p')+'/net/i2p/util/NativeBigInteger.html',
bigint='http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html#modPow%28java.math.BigInteger,%20java.math.BigInteger%29' -%} bigint='http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html#modPow%28java.math.BigInteger,%20java.math.BigInteger%29' -%}
The standard I2P installation includes about 20 versions of the library for different platforms, The standard I2P installation includes about 20 versions of the library for different platforms,
each about 50KB, inside the jbigi.jar file. each about 50KB, inside the jbigi.jar file.

View File

@ -10,6 +10,7 @@ I2P_TO_CLEAR = {
'trac.i2p2.i2p': 'trac.i2p2.de', 'trac.i2p2.i2p': 'trac.i2p2.de',
'mail.i2p': 'i2pmail.org', 'mail.i2p': 'i2pmail.org',
'lists.i2p2.i2p': 'lists.i2p2.de', 'lists.i2p2.i2p': 'lists.i2p2.de',
'i2p-javadocs.i2p': 'docs.i2p-projekt.de/javadoc', # Hacky to include the path, but it works!
'stats.i2p': 'stats.i2p', # Inproxy disabled at request of site owner 'stats.i2p': 'stats.i2p', # Inproxy disabled at request of site owner
'zzz.i2p': 'zzz.i2p', # Inproxy disabled at request of site owner 'zzz.i2p': 'zzz.i2p', # Inproxy disabled at request of site owner
} }