add absolute urls to remix-ide.readthedocs.io

pull/1/head
Rob Stupay 6 years ago committed by Rob Stupay
parent b9b8cdb138
commit 042047b1f2
  1. 2
      src/app/components/plugin-manager-component.js
  2. 3
      src/app/components/side-panel.js
  3. 2
      src/app/files/remixd-handle.js
  4. 2
      src/app/panels/file-panel.js
  5. 2
      src/app/tabs/analysis-tab.js
  6. 2
      src/app/tabs/compile-tab.js
  7. 2
      src/app/tabs/debugger-tab.js
  8. 2
      src/app/tabs/run-tab.js
  9. 2
      src/app/tabs/settings-tab.js
  10. 2
      src/app/tabs/test-tab.js

@ -58,7 +58,7 @@ const profile = {
description: 'Start/stop services, modules and plugins', description: 'Start/stop services, modules and plugins',
kind: 'settings', kind: 'settings',
location: 'sidePanel', location: 'sidePanel',
documentation: 'plugin_manager.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/plugin_manager.html',
version: packageJson.version version: packageJson.version
} }

@ -74,8 +74,7 @@ export class SidePanel extends AbstractPanel {
if (this.active) { if (this.active) {
const { profile } = this.store.getOne(this.active) const { profile } = this.store.getOne(this.active)
name = profile.displayName ? profile.displayName : profile.name name = profile.displayName ? profile.displayName : profile.name
const docsRoot = 'https://remix.readthedocs.io/en/latest/' docLink = profile.documentation ? yo`<a href="${profile.documentation}" class="${css.titleInfo}" title="link to documentation" target="_blank"><i aria-hidden="true" class="fas fa-book"></i></a>` : ''
docLink = profile.documentation ? yo`<a href="${docsRoot}${profile.documentation}" class="${css.titleInfo}" title="link to documentation" target="_blank"><i aria-hidden="true" class="fas fa-book"></i></a>` : ''
if (profile.version && profile.version.match(/\b(\w*alpha\w*)\b/g)) { if (profile.version && profile.version.match(/\b(\w*alpha\w*)\b/g)) {
versionWarning = yo`<small title="Version Alpha" class="${css.versionWarning}">alpha</small>` versionWarning = yo`<small title="Version Alpha" class="${css.versionWarning}">alpha</small>`
} }

@ -94,7 +94,7 @@ function remixdDialog () {
return yo` return yo`
<div class=${css.dialog}> <div class=${css.dialog}>
<div class=${css.dialogParagraph}>Interact with your file system from Remix. Click connect and find shared folder in the Remix file explorer (under localhost). <div class=${css.dialogParagraph}>Interact with your file system from Remix. Click connect and find shared folder in the Remix file explorer (under localhost).
Before you get started, check out the <a target="_blank" href="https://remix.readthedocs.io/en/latest/remixd.html">Remixd tutorial</a>. Before you get started, check out the <a target="_blank" href="https://remix-ide.readthedocs.io/en/latest/remixd.html">Remixd tutorial</a>.
to find out how to run Remixd. to find out how to run Remixd.
</div> </div>
<div class=${css.dialogParagraph}>If you have looked at that tutorial and are just looking for the remixd command, <br> here it is: <div class=${css.dialogParagraph}>If you have looked at that tutorial and are just looking for the remixd command, <br> here it is:

@ -37,7 +37,7 @@ const profile = {
description: ' - ', description: ' - ',
kind: 'fileexplorer', kind: 'fileexplorer',
location: 'sidePanel', location: 'sidePanel',
documentation: 'file_explorer.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/file_explorer.html',
version: packageJson.version version: packageJson.version
} }

@ -16,7 +16,7 @@ const profile = {
description: 'Checks the contract code for security vulnerabilities and bad practices.', description: 'Checks the contract code for security vulnerabilities and bad practices.',
kind: 'analysis', kind: 'analysis',
location: 'sidePanel', location: 'sidePanel',
documentation: 'static_analysis.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/static_analysis.html',
version: packageJson.version version: packageJson.version
} }

@ -28,7 +28,7 @@ const profile = {
kind: 'compile', kind: 'compile',
permission: true, permission: true,
location: 'sidePanel', location: 'sidePanel',
documentation: 'solidity_editor.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/solidity_editor.html',
version: packageJson.version version: packageJson.version
} }

@ -15,7 +15,7 @@ const profile = {
description: 'Debug transactions', description: 'Debug transactions',
kind: 'debugging', kind: 'debugging',
location: 'sidePanel', location: 'sidePanel',
documentation: 'debugger.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/debugger.html',
version: packageJson.version version: packageJson.version
} }

