GithubHelp home page GithubHelp logo

siyuan-community / siyuan-developer-docs Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 14.0 2.39 MB

Unofficial documentation for SiYuan community developers.

Home Page: https://docs.siyuan-note.club

License: GNU Affero General Public License v3.0

JavaScript 68.70% TypeScript 30.55% Shell 0.76%
developer documentation siyuan siyuan-note siyuan-plugin siyuan-theme siyuan-widget siyuan-community

siyuan-developer-docs's People

Contributors

etchnight avatar frostime avatar muhanstudio avatar peng1999 avatar tcotc avatar tinkmingking avatar wetoria avatar zuoez02 avatar zuoqiu-yingyi avatar zxhd863943427 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

siyuan-developer-docs's Issues

安装第三方npm库的调用与打包教程

有时候开发插件不可避免的要使用一些第三方库,教程里能否增加一部分这方面的内容方便快速入门?

比如,如何调用node自身的fs、path这类内置库并打包(如使用const fs = window.require('fs')可以成功打包,但是没法在伺服环境中使用,这种坑可能也需要讲解一下?)

以及如何安装并调用其他第三方库,如ffmpeg.js langchain.js这种,直接用pnpm安装然后在index.ts 中import,在编译的时候往往会有依赖包报错,感觉像是electron限制了打包能力。

希望有时间出一个这方面的教程讲解一下

中文文档侧边栏跳转 404 的问题

问题描述

目前的文档,在一些情况下会出现 404。

复现步骤:

进入:事件总线,然后点击侧边栏里,图中的 Plugin,就能复现。

image

问题原因

出现这个问题,是因为用了在 base 里使用了相对路径 ./class/ ,换成 base: '/zh-Hans/reference/api/plugin/class/' 并不会出现这个问题。

在最新的 VitePress 文档里,我并没有看到相关的介绍。并且在 0bc74c5 这一次提交里,我看到是故意这么改的。

由于不确定改动原因,以及对 VitePress 的不熟悉,我没有提交 PR。 @Zuoqiu-Yingyi 看看应该怎么处理?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.