ryanhendricks / doxity-simpleton Goto Github PK
View Code? Open in Web Editor NEWSolidity Documentation
Home Page: https://ryanhendricks.github.io/doxity-simpleton/
Solidity Documentation
Home Page: https://ryanhendricks.github.io/doxity-simpleton/
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
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
.
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 ?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.