From 45a017a5a6f7fde52785c9316ccbe53d407da6f5 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 4 Oct 2022 17:04:28 -0700 Subject: [PATCH] Add theme to redoc docs --- docs/_includes/api-v0.1.html | 79 +++++++++++++++++++++------ docs/assets/schemas/api-v0.1.yaml | 4 -- frontend/src/components/BookTable.tsx | 2 +- 3 files changed, 64 insertions(+), 21 deletions(-) diff --git a/docs/_includes/api-v0.1.html b/docs/_includes/api-v0.1.html index 143fbc8e..25da66d9 100644 --- a/docs/_includes/api-v0.1.html +++ b/docs/_includes/api-v0.1.html @@ -1,21 +1,68 @@ - - RobotSats REST API v0.2 - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/docs/assets/schemas/api-v0.1.yaml b/docs/assets/schemas/api-v0.1.yaml index e5f4c8e1..32983b75 100644 --- a/docs/assets/schemas/api-v0.1.yaml +++ b/docs/assets/schemas/api-v0.1.yaml @@ -2,10 +2,6 @@ openapi: 3.0.3 info: title: RoboSats REST API v0 version: 0.1.0 - x-logo: - url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png - backgroundColor: '#FFFFFF' - altText: RoboSats logo description: |2+ REST API Documentation for [RoboSats](https://learn.robosats.com) - A Simple and Private LN P2P Exchange diff --git a/frontend/src/components/BookTable.tsx b/frontend/src/components/BookTable.tsx index 7fd8bca1..cbd57e14 100644 --- a/frontend/src/components/BookTable.tsx +++ b/frontend/src/components/BookTable.tsx @@ -464,7 +464,7 @@ const BookTable = ({ headerName: t('Bond'), type: 'number', width: width * fontSize, - renderCell: (params:any) => { + renderCell: (params: any) => { return
{`${Number(params.row.bond_size)}%`}
; }, };