mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55: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
|
||||
targets:
|
||||
- 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 ---------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<article class="pt-3 p-md-3">
|
||||
<h1>Not Found</h1>
|
||||
<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">
|
||||
<div class="form-group">
|
||||
<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" %}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<div class="landing page-docs landing-builtin-bg overflow-hidden styled-page">
|
||||
<section class="text-center title-space">
|
||||
<div class="col-lg-9 mx-auto text-center">
|
||||
<div class="d-flex flex-column-reverse">
|
||||
@@ -417,7 +416,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</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 %}
|
||||
|
||||
{% block endbody %}
|
||||
|
||||
Reference in New Issue
Block a user