-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs/lk exploration [SLT-170] #3141
Changes from 3 commits
244e77f
eebb57c
1218b20
32a85ac
8a6eb0d
866ebaa
b9f11b6
6cb652a
81ea30d
2330146
22855ca
e3a65c5
cb1118d
ab4a354
186f0a9
68ec346
56bd9c6
fe24140
9eea390
3d12d5a
ef6e18a
b03684b
32ac668
a18c6b6
8a66ffd
4c09296
4ebe307
d07bf03
ecb3221
1f2553a
42629e9
e7b0e70
8eca8ec
dae67c1
a4674eb
33d8f99
00d103b
3b0da49
ceb8923
2993189
e23965e
9d159ba
d7b693c
bc0bf4c
9e9b993
b3b7082
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"label": "CCTP", | ||
"position": 3, | ||
"link": { | ||
"type": "doc", | ||
"id": "CCTP/Overview" | ||
} | ||
"label": "CCTP" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Routers | ||
|
||
:::tip[TODO] | ||
* Move router pages into this folder | ||
* Move 'Observability' under 'Services' | ||
* Rename 'Services' to ' 'Essential Tools' | ||
::: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"position": 0, | ||
"label": "Overview" | ||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,49 @@ | ||||||
# Use Synapse | ||||||
Synapse is an Interchain Programming Interface. Developers read and write interchain data with Synapse, which has settled $50B in transactions between 2M+ users, and generated $30M+ in fees [[source](https://explorer.synapseprotol.com)]. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid repetition of 'Synapse' in the introduction The heading 'Use Synapse' is immediately followed by 'Synapse is an Interchain Programming Interface...', resulting in 'Use Synapse Synapse is...'. Consider rephrasing to improve readability. ToolsLanguageTool
|
||||||
|
||||||
## Why Synapse? | ||||||
_Description of top benefits Synapse brings to developers and users._ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace placeholder text with actual content The line 'Description of top benefits Synapse brings to developers and users.' appears to be a placeholder. Please provide a meaningful description to inform users about the key benefits of Synapse. |
||||||
|
||||||
|
||||||
## Get started | ||||||
* **[Send and receive interchain data](#)** | ||||||
* **[On-chain swaps](#)** | ||||||
* **[Interchain swaps](#)** | ||||||
* **[Upgrade to Synapse](#)** | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace placeholder links with valid URLs or remove them The links in "Get started", "Interchain Bridge", and "Routers" sections have empty URLs ( Also applies to: 20-22, 26-28 ToolsMarkdownlint
|
||||||
|
||||||
:::tip[Supported Chains] | ||||||
Synapse supports every chain and token that can be found on the [Synapse Bridge](https://synapseprotocol.com). | ||||||
::: | ||||||
|
||||||
## Interchain Bridge | ||||||
Embed the Synapse Widget or build your own custom instance. | ||||||
* **[Widget](#)** – Embed a customized Synapse Bridge in your application. | ||||||
* **[Client SDK](#)** – Call Synapse Router functions from your client application. | ||||||
* **[Server SDK](#)** – Call Synapse Router functions from your remote application. | ||||||
|
||||||
## Routers | ||||||
Synapse offers several of routers for different transaction types. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct the grammatical error in the sentence The sentence 'Synapse offers several of routers for different transaction types.' contains an unnecessary 'of'. It should be 'Synapse offers several routers for different transaction types.' Apply this fix: -Synapse offers several of routers for different transaction types.
+Synapse offers several routers for different transaction types. Committable suggestion
Suggested change
|
||||||
* **[Synapse Router](#)** – Executable quotes for arbitrary blockchain transactions. | ||||||
* **[CCTP](#)** – Native router for USDC transactions. | ||||||
* **[RFQ](#)** – Fast router that allows on-chain agents to bid on interchain delivery. | ||||||
|
||||||
## Essential Tools | ||||||
Bolt-on services for reliability and ease-of-use: | ||||||
* **[Scribe](/docs/Services/Scribe)** – Index logs, receipts and transactions across multiple chains | ||||||
* **[Omnirpc](/docs/Services/Omnirpc)** – Interchain RPC load balancer and verifier | ||||||
* **[Key management](/docs/Services/Signer)** – Support for the AWS Key Management System (KMS) | ||||||
* **[Ethergo](/docs/Services/Submitter)** – Gas management service to ensure transaction confirmation | ||||||
* **[Telemetry](/docs/Observability)** – Open telemetry system for Synapse SDK | ||||||
|
||||||
|
||||||
## Community & Support | ||||||
Connect with other developers and the Synapse team | ||||||
* **[Discord](https://discord.gg/synapseprotocol)** – Bridge, Swap, and Stake via Synapse's cross-chain pools. | ||||||
* **[Twitter](https://twitter.com/SynapseProtocol)** – Bridge, Swap, and Stake via Synapse's cross-chain pools. | ||||||
* **[Telegram](https://t.me/synapseprotocol)** – Public explorer for Synapse Bridge transactions. | ||||||
* **[Forum](https://forum.synapseprotocol.com/)** – Public explorer for Synapse Bridge transactions. | ||||||
|
||||||
## Additional Links | ||||||
Synapse transactions can be observed confirmed via the following methods: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarify the sentence to remove redundancy The phrase 'Synapse transactions can be observed confirmed via the following methods:' is unclear. Consider revising it to remove redundancy and improve clarity. Apply this fix: Option 1: -Synapse transactions can be observed confirmed via the following methods:
+Synapse transactions can be observed via the following methods: Option 2: -Synapse transactions can be observed confirmed via the following methods:
+Synapse transactions can be confirmed via the following methods: Choose the option that best conveys the intended meaning. Committable suggestion
Suggested change
|
||||||
* **[Synapse Bridge](https://synapseprotocol.com)** – Bridge, Swap, and Stake via Synapse's cross-chain pools. | ||||||
* **[Synapse Explorer](https://explorer.synapseprotocol.com)** – Public explorer for Synapse Bridge transactions. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs"; | ||
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' | ||
|
||
const sidebar: SidebarsConfig = { | ||
apisidebar: [ | ||
{ | ||
type: "category", | ||
label: "quotes", | ||
type: 'category', | ||
label: 'quotes', | ||
items: [ | ||
{ | ||
type: "doc", | ||
id: "rfq/API/get-quotes", | ||
label: "Get quotes", | ||
className: "api-method get", | ||
type: 'doc', | ||
id: 'rfq/API/get-quotes', | ||
label: 'Get quotes', | ||
className: 'api-method get', | ||
}, | ||
{ | ||
type: "doc", | ||
id: "rfq/API/upsert-quote", | ||
label: "Upsert quote", | ||
className: "api-method put", | ||
type: 'doc', | ||
id: 'rfq/API/upsert-quote', | ||
label: 'Upsert quote', | ||
className: 'api-method put', | ||
}, | ||
], | ||
}, | ||
], | ||
}; | ||
} | ||
|
||
export default sidebar.apisidebar; | ||
export default sidebar.apisidebar |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,53 @@ | |
|
||
/* You can override the default Infima variables here. */ | ||
:root { | ||
--ifm-color-primary: #2e8555; | ||
--ifm-color-primary-dark: #29784c; | ||
--ifm-color-primary-darker: #277148; | ||
--ifm-color-primary-darkest: #205d3b; | ||
--ifm-color-primary-light: #33925d; | ||
--ifm-color-primary-lighter: #359962; | ||
--ifm-color-primary-lightest: #3cad6e; | ||
--ifm-color-primary: hsl(285deg 100% 35%); | ||
--ifm-color-primary-dark: hsl(285deg 100% 32%); | ||
--ifm-color-primary-darker: hsl(285deg 100% 30%); | ||
--ifm-color-primary-darkest: hsl(285deg 100% 25%); | ||
--ifm-color-primary-light: hsl(285deg 100% 39%); | ||
--ifm-color-primary-lighter: hsl(285deg 100% 40%); | ||
--ifm-color-primary-lightest: hsl(285deg 100% 46%); | ||
--ifm-code-font-size: 95%; | ||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); | ||
|
||
--synapse-green: hsl(135deg 50% 90%); | ||
--synapse-green-secondary: hsl(135deg 50% 80%); | ||
|
||
letter-spacing: .0125em; | ||
line-height: 1.7; | ||
Comment on lines
+24
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider moving text styling properties out of The properties Apply this diff to move the properties: :root {
--ifm-color-primary: hsl(285deg 100% 35%);
/* ... other variables ... */
- letter-spacing: .0125em;
- line-height: 1.7;
}
+body {
+ letter-spacing: .0125em;
+ line-height: 1.7;
+}
|
||
} | ||
|
||
/* For readability concerns, you should choose a lighter palette in dark mode. */ | ||
[data-theme='dark'] { | ||
--ifm-color-primary: #25c2a0; | ||
--ifm-color-primary-dark: #21af90; | ||
--ifm-color-primary-darker: #1fa588; | ||
--ifm-color-primary-darkest: #1a8870; | ||
--ifm-color-primary-light: #29d5b0; | ||
--ifm-color-primary-lighter: #32d8b4; | ||
--ifm-color-primary-lightest: #4fddbf; | ||
--ifm-color-primary: hsl(285deg 100% 80%); | ||
--ifm-color-primary-dark: hsl(285deg 100% 41%); | ||
--ifm-color-primary-darker: hsl(285deg 100% 38%); | ||
--ifm-color-primary-darkest: hsl(285deg 100% 32%); | ||
--ifm-color-primary-light: hsl(285deg 100% 50%); | ||
--ifm-color-primary-lighter: hsl(285deg 100% 52%); | ||
--ifm-color-primary-lightest: hsl(285deg 100% 59%); | ||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); | ||
|
||
--synapse-green: hsl(165deg 50% 10%); | ||
--synapse-green-secondary: hsl(165deg 50% 20%); | ||
|
||
background: hsl(240deg 25% 7.5%); | ||
} | ||
|
||
h1 { font-weight: 400 } | ||
h2 { | ||
font-weight: 600; | ||
border-top: 1px solid hsl(285deg 20% 50% / 20%); | ||
margin-top: 1.5em; | ||
padding-top: 1em; | ||
} | ||
h3 { font-size: 1.2rem } | ||
|
||
ol, ul { margin-bottom: 1.5em } | ||
ol a, ul a { font-weight: 500 } | ||
|
||
.theme-admonition-tip { | ||
background: var(--synapse-green); | ||
border-color: var(--synapse-green-secondary); | ||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,15 +1,15 @@ | ||||||
import clsx from 'clsx'; | ||||||
import Link from '@docusaurus/Link'; | ||||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; | ||||||
import Layout from '@theme/Layout'; | ||||||
import HomepageFeatures from '@site/src/components/HomepageFeatures'; | ||||||
import Heading from '@theme/Heading'; | ||||||
import { Redirect } from 'react-router-dom'; | ||||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext' | ||||||
import Layout from '@theme/Layout' | ||||||
// import HomepageFeatures from '@site/src/components/HomepageFeatures' | ||||||
import Heading from '@theme/Heading' | ||||||
import { Redirect } from 'react-router-dom' | ||||||
|
||||||
import styles from './index.module.css'; | ||||||
import styles from './index.module.css' | ||||||
|
||||||
function HomepageHeader() { | ||||||
const {siteConfig} = useDocusaurusContext(); | ||||||
const HomepageHeader = () => { | ||||||
const { siteConfig } = useDocusaurusContext() | ||||||
return ( | ||||||
<header className={clsx('hero hero--primary', styles.heroBanner)}> | ||||||
<div className="container"> | ||||||
|
@@ -18,30 +18,27 @@ function HomepageHeader() { | |||||
</Heading> | ||||||
<p className="hero__subtitle">{siteConfig.tagline}</p> | ||||||
<div className={styles.buttons}> | ||||||
<Link | ||||||
className="button button--secondary button--lg" | ||||||
to="#"> | ||||||
<Link className="button button--secondary button--lg" to="#"> | ||||||
Docusaurus Tutorial - 5min ⏱️ | ||||||
</Link> | ||||||
</div> | ||||||
</div> | ||||||
</header> | ||||||
); | ||||||
) | ||||||
} | ||||||
|
||||||
export default function Home(): JSX.Element { | ||||||
const {siteConfig} = useDocusaurusContext(); | ||||||
export default () => { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Name the default exported component for better debugging Exporting an anonymous function can make debugging more difficult, as the component will appear as "Unknown" in React DevTools and stack traces. Naming the component enhances maintainability and eases debugging. Apply this diff to name the exported component: -export default () => {
+export default function Home() { Committable suggestion
Suggested change
|
||||||
const { siteConfig } = useDocusaurusContext() | ||||||
// TODO: a homepage | ||||||
// for now, just disable entirely: https://v1.docusaurus.io/docs/en/site-creation#docs-landing-page | ||||||
return ( | ||||||
<Layout | ||||||
title={`Hello from ${siteConfig.title}`} | ||||||
description="Description will go into a meta tag in <head />"> | ||||||
<Redirect to={"/docs/CCTP/Overview"} /> | ||||||
description="Description will go into a meta tag in <head />" | ||||||
> | ||||||
<Redirect to={'/docs/Welcome'} /> | ||||||
{/*<HomepageHeader />*/} | ||||||
<main> | ||||||
{/*<HomepageFeatures />*/} | ||||||
</main> | ||||||
<main>{/*<HomepageFeatures />*/}</main> | ||||||
</Layout> | ||||||
); | ||||||
) | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct the typo in the source link URL
The URL in the source link has a typo: "https://explorer.synapseprotol.com" should be "https://explorer.synapseprotocol.com".
Apply this fix:
Committable suggestion