Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #166 from hubert-deriv/add_search_feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert-deriv authored Jun 13, 2023
2 parents 545250a + 845935d commit 8bef163
Show file tree
Hide file tree
Showing 15 changed files with 19,300 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/core-concepts/api-calls-anatomy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To make it easier for you to handle the request and response flow of your WebSoc

#### API call method name

Every `request` in the WebSocket API includes a `method name` field that serves as a unique identifier for the request. In most cases, this `method name` will get a numerical value of `1`. However, there are some cases where the identifier property may have a string value.
Every `request` in the WebSocket API includes a `method name` field that serves as a unique identifier for the request. In most cases, this `method name` will get a numerical value of `1`. However, there are some cases where the identifier property may have a string value.

:::caution
API Call Method Name is always required. this field determines the data you'll get from our WebSocket server.
Expand Down Expand Up @@ -196,4 +196,4 @@ This is the `Optional` passed to the `Request Data`, you can use it for `validat

:::tip
The `msg_type` is always present on the response data.
:::
:::
2 changes: 1 addition & 1 deletion docs/core-concepts/websocket/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: WebSocket
hide_title: true
hide_title: false
draft: false
sidebar_label: WebSocket
sidebar_position: 0
Expand Down
15 changes: 15 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ const config = {
],
],

themes: [
[
require.resolve('@easyops-cn/docusaurus-search-local'),
{
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
},
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down
Loading

1 comment on commit 8bef163

@vercel
Copy link

@vercel vercel bot commented on 8bef163 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-api-docs – ./

deriv-api-docs-git-master.binary.sx
deriv-api-docs.binary.sx

Please sign in to comment.