GithubHelp home page GithubHelp logo

ryanhendricks / doxity-simpleton Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 3.0 2.37 MB

Solidity Documentation

Home Page: https://ryanhendricks.github.io/doxity-simpleton/

JavaScript 80.02% CSS 19.98%

doxity-simpleton's People

Contributors

ryanhendricks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

doxity-simpleton's Issues

With truffle.js not compiling

All work fine, but if create file touch truffle.js contracts not compiling: SyntaxError: Error parsing
It don't know interface!

But if delete truffle.js it write interfaces is not a valid file. Skipping.

UnhandledPromiseRejectionWarning: Error: Command failed: solc --combined-json

I have this error, with doxity-simpleton. I use ubuntu 18.04 and yarn. How can i slove this?

Invalid option to --combined-json: clone-bin
(node:5018) UnhandledPromiseRejectionWarning: Error: Command failed: solc --combined-json abi,asm,ast,bin,bin-runtime,clone-bin,devdoc,interface,opcodes,srcmap,srcmap-runtime,userdoc contracts/*
Invalid option to --combined-json: clone-bin

source code configuration gives an error

I've setup and configured the project, all other things works properly. But I want to show the source code of smart contract to on web pages.
As per Doxity documentation, I have modified the .doxityrc file as

{
  "target": "doxity",
  "src": "contracts/*",
  "dir": "pages/docs",
  "out": "docs",
   "whitelist": {
    // the keyname `all` will be used for whitelist defaults
    "all": {
      "abi": true,
      "methods": true,
      "bytecode": false, // bytecode is false or undefined, it won't be shown
      "source": false // source is false or undefined, won't be shown
    },
    "DigixMath": {
      "source": true // source code uniquely shown for this contract, bytecode still hidden
    }
  }
}

Then, when I tried to compile using doxity compile, it gives an error

Error: Output directory /home/admin/documents/doxity-simpleton/scripts/doxity/pages/docs not found, are you in the right directory?
    at Object.exports.default [as compile] (/home/admin/.nvm/versions/node/v8.11.3/lib/node_modules/@digix/doxity/lib/compile/index.js:12:11)
    at Object.wrappedMethods.(anonymous function) [as compile] (/home/admin/.nvm/versions/node/v8.11.3/lib/node_modules/@digix/doxity/lib/index.js:71:24)
    at Object.<anonymous> (/home/admin/.nvm/versions/node/v8.11.3/lib/node_modules/@digix/doxity/lib/bin/doxity.js:35:28)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:191:16)
    at bootstrap_node.js:612:3

If I revert it and then check again, it is working fine.. any help to show the source code ?

Wrong paths in html

semantic css link is broken and bundle.js too
But if I change it manually I see blank page.
What could it be?
Edit: I'm trying to run it locally

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.