Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: "0"
persist-credentials: false

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/AtomicDEX-docs
path: AtomicDEX-docs
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: ./prepare-atomicDEX-docs.sh

- name: Deploy updated files to AtomicDEX-docs repo
uses: KomodoPlatform/github-pages-deploy-action@3.7.1
uses: KomodoPlatform/github-pages-deploy-action@v4.4.1
with:
ACCESS_TOKEN: ${{ secrets.GH_TOKEN }}
REPOSITORY_NAME: ${{ github.repository_owner }}/AtomicDEX-docs
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
parsed_*
.DS_Store
/node_modules
/dist
Expand All @@ -24,4 +23,3 @@ yarn-error.log*

# Local build files
/docs/.vuepress/dist/
/.project
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Readme

Komodo documentation uses [Vuepress](https://vuepress.vuejs.org/).
Komodo documentation uses [Vuepress](https://vuepress.vuejs.org/).

## Setup:

Expand Down
21 changes: 0 additions & 21 deletions additional-assets/misc/2019-11-23-pegs.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

The `keypair` method generates a Dilithium `pubkey` and `privkey`. This method requires a 256 bit seed in hex format (64 characters).

<!-- Sidd: please check below. Was not clear. -->

If no `hexseed` is provided, the module uses the user's pubkey seed for entropy and generates a new seed. From this new seed the module produces a Dilithium `pubkey` and `privkey`.

#### Arguments
Expand Down
4 changes: 2 additions & 2 deletions deploy_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e


# build
docker build -t komodo_docs_image .
docker run --rm -v $(pwd):/app/ -w /app/ -u $(id -u):$(id -g) komodo_docs_image
docker build -t atomicdex_docs_image .
docker run --rm -v $(pwd):/app/ -w /app/ -u $(id -u):$(id -g) atomicdex_docs_image



Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ app:
- 8080:8080
volumes:
- .:/app/
container_name: komodo_docs
container_name: atomicdex_docs
user: "1000:1000"
command:
- ./algolia-key.sh
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/components/collapse-text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ button

<script>
/*
License:
Lisense:
https://github.com/feathers-plus/generator-feathers-plus/blob/master/LICENSE
The MIT License (MIT)
Copyright (c) 2018 Feathers-Plus
Expand Down
51 changes: 18 additions & 33 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,13 @@ require("dotenv").config();
var redirectAliases = require("./public/_redirects.js");
var sidebarImport = require("./sidebar.js");
var navbarImport = require("./navbar.js");
var algoliaSecret = require("./algolia-secret.js");

const autometa_options = {
schema: true,
site: {
name: "Komodo Documentation",
twitter: "komodoplatform",
},
canonical_base: "https://developers.komodoplatform.com",
};

// var algoliaSecret = require("./algolia-secret.js")
module.exports = {
plugins: {
redirect: {
alias: redirectAliases,
},
"@vuepress/back-to-top": {},
autometa: autometa_options,
"@vuepress/last-updated": {
transformer: (timestamp) => {
// Don't forget to install moment yourself
Expand All @@ -36,27 +25,16 @@ module.exports = {
scrollOffset: 0,
},
},
"vuepress-plugin-google-tag-manager": {
gtm: "GTM-PC28587",
},
},
head: [
[
"link",
{
rel: "icon",
href: "/KMD_Mark_Black.png",
href: "mark_only.svg",
},
],
[
"meta",
{
name: "twitter:image",
content:
"https://developers.komodoplatform.com/start-here-pics/Dev_Docs_Introduction_small.png",
},
],
/* [
"meta",
{
name: "twitter:card",
Expand Down Expand Up @@ -84,24 +62,31 @@ module.exports = {
content: "Documentation for developers building on the Komodo Platform",
},
],
*/
[
"meta",
{
name: "twitter:image",
content:
"https://developers.komodoplatform.com/start-here-pics/Dev_Docs_Introduction_small.png",
},
],
],
title: "Komodo Documentation",
title: "AtomicDEX Documentation",
base: "/",
description: "Documentation for developers building on Komodo",
description: "Documentation for developers building on AtomicDEX",
themeConfig: {
repo: "komodoplatform/developer-docs",
repo: "KomodoPlatform/AtomicDEX-docs",
repoLabel: "Github",
docsDir: "docs",
editLinks: true,
editLinkText: "Suggest an improvement for this page",
//lastUpdated: "Last Updated",
// sidebarDepth: 3,
logo: "/KMD_Horiz_White.svg",
algolia: {
apiKey: algoliaSecret.key,
indexName: "komodoplatform",
},
logo: "/logo_light.svg",
// algolia: {
// apiKey: algoliaSecret.key,
// indexName: 'komodoplatform'
// },
nav: navbarImport,
sidebar: sidebarImport,
},
Expand Down
39 changes: 12 additions & 27 deletions docs/.vuepress/navbar.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
var navbar = [
{
text: "Start Here",
link:
"/basic-docs/start-here/about-komodo-platform/about-komodo-platform.md",
text: "Docs",
link: "/basic-docs/atomicdex/introduction-to-atomicdex.md",
},
{
text: "Smart Chain Essentials",
link:
"/basic-docs/smart-chains/introduction-to-smart-chain-documentation.md",
text: "API (Legacy)",
link: "/basic-docs/atomicdex-api-legacy/rational_number_note.md",
},
{
text: "Antara Framework",
link: "/basic-docs/antara/introduction-to-antara.md",
text: "API 2.0 (Master)",
link: "/basic-docs/atomicdex-api-20/",
},
{
text: "AtomicDEX",
items: [
{
text: "Docs",
link: "/basic-docs/atomicdex/introduction-to-atomicdex.md",
},
{
text: "API (Legacy)",
link: "/basic-docs/atomicdex-api-legacy/rational_number_note.md",
},
{
text: "API 2.0 (Master)",
link: "/basic-docs/atomicdex-api-20/",
},
{
text: "API 2.0 (Dev)",
link: "/basic-docs/atomicdex-api-20-dev/",
},
],
text: "API 2.0 (Dev)",
link: "/basic-docs/atomicdex-api-20-dev/",
},
{
text: "Atomicdex.io",
link: "https://atomicdex.io",
},
{
text: "KomodoPlatform.com",
Expand Down
Loading