mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-14 00:35:50 +00:00
Add documentation index
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -468,6 +468,15 @@ pages:
|
|||||||
- labels
|
- labels
|
||||||
targets:
|
targets:
|
||||||
- ja
|
- ja
|
||||||
|
|
||||||
|
- name: Documentation Index
|
||||||
|
longer_name: Full Documentation Index
|
||||||
|
template: page-docs-index.html.jinja
|
||||||
|
html: docs-index.html
|
||||||
|
parent: docs.html
|
||||||
|
sidebar: disabled
|
||||||
|
targets:
|
||||||
|
- en
|
||||||
|
|
||||||
# Concepts ---------------------------------------------------------------------
|
# Concepts ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<article class="pt-3 p-md-3">
|
<article class="pt-3 p-md-3">
|
||||||
<h1>Not Found</h1>
|
<h1>Not Found</h1>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>Sorry, this page does not exist. Try looking in the <a href="/docs.html#full-doc-index">Full Documentation Index</a>, or you can search the site:</p>
|
<p>Sorry, this page does not exist. Try looking in the <a href="/docs-index.html">Full Documentation Index</a>, or you can search the site:</p>
|
||||||
<form role="search">
|
<form role="search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="input-group" id="centersearchboxcontainer">
|
<div class="input-group" id="centersearchboxcontainer">
|
||||||
|
|||||||
23
template/page-docs-index.html.jinja
Normal file
23
template/page-docs-index.html.jinja
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{% extends "base.html.jinja" %}
|
||||||
|
|
||||||
|
{% block mainclasses %}landing page-docs page-docs-index landing-builtin-bg overflow-hidden styled-page{% endblock %}
|
||||||
|
{% block main %}
|
||||||
|
<section class="container-new py-26 doc-index">
|
||||||
|
<div class="d-flex flex-column-reverse w-100">
|
||||||
|
<h2 id="full-doc-index" class="h4">{% trans %}Full documentation index{% endtrans %}</h2>
|
||||||
|
<h6 class="eyebrow mb-3">{% trans %}See Everything{% endtrans %}</h6>
|
||||||
|
</div>
|
||||||
|
{% set docpages = pages|selectattr('html', 'defined_and_equalto', 'docs.html')|list|first %}
|
||||||
|
<div class="row">
|
||||||
|
{% for page in docpages.children if page.html not in ("by-label.html", "faq.html", 'docs-index.html') %}
|
||||||
|
{% set parent_html = page.html %}
|
||||||
|
{% set depth = 6 %}
|
||||||
|
{% set show_blurbs = False %}
|
||||||
|
<div class="col-md-6 mt-20">
|
||||||
|
<a href="{% if '//' not in page.html %}{{target.prefix}}{% endif %}{{page.html}}"><h5 class="mb-3">{{page.name}}</h5></a>
|
||||||
|
{% include 'children.html' %}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{% endblock %}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends "base.html.jinja" %}
|
{% extends "base.html.jinja" %}
|
||||||
|
|
||||||
{% block mainclasses %}landing page-docs-index landing-builtin-bg jackson-identifier {% endblock %}
|
{% block mainclasses %}landing page-docs page-docs-index landing-builtin-bg overflow-hidden styled-page{% endblock %}
|
||||||
|
|
||||||
{% block breadcrumbs %}{% endblock %}
|
{% block breadcrumbs %}{% endblock %}
|
||||||
|
|
||||||
@@ -10,7 +10,6 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<div class="landing page-docs landing-builtin-bg overflow-hidden styled-page">
|
|
||||||
<section class="text-center title-space">
|
<section class="text-center title-space">
|
||||||
<div class="col-lg-9 mx-auto text-center">
|
<div class="col-lg-9 mx-auto text-center">
|
||||||
<div class="d-flex flex-column-reverse">
|
<div class="d-flex flex-column-reverse">
|
||||||
@@ -417,7 +416,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section><!-- Browse by recommended and Generate Testnet Credentials -->
|
</section><!-- Browse by recommended and Generate Testnet Credentials -->
|
||||||
</div>
|
<section class="container-new my-10">
|
||||||
|
<a href="./docs-index.html" class="external-link ml-auto">See full documenation index <i aria-hidden="true" class="fa fa-external-link"></i></a>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block endbody %}
|
{% block endbody %}
|
||||||
|
|||||||
Reference in New Issue
Block a user