docsify-waline

2.1.0 • Public • Published

docsify-waline

A Docsify comment plugin for docsify that supports pageview statistics.

Pageview statistics rely on docsify-count.

English | 简体中文

Begin

Import Waline v2

<script src="https://unpkg.com/@waline/client@v2/dist/waline.js"></script>
<link
  rel="stylesheet"
  href="https://unpkg.com/@waline/client@v2/dist/waline.css"
/>

Enter waline official website
Configure 'database' and 'server' according to the documentation

Usage

<script>
  window.$docsify = {
    count: {
      language: "", // default:english|chinese
    },
    waline: {
      // Required example:https://your-domain.vercel.app
      serverURL: "https://your-domain.vercel.app",
      // enable pageview count
      pageview: true,
      // ...
      // don't support custom `el` and `path`
    },
  };
</script>

<!--Import me-->
<script src="https://unpkg.com/docsify-waline@2/docsify-waline.min.js"></script>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    32
    • latest

Version History

Package Sidebar

Install

npm i docsify-waline

Weekly Downloads

28

Version

2.1.0

License

ISC

Unpacked Size

41.6 kB

Total Files

6

Last publish

Collaborators

  • nopdan