diff options
author | Fabio Berger <me@fabioberger.com> | 2019-01-10 00:30:01 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2019-01-10 00:30:01 +0800 |
commit | 589b535b918ebf132cd55e8dc1ebfbfc96d90fe6 (patch) | |
tree | 09b8de090008e84491cc2554c4f1bb8c3c344c6a | |
parent | eb6b07e8043d3e6c158a69234675ada4ae636e52 (diff) | |
download | dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar.gz dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar.bz2 dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar.lz dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar.xz dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.tar.zst dexon-sol-tools-589b535b918ebf132cd55e8dc1ebfbfc96d90fe6.zip |
Add docLink
-rw-r--r-- | packages/dev-tools-pages/ts/context/coverage.tsx (renamed from packages/dev-tools-pages/ts/context/cov.tsx) | 5 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/context/index.tsx | 1 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/context/profiler.tsx | 1 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/context/trace.tsx | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/packages/dev-tools-pages/ts/context/cov.tsx b/packages/dev-tools-pages/ts/context/coverage.tsx index 1ade45e9d..3e44b6ec2 100644 --- a/packages/dev-tools-pages/ts/context/cov.tsx +++ b/packages/dev-tools-pages/ts/context/coverage.tsx @@ -3,9 +3,10 @@ import Icon from 'ts/icons/logos/cov.svg'; import { ContextInterface } from './index'; export const context: ContextInterface = { - title: 'sol-cov', - name: 'cov', + title: 'sol-coverage', + name: 'coverage', subtitle: 'Solidity code coverage', + docLink: 'https://0x.org/docs/sol-coverage', tagline: 'Measure Solidity code coverage', icon: Icon, colors: { diff --git a/packages/dev-tools-pages/ts/context/index.tsx b/packages/dev-tools-pages/ts/context/index.tsx index 35c647ad6..97ccf5c16 100644 --- a/packages/dev-tools-pages/ts/context/index.tsx +++ b/packages/dev-tools-pages/ts/context/index.tsx @@ -3,6 +3,7 @@ import { createContext } from 'react'; interface ContextInterface { title?: string; name?: string; + docLink?: string; subtitle?: string; tagline?: string; icon?: React.ReactNode; diff --git a/packages/dev-tools-pages/ts/context/profiler.tsx b/packages/dev-tools-pages/ts/context/profiler.tsx index 5ccfa5b4c..e2ddcb230 100644 --- a/packages/dev-tools-pages/ts/context/profiler.tsx +++ b/packages/dev-tools-pages/ts/context/profiler.tsx @@ -5,6 +5,7 @@ import { ContextInterface } from './index'; export const context: ContextInterface = { title: 'sol-profiler', name: 'profiler', + docLink: 'https://0x.org/docs/sol-profiler', subtitle: 'Gas profiling for Solidity', tagline: "Implement data-guided optimizations by profiling your contract's gas usage", icon: Icon, diff --git a/packages/dev-tools-pages/ts/context/trace.tsx b/packages/dev-tools-pages/ts/context/trace.tsx index 9627cc0a4..3c19661f2 100644 --- a/packages/dev-tools-pages/ts/context/trace.tsx +++ b/packages/dev-tools-pages/ts/context/trace.tsx @@ -6,6 +6,7 @@ export const context: ContextInterface = { title: 'sol-trace', name: 'trace', subtitle: 'Human-readable stack traces', + docLink: 'https://0x.org/docs/sol-trace', tagline: 'Immediately locate Solidity errors and rapidly debug failed transactions', icon: Icon, colors: { |