1.3.2 • Published 4 years ago

docsify-sidebarfooter v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Getting started

Installation

  1. Configure the docsify-autoFooter:
<script>
window.$docsify = {
  autoFooter: {
    name:     '',
    url:      '',
    copyYear: '',
    policy:   '',
    terms:    ''
  }
};
</script>

via npm

Including it via NPM has one extra step than a normal:

npm install @markbattistella/docsify-sidebarfooter@1.1.5 --registry="https://npm.pkg.github.com/"
  1. Insert script into docsify document:
<script src="docsify-sidebarFooter.js"></script>
  1. If you are using the Privacy Policy and Terms of Service links, then add the two files to the root (next to index.html)

    | docs/
    |-- _privacy.md
    |-- _terms.md
  1. Add the <div id="mb-footer"></div> to the bottom of the _sidebar.md. I guess you can add this anywhere, but it's designed for the sidebar.
  1. Find a couple of online generators to help fill in the data :smiley:

Configuration

There are some options available for the docsify-autoHeaders:

settingoptions
nameyour name or your company - whoever is the owner
urlthe url you want the name to link to (optional)
copyYearthe first year of copyright. leave blank for current year
policydo you have a Privacy Policy page
termsdo you have a Terms of Service page

Usage

Fill in the data within the configuration, and it will all auto populate.

Example

Example output

Contributing

  1. Clone the repo: git clone https://github.com/markbattistella/docsify-sidebarFooter.git

  2. Create your feature branch: git checkout -b my-feature

  3. Commit your changes: git commit -am 'Add some feature'

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request

1.3.2

4 years ago

1.3.1

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.9

4 years ago