forked from I2P_Developers/i2p.www
First pass at spec viewing system
This commit is contained in:
40
i2p2www/pages/spec/index.html
Normal file
40
i2p2www/pages/spec/index.html
Normal file
@@ -0,0 +1,40 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}I2P Specification Documents{% endblock %}
|
||||
{% block content %}
|
||||
This page provides the specifications for various components of the I2P network
|
||||
and router software. These are living documents, and the specifications are
|
||||
updated as modifications are made to the network and software.
|
||||
|
||||
<ul><li>
|
||||
"Last updated" is the last date when the specification given within a document
|
||||
was altered in any way, except for changes to the "accurate for" information.
|
||||
</li><li>
|
||||
The "accurate for" column gives the version of the I2P network and reference
|
||||
Java implementation that the document is verified to be valid for. Because the
|
||||
documents are usually only updated when changes are made, the listed versions
|
||||
can sometimes be several releases behind. This does not mean that documents with
|
||||
old listed versions are necessarily inaccurate, but small differences may creep
|
||||
in during the course of development. Periodic reviews are conducted to update
|
||||
the "accurate for" information.
|
||||
</li></ul>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<th>Last updated</th>
|
||||
<th>Accurate for</th>
|
||||
<th>Link</th>
|
||||
</tr>
|
||||
{% for spec in specs %}
|
||||
<tr>
|
||||
<td>{{ spec.title }}</td>
|
||||
<td><time>{{ spec.lastupdated }}</time></td>
|
||||
<td>{{ spec.accuratefor }}</td>
|
||||
<td>
|
||||
<a href="{{ get_url('spec_show', name=spec.name) }}">HTML</a> |
|
||||
<a href="{{ get_url('spec_show_txt', name=spec.name) }}">TXT</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
10
i2p2www/pages/spec/show.html
Normal file
10
i2p2www/pages/spec/show.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{%- from "global/macros" import render_categories with context -%}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block lastupdated %}{{ meta.lastupdated }}{% endblock %}
|
||||
{% block accuratefor %}{{ meta.accuratefor }}{% endblock %}
|
||||
{% block content %}
|
||||
{% autoescape false %}
|
||||
{{ body }}
|
||||
{% endautoescape %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user