8 Commits
Author SHA1 Message Date
qwqcode bad248534c docs: revise and add more examples
BREAKING CHANGE: The following top-level functions exported by the 'artalk' npm package have been deprecated: `Artalk.update`, `Artalk.reload`, and `Artalk.destroy`. These methods now require invocation on an instance created by either `Artalk.init` or `new Artalk`. Please utilize instance-level methods instead, such as `artalkInstance.update`. For more information, refer to  [the documentation](https://artalk.js.org/guide/frontend/import-framework.html). The update was implemented to enable the concurrent creation of multiple instances, adapting to situations where Vue components are simultaneously referenced across various pages. Initially, only a singular instance was permitted to mitigate memory leak concerns. However, this proved limiting for scenarios involving the caching of multiple component instances through 'keep-alive.' To better suit intricate SPA application needs, the choice was made to permit the creation of multiple independent instances. It's crucial to remember to manually invoke the `artalk.destroy` method when releasing components to avoid memory leaks (Issue #660).
2023-12-17 19:16:33 +08:00
qwqcode b97136b83f chore(docs): tidy up documentation 2023-12-13 19:09:14 +08:00
qwqcode 069a33773c docs: refine and add frontend api docs
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-10 20:17:41 +08:00
Baoshuo Renandqwqcode d57b747991 docs(deploy): add restart=always for docker to auto restart (#425)
* fix: 为 docker 容器指定 restart=always 使得容器可以自动重启

* Update deploy.md

---------

Co-authored-by: qwqcode <qwqcode@gmail.com>
2023-02-22 11:40:18 +08:00
qwqcode e447657c94 docs: fix content and update index 2023-02-04 18:13:41 +08:00
qwqcode 34e59e653f refactor(CI): improve build and release workflows (#358)
* refactor(CI): build and publish workflows

Signed-off-by: qwqcode <qwqcode@gmail.com>

* fix(docs): version in cdn link output issue

Signed-off-by: qwqcode <qwqcode@gmail.com>

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-26 20:07:55 +08:00
qwqcode 7e01f9d0ed chore: revert the rename of image on dockerhub (#351)
Signed-off-by: qwqcode <qwqcode@gmail.com>

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-20 13:28:14 +08:00
qwqcode 593639f92e chore: move files from docs/docs to docs
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-17 19:34:59 +08:00