by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    yehudz
    @yehudz
    How can I integrate docsify with a react-app?
    charlie430
    @charlie430
    How do you link to an external json file? I'm getting a 404 because it is rewriting my link url and including the "#".
    Nevermind, found the ':ignore' in the documentation
    JACK
    @jack9603301
    @abhivaikar
    No docs found /home/jack/build/howtheytest/index.html
    Please run docsify init first.
    ```
    
    No docs found /home/jack/build/howtheytest/index.html
    Please run docsify init first.
    Why is your project's readme not initialized.
    JACK
    @jack9603301
    Why is your project's not initialized.
    Abhijeet Vaikar
    @abhivaikar
    I'm not sure what you mean. I ran docsify init locally.
    ➜  howtheytest git:(docsify) docsify init
    
    Initialization succeeded! Please run docsify serve
    This is what I got
    JACK
    @jack9603301
    @abhivaikar Initialization is usually only required once, after the next initialization README.md Will be emptied
    Abhijeet Vaikar
    @abhivaikar
    oh! this is new information
    was not aware of this
    Yeah I checked and looks like the existing README.MD is empty now. Yikes!
    JACK
    @jack9603301
    Just solve it. Any other problems?
    Abhijeet Vaikar
    @abhivaikar
    Maybe we need to add this info in the docsify Getting Started section if someone is trying to setup Docsify on existing README.md files
    JACK
    @jack9603301
    Please check why the prompt is not initialized? This usually means that some files are not uploaded.
    Steven will
    @willasas
    why I used the CDN,but it doesn't work,who can help me?
    the error:Uncaught TypeError: Cannot read property 'clientWidth' of null at docsify.min.js and Uncaught ReferenceError: $docsify is not defined
    at gitalk.min.js:1
    JACK
    @jack9603301
    When asking others, it's best to include the minimum sample code that caused the problem to facilitate troubleshooting.
    Steven will
    @willasas

    <!DOCTYPE html>

    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Blog of Willasas - WEBSITE</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Description">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
    <script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
    <script src="https://unpkg.com/docsify-copy-code@2"></script>
    </head>
    <body>
    <div id="app"></div>
    <div id="gitalk-container"></div>
    <script>
    window.$docsify = {
    name: '',
    repo: 'willasas/blogs',
    LoadNavbar: true,
    loadSidebar: true,
    coverpage: ['/', 'en-us/'],
    homepage: 'https://github.com/willasas/blogs/tree/master/docs/README.md',
    search: {
    maxAge: 86400000,
    paths: 'auto',
    placeholder: {
    '/zh-cn/': '搜索',
    '/': 'Search'
    },
    noData: {
    '/zh-cn/': '找不到结果',
    '/': 'No Results'
    },
    depth: 2,
    },
    copyCode:{
    buttonText:{
    "/zh-cn/":'点击复制',
    '/':'Copy to clipboard'
    },
    errorText:{
    "/zh-cn/":'错误',
    '/':'Error'
    },
    successText:{
    "/zh-cn/":'复制',
    '/':'Copied'
    }
    },
    plugins:[
    function(hook){
    var footer = [
    '<hr/>',
    '<footer>',
    '<span>Copyright ©2020<a href="https://github.com/willasas">willasas</a>.</span>',
    '<span>Developed with <a href="https://github.com/docsifyjs/docsify" target="_blank">docsify</a> and Markdown.</span>',
    '</footer>'
    ].join('');

    hook.afterEach(function(html){
    return html + footer;
    });
    }
    ]
    }
    </script>
    <script>
    var gitalk = new Gitalk({
    clientID: 'MY CID',
    clientSecret: 'MY CS',
    repo: 'blogs',
    owner: 'willasas',
    admin: ['willasas'],
    id: 'window.location.pathname', // Ensure uniqueness and length less than 50
    // facebook-like distraction free mode
    distractionFreeMode: false
    })
    //gitalk.render('gitalk-container');
    </script>
    </body>
    </html>

    My index.html demo
    JACK
    @jack9603301
    I'll check. Please gitalk.min.js The possible reason is that the page has not been loaded well, so the clientWidth cannot be retrieved.
    Steven will
    @willasas
    @jack9603301 Should I try to use CDNs from other area,because I'm in China.
    JACK
    @jack9603301
    @willasas It should have nothing to do with the CDN node location. Change the order of scripts statements. Put this JS at the end and try it. In addition, I am in China.
    Steven will
    @willasas
    OK, I'll try.
    Joe Pea
    @trusktr

    @/all

    We're moving over to Discord! https://discord.gg/3NwKFyR

    It is easier to organize topics there, plus nicer UI/UX and set of features like video/voice chat, streaming updates from server to server, and more, and all for free.

    Join us there. :)

    prog20901
    @prog20901
    Can someone help me to understand the algorithm or logic specified in view-source:https://georgjaehnig.github.io/booklet-page-calculator/ ?
    Nathan Choi
    @B0kCh01
    You just print pages from the outside and work your way to the inside that’s why you need to have a multiple of four pages
    prog20901
    @prog20901
    It is not about printing but understanding the algorithm or logic being written
    so that can use it in other times
    BeOriginalH
    @BeOriginalH
    hi,i'm use this first time,when i add the serach plugin, the ui has three shearch input,why this, anyone can help me? thank!
    Joe Pea
    @trusktr
    That sounds strange. It is supposed to have one search input @BeOriginalH
    Joe Pea
    @trusktr

    by the way, we are moving to Discord! Join us there! https://discord.gg/3NwKFyR

    Joe Pea
    @trusktr
    Please post some code example, including your configuration, or a live site. Otherwise there's no way to tell what is happening in your case.
    Tatiana Perry
    @tjperry07
    Has anyone attempted to create a git log? Similar to https://vuepress.github.io/en/plugins/git-log/#installation
    Joe Pea
    @trusktr
    @anikethsaha Can we close this Gitter channel? I will submit a PR to update the docs with Discord. @tjperry07 Join us on Discord! https://discord.gg/3NwKFyR
    Anix
    @anikethsaha
    I think we can keep it alive and just dont response here. I saw other channels as well, they have kept it open but not responding.
    We can remove it once the website is updated
    Joe Pea
    @trusktr
    :+1:
    方钦昇
    @fangqinsheng
    hello
    Joe Pea
    @trusktr
    @fangqinsheng Hello! We're in process of moving to Discord (the site will have new links soon). Join us there!
    @tjperry07 That's a neat idea though. Let's discuss on Discord.
    spaztanxd
    @spaztanxd
    Hola
    Imma go die byee
    AnilKurhekar
    @AnilKurhekar
    Hi Team,
    I am new to Docsify. Need info on this:
    1. Can I create my own theme by editing theme CSS file and placing it in the docs folder?
    2. How to use docsify pdf converter? Tried these steps but not very clear - https://github.com/meff34/docsify-to-pdf-converter
    Airclear
    @airclear
    👍
    FantasticMiao
    @huyinxian
    Someone knows why my website has a mask?
    MrXBear
    @MrXBear

    There is something wrong in translations.
    Between page
    https://docsify.js.org/#/more-pages
    & page
    https://docsify.js.org/#/zh-cn/more-pages

    English Edition:

    Matching routes
    docs/guide.md => http://domain.com/#/guide

    while Chinese Edition:

    那么对应的访问页面将是
    docs/guide.md => http://domain.com/guide

    the hash symbol (#) in url is missing. (🐛?)