@fhjer docsify is the script (the code) that runs in your client side application when you serve it to your browser. This is a <script src="path/to/docsify.js"></script> tag inside of your index.html file. This code is what loads your .md files dynamically, creates the URL routing system, and reads the options you specify in the $docsify object.
On the other hand, docsify-cli is simply just a tool that generates a default docs template in a folder that you will later serve. Technically you do not need docsify-cli. You can make your static website by yourself without doscify-cli, stick the <script src="path/to/docsify.js"></script> into your HTML page, and you're ready to go. You can serve your content any way you want, f.e. using a PHP server, Ruby server, Node.js http module, serve package from NPM, http-server package from NPM, etc. Summary: docsify-cli generates a basic template to get started with, and it also creates a static server for you. That's all it does!
To make a Docsify website, you only need the docsify script, and to have .md files that will render as pages. By default, docsify will render the documentation into a div in your HTML page. It will look for a div like this: <div id="app"></div>. If you meet those requirements, and you serve your HTML yourself without docsify-cli that will work too!
How to convert a java standlone app to web application or access via internet?
I come across several beautiful java standalone application..example DocFetcher...However there is no web interface available.
Is there a way to make it as web application using any tool or third party plugin or server?
Is there a way to launch in the server and access as jnlp from anywhere?
What would be the best and easiest way to convert a standalone jar or desktop java application to web server...
Not going to be a request and response..Instead wanted to do the same thing which we can do in the standlone.
Please kindly advise....
@mrpotatoes Look this https://docsify.js.org/#/themes
Thank you for the info. I’m going to give that more of a look when I can this weekend.
Hi,
I have content same content in html pages or text or pdf or docx html page or site...
Does docsify will do the following with any of the above files?
Basically i want to do the following
a) type-ahead with no of matches found
c) highlighting the search word in found document or notes
d) easy navigation with next, previous, goto exact match button as well as keyboard shortcuts
e) search only in titles or inside content
f) search results in less than a second
how to use docsify for the above purpose, any theme?
/usr/local/lib/node_modules/docsify-cli/node_modules/yargs/yargs.js:1078
else throw err
^
TypeError: (PKG.repository.url || PKG.repository).replace is not a function
at Object.module.exports [as init] (/usr/local/lib/node_modules/docsify-cli/lib/commands/init.js:56:57)
at Object.handler (/usr/local/lib/node_modules/docsify-cli/bin/docsify:45:28)
at Object.self.runCommand (/usr/local/lib/node_modules/docsify-cli/node_modules/yargs/lib/command.js:231:22)
at Object.Yargs.self._parseArgs (/usr/local/lib/node_modules/docsify-cli/node_modules/yargs/yargs.js:990:30)
at Object.get [as argv] (/usr/local/lib/node_modules/docsify-cli/node_modules/yargs/yargs.js:930:19)
at Object.<anonymous> (/usr/local/lib/node_modules/docsify-cli/bin/docsify:117:3)
at Module._compile (internal/modules/cjs/loader.js:738:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
at Module.load (internal/modules/cjs/loader.js:630:32)
at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
npm i docsify-cli -g and that worked fine
After huge research, i am planning to go with JavaScript Search engine with Angular/Vue.js/Meteor/React as front-end
Choice of javascript client side storage is below
1) IndexedDB
2) JScene
3) LargeLocalStorage
4) ydn db
5) PouchDB
Links for reference
https://github.com/tantaman/LargeLocalStorage
https://gist.github.com/inexorabletash/a279f03ab5610817c0540c83857e4295
http://lintool.github.io/JScene/
https://db-engines.com/en/system/LokiJS%3BPouchDB%3BSolr
Please kindly suggest which one to go...
Basically have a cross platform system which accepts huge files and finally does a full text search...
In this way, the user just needs the browser no installation is required......