7 Commits

Author SHA1 Message Date
Joe Pea
7bbf13d9bd
Ensure code format (#2138)
* chore: add missing Vue support for Vercel builds

* refactor: move some functions and module-level state into classes as private methods and properties to start to encapsulate Docsify

Also some small tweaks:

- move initGlobalAPI out of Docsify.js to start to encapsulate Docsify
- move ajax to utils folder
- fix some type definitions and improve content in some JSDoc comments
- use concise class field syntax
- consolidate duplicate docsify-ignore comment removal code

This handles a task in [Simplify and modernize Docsify](https://github.com/docsifyjs/docsify/issues/2104), as well as works towards [Encapsulating Docsify](https://github.com/docsifyjs/docsify/issues/2135).

* chore: add prettier code format check to our lint script, and add a prettier script for manually formatting the whole code base

* chore: update issue/pr templates

* chore: apply our format to the whole code base


---------

Co-authored-by: Koy <koy@ko8e24.top>
Co-authored-by: i544693 <369491420@qq.com>
2023-08-09 17:53:30 +08:00
Thomas Broadley
623e9c4239 Fix typos (#326) 2017-12-16 12:06:12 +08:00
qingwei.li
0dd2497467 chore: add history.md 2017-07-20 01:15:39 +08:00
qingwei.li
4aba9d0a25 chore(*): remove history.md 2017-07-20 01:05:01 +08:00
Johannes Rappen
0b1fc2343f update main markdown files 2017-03-09 22:19:57 +01:00
qingwei.li
4b64386465 docs: move changelog to history 2017-02-19 14:38:38 +08:00
qingwei.li
a96c2b0103 doc(zh-cn): update all documents 2017-02-12 15:51:26 +08:00