brynbellomy / dash-docset-generator Goto Github PK
View Code? Open in Web Editor NEWNode.js command line tool that generates Dash docsets from HTML, JSON, YAML, etc.
Node.js command line tool that generates Dash docsets from HTML, JSON, YAML, etc.
When the Markdown contains links to other Markdown files, the links are not updated in the output to point to the generated HTML files.
1. [Installation](docs/1-installation.md#installing-testdoublejs)
1. [for Node.js](docs/1-installation.md#for-use-in-nodejs-or-browserify)
2. [for browsers](docs/1-installation.md#for-use-in-browsers)
3. [initial configuration](docs/1-installation.md#configuring-testdoublejs-setting-up-in-your-test-suite)
Becomes:
<ol>
<li><a href="docs/1-installation.md#installing-testdoublejs">Installation</a>
<ol>
<li><a href="docs/1-installation.md#for-use-in-nodejs-or-browserify">for Node.js</a></li>
<li><a href="docs/1-installation.md#for-use-in-browsers">for browsers</a></li>
<li><a href="docs/1-installation.md#configuring-testdoublejs-setting-up-in-your-test-suite">initial configuration</a></li>
</ol>
But the links should be updated to link to the generated .html
files.
I get this error any time I run build-dash-docsets
with a fresh install. Looks to be something associated with ES6, similar issue here
const shell = require('shelljs/global')
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3```
Hi @brynbellomy
I was trying to generate the selenium-java
docs from the website here http://seleniumhq.github.io/selenium/docs/api/java/index.html
And I've downloaded the website using wget -r url
command.
But while trying to install this npm package, I get the following error
❯ npm install -g dash-docset-generator
npm ERR! Error while executing:
npm ERR! /usr/local/bin/git ls-remote -h -t git://github.com/brynbellomy/command-router.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR! Repository not found.
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/eklavya/.npm/_logs/2017-09-23T16_43_45_678Z-debug.log
apply_bot/_resources git/master* 8s
❯ node --version
v8.1.3
Hi,
I tried installing your extension through npm, but I am getting an error that it can't find git, code 'ENOGIT'
What am I missing?
Once I'm here, I'll make sure that this is what I'm looking for
I would like to make a docset from my own files
Thank you,
David
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.