Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    fhjer
    @fhjer
    Hi
    what is the connections between docsify and docsify-cli? The version is different ?
    fhjer
    @fhjer
    docsify不支持相对路径啊?不识别./file.md
    wudao
    @miqi1992
    没试过呢
    有人试过把gitter集成进gitter吗
    VagnerDomingues
    @VagnerDomingues
    @trusktr nicee, and yes.. it is possible to add a full width section, you can comment: '<!--div:title-panel-->' and will render a full width pannel, but the plugins is only for rapid production when creating a big documentation. you can create a full width container inserting an html element inside the .md file
    no need to call the plugin in that case
    fhjer
    @fhjer
    Have anybody used the plugins docsify-pdf-converter? Are there any examples ?
    jiquan51
    @jiquan51
    cannot find docsify init ./docs after npm i docsify-cli -g on win10
    fhjer
    @fhjer
    same to U@jiquan51
    sorry, wrong understood
    Joe Pea
    @trusktr
    @VagnerDomingues Ah, cool!
    Joe Pea
    @trusktr

    @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!

    @jiquan51 I don't know about Windows CMD or PowerShell problems, but you should try Windows 10 WSL Bash (it is Linux inside of Windows). Everything should work fine if you work on your project inside WSL Bash in Windows 10.
    WSL is the "Windows Subsystem for Linux" which is new in Windows 10. It allows you to run Ubuntu Linux command line inside of Windows 10.
    prog20901
    @prog20901
    hi
    Joe Pea
    @trusktr
    Hello
    fhjer
    @fhjer
    @trusktr Thank U
    Andric LibreSinn
    @mrpotatoes
    Is there a way to change styles for docsify? I want to change the default table style to be full width.
    Bole Chen
    @bolechen
    @mrpotatoes Look this https://docsify.js.org/#/themes
    Daniel Contreras
    @dantnad
    I wanted to ask if there's a way to password protect the codumentation, in order to use it for sensitive information from within the company, idk, for example to use Google to sign in and check the files
    VagnerDomingues
    @VagnerDomingues
    you can do it before serving the documentation in your application.
    Libby Schumacher-Knight
    @libbyschuknight
    Hello, I'm thinking about using docsify to make a nicer version of this repo - https://github.com/libbyschuknight/tid_til, is there a way it can be done without moving files to be under a /docs folder? Thanks :)
    Deepak Thapa
    @deepaksursa_gitlab
    Hi can I deploy docsify using CPanel
    ?
    Guanrui1
    @Guanrui1
    Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
    prog20901
    @prog20901

    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....

    Andric LibreSinn
    @mrpotatoes

    @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.

    prog20901
    @prog20901
    any open source app or framework exist to build an app - write once, same code and run on PC, Web and Mobile ???
    Rodrigo Asensio
    @rasensio
    Hi, did anyone had issues while visualizing a site deployed to amplify ? I'm getting the Loading.. in the sidebar and main page after changing a route. The doc suggests "history" mode for the router.
    John Carmichael
    @Acrontum-Carmichael
    Hi, has anyone seen a swaggerui embedded into docsify before?
    Or is there a docsify-swaggerui plugin?
    floatLig
    @floatLig
    thank! It is good
    prog20901
    @prog20901

    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?

    hjoeson
    @hjoeson
    funny
    Alexander Ivanov
    @oshliaer
    Hi there! I'd like to insert a neighboring js file as part of markdown markup. Is there such a plugin?
    Joe Pea
    @trusktr
    @oshliaer You can include it with a <script> tag. F.e. <script src="/path/relative/to/the/root/of/the/website/some-file.js" />.
    @prog20901 You can just write the code that does that. ;)
    rxliuli
    @rxliuli

    use disqus plugin error: (unknown) Syntax error @ "Text To link"!

    #

    JSHINT output:

    #

    EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src https:".

    image.png
    what happened. . . ?
    Bastien Mazeran
    @mazerab
    Hello, I am struggling with an error I have never seen when trying to initialize docsify with the command docsify init ./docs

    /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)

    Has anyone seen this?
    I installed docsify on MacOS via npm i docsify-cli -g and that worked fine
    For information, the ./docs folder is created and I can serve the README.md file ... not sure if I should worry about above error
    christopher-gray-vca
    @christopher-gray-vca
    How's it going everyone?
    Joe Pea
    @trusktr
    @rxliuli Seems like a more generic web problem. Look up that error on Google, maybe you'll find it in other places, not just with Docsify.
    @christopher-gray-vca Good. Thanks!
    prog20901
    @prog20901

    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......

    Joe Pea
    @trusktr
    Cool