diff --git a/_apidefinitions/account_by_key_api.md b/_apidefinitions/account-by-key-api.md similarity index 100% rename from _apidefinitions/account_by_key_api.md rename to _apidefinitions/account-by-key-api.md diff --git a/_apidefinitions/account_history_api.md b/_apidefinitions/account-history-api.md similarity index 100% rename from _apidefinitions/account_history_api.md rename to _apidefinitions/account-history-api.md diff --git a/_apidefinitions/database_api.md b/_apidefinitions/database-api.md similarity index 100% rename from _apidefinitions/database_api.md rename to _apidefinitions/database-api.md diff --git a/_apidefinitions/follow_api.md b/_apidefinitions/follow-api.md similarity index 100% rename from _apidefinitions/follow_api.md rename to _apidefinitions/follow-api.md diff --git a/_apidefinitions/market_history_api.md b/_apidefinitions/market-history-api.md similarity index 100% rename from _apidefinitions/market_history_api.md rename to _apidefinitions/market-history-api.md diff --git a/_apidefinitions/network_broadcast_api.md b/_apidefinitions/network-broadcast-api.md similarity index 100% rename from _apidefinitions/network_broadcast_api.md rename to _apidefinitions/network-broadcast-api.md diff --git a/_apidefinitions/tags_api.md b/_apidefinitions/tags-api.md similarity index 100% rename from _apidefinitions/tags_api.md rename to _apidefinitions/tags-api.md diff --git a/_apidefinitions/witness_api.md b/_apidefinitions/witness-api.md similarity index 100% rename from _apidefinitions/witness_api.md rename to _apidefinitions/witness-api.md diff --git a/_config.yml b/_config.yml index 2b1e54d3..134484c6 100644 --- a/_config.yml +++ b/_config.yml @@ -53,13 +53,17 @@ collections: id: tutorials-python position: 10 output: true + apidefinitions: + title: API Definitions + id: apidefinitions + position: 11 + output: true testnet: title: Testnet id: testnet - position: 11 + position: 12 output: true - gems: - jekyll-sitemap - jekyll-seo-tag diff --git a/_data/nav.yml b/_data/nav.yml index 662dcd9f..9de4c7a3 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -21,12 +21,17 @@ toc: collection: "services" url: "/" position: 6 + - title: "Appbase API" + collection: apidefinitions + url: "/apidefinitions.html" + exclude: true + position: 7 - title: "Community" collection: "community" url: "/" - position: 7 + position: 8 - title: "Glossary" collection: "glossary" url: "/glossary/" - position: 8 + position: 9 exclude: true diff --git a/apidefinitions.html b/apidefinitions.html index 1cb59d2b..7c020e53 100644 --- a/apidefinitions.html +++ b/apidefinitions.html @@ -6,28 +6,20 @@ {% for collection in sorted_collections %} {% assign sorted_docs = collection.docs | sort: "position" %} {% for doc in sorted_docs %} -
-
-

- - {{ doc.title }} - {% if doc.type %} - - {% endif %} - -

- {% if doc.description %} -

{{doc.description}}

- {% endif %} - - {{ doc.content | replace: "
", "
Parameters
" }} -
- - {% if doc.right_code %} -
- {{ doc.right_code | markdownify }} -
+
+

+ + {{ doc.title }} + {% if doc.type %} + + {% endif %} + +

+ {% if doc.description %} +

{{doc.description}}

{% endif %} + + {{ doc.content | replace: "
", "
Parameters
" }}
{% endfor %} {% endfor %}