This PR: - reorganizes all documentation pages so they live in the right category - removes lots of legacy docs - contains many improvements to active documentation pages Geth user documentation is now spread across five major categories: - Install and Build: installation and compile instructions - Using Geth: this is for pages about general geth usage. - For dApp Developers: this is for programming guides and functionality specific to dapp development. All the dev guides for mobile framework and Go APIs live here. - JSON-RPC APIs: this has its own section because there is now a sub-page for every name space. I have also added an overview text that explains how to set up the API servers. - For Geth Developers: this is for geth contributors
42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
{% assign toplevels = site.collections | where_exp: "item", "item.sidebar_index" | sort:"sidebar_index" %}
|
|
<div class="container" style="padding-top: 24px;">
|
|
<div class="row">
|
|
<div class="col-md-3" id="toc" style="padding-top: 16px;">
|
|
{% for collection in toplevels %}
|
|
{% assign frontdoc = collection.docs | where_exp: "doc","doc.path == collection.frontpage" | first %}
|
|
{% unless frontdoc %}
|
|
{% assign frontdoc = collection.docs[0] %}
|
|
{% endunless %}
|
|
{% capture target %}{% include link.html url=frontdoc.url %}{% endcapture %}
|
|
<div class="list-group">
|
|
<a class="list-group-item active" href="{{ target |strip }}">{{ collection.caption }}</a>
|
|
{% if page.collection == collection.label %}
|
|
{% assign docs_by_sort_key = collection.docs | group_by:"sort_key" | sort:"name", "last" %}
|
|
{% for group in docs_by_sort_key %}
|
|
{% assign docs_sorted = group.items | sort:"title" %}
|
|
{% for doc in docs_sorted %}
|
|
{% assign classmodifier="" %}
|
|
{% if doc.url == page.url %}
|
|
{% assign classmodifier="disabled" %}
|
|
{% endif %}
|
|
{% capture target %}{% include link.html url=doc.url %}{% endcapture %}
|
|
<a class="list-group-item {{classmodifier}}" href="{{ target |strip }}">{% include title.html doc=doc coll=collection %}</a>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="col-md-9" id="content">
|
|
{% if page.title %}
|
|
<h1 class="featurette-heading">{% include title.html doc=page coll=page.collection %}</h1>
|
|
{% endif %}
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
</div>
|