mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
merging changes
This commit is contained in:
@@ -5,15 +5,24 @@
|
||||
{% if desktop_cols is undefined %}
|
||||
{% set desktop_cols = 4 %}
|
||||
{% endif %}
|
||||
{% if show_blurbs is undefined %}
|
||||
{% set show_blurbs = True %}
|
||||
{% endif %}
|
||||
|
||||
<div class="row row-cols-{{mobile_cols}} row-cols-lg-{{desktop_cols}} card-deck">
|
||||
{% for cc in curated_cards %}
|
||||
{% set page = pages|selectattr("html", "defined_and_equalto", cc)|first %}
|
||||
<a class="card" href="{{target.prefix}}{{page.html}}">
|
||||
<div class="card-body">
|
||||
{% if page.showcase_icon is defined %}
|
||||
<div class="circled-logo"><img src="{{page.showcase_icon}}" /></div>
|
||||
{% endif %}
|
||||
<h4 class="card-title h5">{% if page.top_nav_name is defined %}{{page.top_nav_name}}{% else %}{{page.name}}{% endif %}</h4>
|
||||
{% if show_blurbs %}
|
||||
<p class="card-text">{{page.blurb}}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-footer"> </div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="nav-item github-edit-wrap">
|
||||
<div class="github-edit-wrap">
|
||||
{% if target.github_forkurl is defined %}
|
||||
{% set have_edit_link = False %}
|
||||
{% if currentpage.md is defined %}
|
||||
@@ -23,6 +23,6 @@
|
||||
{% if not have_edit_link %}
|
||||
{% set githuburl = target.github_forkurl %}
|
||||
{% endif %}
|
||||
<a href="{{githuburl}}" target="_blank" class="nav-link github-edit">{% trans %}Edit page{% endtrans %}</a>
|
||||
<a href="{{githuburl}}" target="_blank" class="btn btn-primary github-edit">{% trans %}Edit page{% endtrans %}</a>
|
||||
{% endif %}
|
||||
</div><!-- /.github-edit -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ul class="tag-cloud list-inline">
|
||||
{% for page in pages %}
|
||||
{% if page.landing_for is defined %}
|
||||
<li class="list-inline-item">
|
||||
<li class="list-inline-item d-block d-lg-inline-block">
|
||||
<a class="label label-{{slug(page.landing_for)}}" href="{% if "//" not in page.html %}{{target.prefix}}{% endif %}{{page.html}}" title="{{page.blurb}}">
|
||||
{{page.name}}
|
||||
<span class="badge badge-pill">{{label_count(pages, page.landing_for)}}</span>
|
||||
|
||||
@@ -34,43 +34,53 @@
|
||||
<img src="./img/backgrounds/community-purple.svg" id="community-purple">
|
||||
</div>
|
||||
|
||||
<section class="container-new py-26">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0 mx-10-until-sm">
|
||||
|
||||
<section class="container-new py-26" id="run-a-network-node">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h3 class="h4">{% trans %}Run an XRP Ledger Network Node{% endtrans %}</h3>
|
||||
<h6 class="green-500 mb-3">{% trans %}Contribute to Consensus{% endtrans %}</h6>
|
||||
</div>
|
||||
<div class="mt-10 card-grid card-grid-4xN ml-5-until-md mr-5-until-md">
|
||||
<a class="col-new col-new-card ls-none bg-grey-800 br-8 mb-16-sm" href="/the-rippled-server.html" id="sm-yellow-2">
|
||||
<span class="card-new d-block">
|
||||
<h4 class="h5">{% trans %}About the Server{% endtrans %}</h4>
|
||||
<p class="mt-6 mb-8">{% trans %}rippled is the core peer-to-peer server that manages the XRP Ledger.{% endtrans %}</p>
|
||||
</span>
|
||||
</a>
|
||||
<a class="col-new col-new-card ls-none bg-grey-800 br-8 mb-16-sm" href="/install-rippled.html" id="sm-purple">
|
||||
<span class="card-new d-block">
|
||||
<h4 class="h5">{% trans %}Install & Configure{% endtrans %}</h4>
|
||||
<p class="mt-6 mb-8">{% trans %}Install and update the rippled server.{% endtrans %}</p>
|
||||
</span>
|
||||
</a>
|
||||
<a class="col-new col-new-card ls-none bg-grey-800 br-8 mb-16-sm" href="/run-rippled-as-a-validator.html" id="sm-magenta-2">
|
||||
<span class="card-new d-block">
|
||||
<h4 class="h5">{% trans %}Join UNL{% endtrans %}</h4>
|
||||
<p class="mt-6 mb-8">{% trans %}Run a rippled server in validator mode. {% endtrans %}</p>
|
||||
</span>
|
||||
</a>
|
||||
<a class="col-new col-new-card ls-none bg-grey-800 br-8 mb-16-sm" href="/troubleshoot-the-rippled-server.html" id="sm-green-2">
|
||||
<span class="card-new d-block">
|
||||
<h4 class="h5">{% trans %}Troubleshooting{% endtrans %}</h4>
|
||||
<p class="mt-6 mb-8">{% trans %}Troubleshoot all kinds of problems with the rippled server.{% endtrans %}</p>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="container-new py-26">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0 mx-10-until-sm">
|
||||
{% set curated_cards = [
|
||||
"the-rippled-server.html",
|
||||
"install-rippled.html",
|
||||
"run-rippled-as-a-validator.html",
|
||||
"troubleshoot-the-rippled-server.html"
|
||||
] %}
|
||||
{% include 'component-curated-cards.html.jinja' %}
|
||||
</section><!--/#run-a-network-node-->
|
||||
|
||||
<section class="container-new py-26" id="find-us-on-platforms">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h3 class="h4">{% trans %}Find us on the platforms below{% endtrans %}</h3>
|
||||
<h6 class="green-500 mb-3">{% trans %}Join the Conversation{% endtrans %}</h6>
|
||||
</div>
|
||||
|
||||
{% set platforms = [
|
||||
{ "name": "GitHub",
|
||||
"img": "assets/img/logos/github.svg",
|
||||
"link": "https://github.com/ripple/xrpl-dev-portal"},
|
||||
{ "name": "Twitch",
|
||||
"img": "assets/img/logos/twitch.svg",
|
||||
"link": "https://www.twitch.tv/ripplexdev"},
|
||||
{ "name": "Twitter",
|
||||
"img": "assets/img/logos/twitter.svg",
|
||||
"link": "https://twitter.com/XRPLF/"},
|
||||
{ "name": "Stack Overflow",
|
||||
"img": "assets/img/logos/stack-overflow.svg",
|
||||
"link": "https://stackoverflow.com/questions/tagged/xrp"}
|
||||
] %}
|
||||
<div class="row row-cols-2 row-cols-lg-4 card-deck">
|
||||
{% for plat in platforms %}
|
||||
<a class="card" href="{{plat.link}}">
|
||||
<div class="card-body">
|
||||
<div class="circled-logo"><img src="{{plat.img}}" alt="(logo)" /></div>
|
||||
<h4 class="card-title h5">{{plat.name}}</h4>
|
||||
</div>
|
||||
<div class="card-footer"> </div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{#
|
||||
<div class="mt-10 card-grid card-grid-4xN ml-5-until-md mr-5-until-md">
|
||||
<a class="col-new col-new-card ls-none bg-grey-800 br-8 mb-16-sm" href="https://github.com/ripple/xrpl-dev-portal" target="_blank" id="sm-green">
|
||||
<span class="card-new d-block">
|
||||
@@ -96,7 +106,7 @@
|
||||
<h4 class="h5 mb-8">{% trans %}Stack Overflow{% endtrans %}</h4>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>#}
|
||||
</section>
|
||||
<section class="container-new py-26">
|
||||
<div class="col-md-6 offset-md-3 p-10 br-8 bg-grey-800 text-center">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
{% block main %}
|
||||
<section class="py-26 text-center">
|
||||
<div class="col-md-4 mx-auto text-center">
|
||||
<div class="col-xl-4 col-lg-6 mx-auto text-center">
|
||||
<div class="d-flex flex-column-reverse">
|
||||
<h1 class="mb-18">{% trans %}What Would You Like to Learn?{% endtrans %}</h1>
|
||||
<h6 class="green-500 mb-3">{% trans %}XRP Ledger Documentation{% endtrans %}</h6>
|
||||
@@ -24,9 +24,9 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container-fluid mb-50" id="docs-browse-by">
|
||||
<section class="container-new mb-50-until-sm" id="docs-browse-by">
|
||||
<div class="row">
|
||||
<div class="col col-lg-6" id="popular-topics">
|
||||
<div class="col-lg-6 mb-10" id="popular-topics">
|
||||
<h2 class="h4">{% trans %}Browse By Popular Topics{% endtrans %}</h2>
|
||||
<ul class="nav flex-column">
|
||||
{% for pg_html in currentpage.popular_pages %}
|
||||
@@ -36,38 +36,47 @@
|
||||
</ul>
|
||||
</div><!--/#popular-topics-->
|
||||
|
||||
<div class="col col-lg-6" id="browse-by-label">
|
||||
<div class="col-lg-6" id="browse-by-label">
|
||||
<h2 class="h4">{% trans %}Browse By Label{% endtrans %}</h2>
|
||||
{% include 'component-tag-cloud.html.jinja' %}
|
||||
</div><!--/#browse-by-label-->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container-fluid mb-50" id="software-and-sdks">
|
||||
<section class="container-new mb-50-until-sm" id="software-and-sdks">
|
||||
{% set get_started = pages|selectattr("html", "defined_and_equalto", "get-started.html")|first %}
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h2 class="h4">{% trans %}Software and SDKs{% endtrans %}</h2>
|
||||
<div class="row row-cols-2 row-cols-lg-4 card-deck">
|
||||
|
||||
{% for page in get_started.children if page.showcase_icon is defined %}
|
||||
<a class="card" href="{{target.prefix}}{{page.html}}">
|
||||
<div class="card-body">
|
||||
<img class="circled-logo" src="{{target.prefix}}{{page.showcase_icon}}" />
|
||||
<h4 class="card-title h5">{% if page.top_nav_name is defined %}{{page.top_nav_name}}{% else %}{{page.name}}{% endif %}</h4>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<h6 class="green-500 mb-3">{% trans %}Start Developing{% endtrans %}</h6>
|
||||
</div>
|
||||
|
||||
{% set curated_cards = [
|
||||
"get-started-using-node-js.html",
|
||||
"get-started-using-python.html",
|
||||
"get-started-using-java.html",
|
||||
"get-started-using-http-websocket-apis.html"
|
||||
] %}
|
||||
{% set mobile_cols = 2 %}
|
||||
{% set show_blurbs = False %}
|
||||
{% include 'component-curated-cards.html.jinja' %}
|
||||
</section><!--/#software-and-sdks-->
|
||||
|
||||
<section class="container-fluid mb-50" id="doc-types">
|
||||
<h2 class="h4">{% trans %}Article Types{% endtrans %}</h2>
|
||||
<section class="container-new mb-50-until-sm" id="doc-types">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h2 class="h4">{% trans %}Article Types{% endtrans %}</h2>
|
||||
<h6 class="green-500 mb-3">{% trans %}Read Up First{% endtrans %}</h6>
|
||||
</div>
|
||||
{% set curated_cards = currentpage.children|selectattr("html","ne","by-label.html")|selectattr("html","ne","faq.html")|map(attribute="html")|list %}
|
||||
{% set mobile_cols = 1 %}
|
||||
{% set show_blurbs = True %}
|
||||
{% include 'component-curated-cards.html.jinja' %}
|
||||
</section><!--/#doc-types-->
|
||||
|
||||
<section class="container-fluid mb-50" id="run-a-network-node">
|
||||
<h2 class="h4">{% trans %}Run an XRP Ledger Network Node{% endtrans %}</h2>
|
||||
<section class="container-new mb-50-until-sm" id="run-a-network-node">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h2 class="h4">{% trans %}Run an XRP Ledger Network Node{% endtrans %}</h2>
|
||||
<h6 class="green-500 mb-3">{% trans %}Participate in the Network{% endtrans %}</h6>
|
||||
</div>
|
||||
{% set curated_cards = [
|
||||
"the-rippled-server.html",
|
||||
"install-rippled.html",
|
||||
@@ -77,13 +86,13 @@
|
||||
{% include 'component-curated-cards.html.jinja' %}
|
||||
</section><!--/#run-a-network-node-->
|
||||
|
||||
<section class="container-fluid mb-50" id="docs-hot-topic">
|
||||
<section class="container-new mb-50-until-sm" id="docs-hot-topic">
|
||||
<h2 class="h4">{% trans %}Hot Topic: NFTs{% endtrans %}</h2>
|
||||
<div class="row">
|
||||
<div class="col col-lg-6">
|
||||
<div class="col-lg-6">
|
||||
<p class="longform">{% trans %}Interested in non-fungible tokens, but concerned about their <a href="impact.html">large carbon footprint</a>? Check out these proposed standards for issuing NFTs on the XRP Ledger:{% endtrans %}</p>
|
||||
</div>
|
||||
<div class="col col-lg-6">
|
||||
<div class="col-lg-6">
|
||||
<ul class="nav flex-column">
|
||||
<li class="nav-item"><a href="https://github.com/XRPLF/XRPL-Standards/discussions/30" class="nav-link external-link" target="_blank">XLS-14d: Non fungible tokens (indivisible NFT's) on the XRPL</a></li>
|
||||
<li class="nav-item"><a href="https://github.com/XRPLF/XRPL-Standards/discussions/40" class="nav-link external-link" target="_blank">XLS-19d: Wallet based Proof of Digital Asset Property and Rights (NFT)</a></li>
|
||||
@@ -93,12 +102,17 @@
|
||||
</div>
|
||||
</section><!--/#docs-hot-topic-->
|
||||
|
||||
<section class="container-fluid mb-50 doc-index">
|
||||
<h2 id="full-doc-index" class="h4">{% trans %}Full Documentation Index{% endtrans %}</h2>
|
||||
<section class="container-new mb-50-until-sm doc-index">
|
||||
<div class="d-flex flex-column-reverse col-sm-8 p-0">
|
||||
<h2 id="full-doc-index" class="h4">{% trans %}Full Documentation Index{% endtrans %}</h2>
|
||||
<h6 class="green-500 mb-3">{% trans %}See Everything{% endtrans %}</h6>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{% for page in currentpage.children if page.html not in ("by-label.html", "faq.html") %}
|
||||
{% set parent_html = page.html %}
|
||||
{% set depth = 6 %}
|
||||
{% set show_blurbs = False %}
|
||||
<div class="col-md-6 mt-20">
|
||||
<a href="{{target.prefix}}{{page.html}}"><h5 class="mb-3">{{page.name}}</h5></a>
|
||||
{% include 'children.html' %}
|
||||
|
||||
Reference in New Issue
Block a user