@ -26,7 +26,7 @@ const profile = {
description: 'execute and save transactions', description: 'execute and save transactions',
kind: 'run', kind: 'run',
location: 'sidePanel', location: 'sidePanel',
documentation: 'run.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/run.html',
version: packageJson.version version: packageJson.version
} }

@ -16,7 +16,7 @@ const profile = {
description: 'Remix-IDE settings', description: 'Remix-IDE settings',
kind: 'settings', kind: 'settings',
location: 'sidePanel', location: 'sidePanel',
documentation: 'settings.html', documentation: 'https://remix-ide.readthedocs.io/en/latest/settings.html',
version: packageJson.version version: packageJson.version
} }

@ -15,7 +15,7 @@ const profile = {
icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4wUDEhQZ0zbrmQAAAfNJREFUWMPF17lrFVEUx/EPaIKovfAScSndjUtULFQSYhHF0r/Dwsa/RywUiTaWgvaChWsiKkSMZte4o7G5A49x7r0zLy/PA6eZOef3PXebuYfu2xCmcQ9b9NgOYw6rwR9ia6/gR7HQBi/8PjavN/w4FivghV9bT/gwlhLwHzjTVPQ8rqAvE3ciA/+O8abwy/gVBG4lijiJ5czIL64FXvhNbCzFnaoBv9AUPo7fEcEb2BDiTuNTAv4NYxX6u/EIM7GZuZoQXcX1sJk+J2K+YrRCexfetsX9xKVyUB9uZ4r4k3j3BSMR+JvIMv2zQfsxkSkiBj9XAd8ZgRf+vmop+nGnAXwlcs534HUm93FsQ9YtIjby7XiVyZ3BntSpyBWxgrMR+FQG/gF76xzNftxtMO1rgo+G5AdBqLBN4d9eCCyHD1En8Oi0j4UPSBE4hcFSERN4Fz7BZRvEZKcjHynBC5/EQI1lGqgJ3xcTmE4kvswUMRBiUvCPKTg8zQi8QKsirxXe5eD7c1N4ALMZoeelIlrhWSpnNmjXsoM1iihmYhueZGIXcKTp7/hQ6UZb5c+Cp2LmglZHVqeIlC+G2/GarNMiFnGsWzfdpkV0Fd7e5czXgC+FvmDdWq35/wVvbzbnI/DhXvV9Q6W+r6fw9hZsKnjX4H8B0Aamri7CrBsAAAAASUVORK5CYII=', icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4wUDEhQZ0zbrmQAAAfNJREFUWMPF17lrFVEUx/EPaIKovfAScSndjUtULFQSYhHF0r/Dwsa/RywUiTaWgvaChWsiKkSMZte4o7G5A49x7r0zLy/PA6eZOef3PXebuYfu2xCmcQ9b9NgOYw6rwR9ia6/gR7HQBi/8PjavN/w4FivghV9bT/gwlhLwHzjTVPQ8rqAvE3ciA/+O8abwy/gVBG4lijiJ5czIL64FXvhNbCzFnaoBv9AUPo7fEcEb2BDiTuNTAv4NYxX6u/EIM7GZuZoQXcX1sJk+J2K+YrRCexfetsX9xKVyUB9uZ4r4k3j3BSMR+JvIMv2zQfsxkSkiBj9XAd8ZgRf+vmop+nGnAXwlcs534HUm93FsQ9YtIjby7XiVyZ3BntSpyBWxgrMR+FQG/gF76xzNftxtMO1rgo+G5AdBqLBN4d9eCCyHD1En8Oi0j4UPSBE4hcFSERN4Fz7BZRvEZKcjHynBC5/EQI1lGqgJ3xcTmE4kvswUMRBiUvCPKTg8zQi8QKsirxXe5eD7c1N4ALMZoeelIlrhWSpnNmjXsoM1iihmYhueZGIXcKTp7/hQ6UZb5c+Cp2LmglZHVqeIlC+G2/GarNMiFnGsWzfdpkV0Fd7e5czXgC+FvmDdWq35/wVvbzbnI/DhXvV9Q6W+r6fw9hZsKnjX4H8B0Aamri7CrBsAAAAASUVORK5CYII=',
description: 'Fast tool to generate unit tests for your contracts', description: 'Fast tool to generate unit tests for your contracts',
location: 'sidePanel', location: 'sidePanel',
documentation: 'unittesting.html' documentation: 'https://remix-ide.readthedocs.io/en/latest/unittesting.html'
} }
module.exports = class TestTab extends BaseApi { module.exports = class TestTab extends BaseApi {

Loading…
Cancel
Save