The Klayr documentation includes explanations, guides, tutorials, and references about
-
the Klayr SDK,
-
and the Klayr protocol in general
The Klayr documentation uses Antora as a documentation generator.
The internal structure of development
and main
branch.
The source content for the general Klayr documentation is located in the docs/
folder.
The file structure follows the expected structure for Antora documentation, see: docs.antora.org/antora/latest/standard-directories/.
All content is written in AsciiDoc.
The presentation of the documentation is stored completely separate from the actual content.
The UI is based on the Antora default UI (see also docs.antora.org/antora-ui-default/).
It is customized as listed in the following points below:
-
Updated the CSS to improve the UX and follow the Klayr brand styleguide.
-
Added additional features, such as:
-
Algolia site search
-
Dark theme
-
Zoom for images
-
Additional layout for swagger UI
-
Tab-blocks
-
โฆโ
-
The build
folder contains the following:
-
โฆโthe
site.yml
file, which is used to generate the Klayr documentation using Antora. -
โฆโthe
searchdocs-scraper
folder, for creating the search index. -
โฆโthe
lib
folder which stores the Asciidoc extensions that are used in the Klayr documentation.
. โโโ lib/ (1) โโโ searchdocs-scraper/ (2) โโโ live-site.yml (3) โโโ site.yml (4)
-
The
lib/
folder contains extensions for Antora. -
The
searchdocs-scraper/
folder contains the file required to update the Algolia search index of the documentation. -
The playbook used to compile the live documentation on klayr.xyz/documentation with Antora. Results are pushed to the
live
branch. -
The playbook used to compile the documentation at klayrhq.github.io/klayr-docs with Antora. Results are pushed to the
git-page
branch.
Copyright 2024 Klayr
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.