New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

docsify-changelog-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docsify-changelog-plugin

Docsify plugin to add changelog to your docsify site

Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
18
50%
Maintainers
1
Weekly downloads
 
Created
Source

docsify-changelog-plugin

This is a docsify plugin to render changelog from given path

JavaScript Style Guide

Installation

Add the following stylesheet along with your other stylesheets

<link
  rel="stylesheet"
  href="//cdn.jsdelivr.net/npm/docsify-changelog-plugin@latest/dist/style.css"
/>
<link
  rel="stylesheet"
  href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
/>

And add the following script

<script src="https://cdn.jsdelivr.net/npm/docsify-changelog-plugin@latest/dist/index.js"></script>

Configure

In your docsify config object add the following

window.$docsify = {
...
loadNavbar : false, // IMPORTANT
changelog : 'CHANGELOG.md' // path of your changelog, it can be remote as well
...
}

And add the following custom nav bar

<nav></nav>

Note that loadNavbar options should be set to false and if you want to extend the navbar to write your own, write it in your index.html as nav element

Thanks it, Now enjoy :tada: your changelog integration with docsify

Screen Shot

ss
ss

Contribution Guide

  • Clone the repo
  • start editing on src/index.js and src/style.styl
  • The build step using
    • the styl -> css using styl CLI
    • Optimize the generated style using cssnano and postcss
    • Build the javascript using rollup
    • optimize it using rollup-plugin-terser
    • styling rule using standard

Faq

Is it responsive? Not yet! soon, I will add the styles to make it responsive

Will it break mergeNavbar options? May be

Can I change the style of the button and the panel? Not yet !, but soon it will be possible using css variable

Keywords

docsify

FAQs

Package last updated on 15 Feb 2020

Related posts