Skip to content

nopdan/docsify-waline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

A simple comment plugin for docsify.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published