Skip to content

Commit

Permalink
📝 doc: 导入 readme 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Dec 11, 2024
1 parent c538e9e commit 568d484
Show file tree
Hide file tree
Showing 61 changed files with 2,013 additions and 4 deletions.
2,010 changes: 2,008 additions & 2 deletions README_zh_CN.md

Large diffs are not rendered by default.

Binary file added assets/image-20230506013450-g2mkp8l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241025221225-4ml02nc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241025221628-8bslxks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241025222516-lvb94rl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241025223457-hi94ial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241130145358-bqvwgmb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241130151900-0n7ku7o.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241202164246-vla7mo8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241202164442-588f7d7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204001321-csglpyu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204001504-jz4gbh1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204002444-9j30l5k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204002830-35q4qjh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204003312-d3040o5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204003849-8l19z7b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204004702-va0yg1n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204005817-mpdtp85.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204112906-ih3lqzu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204123442-lceozz3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204123606-44328dv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204123811-vla1xke.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204130225-vpgesgp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241204130826-j6rwpyx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241206182941-yzctkxu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241206183442-ra4h7xl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241206184455-4in6gct.png
Binary file added assets/image-20241206185311-ajowi8u.png
Binary file added assets/image-20241206190453-o0u8eb8.png
Binary file added assets/image-20241206190600-fu09ywo.png
Binary file added assets/image-20241206190618-bb58ls6.png
Binary file added assets/image-20241206190646-84tfh64.png
Binary file added assets/image-20241206191639-v6yiw7f.png
Binary file added assets/image-20241206192654-ycr25wv.png
Binary file added assets/image-20241206193640-g5h5jp9.png
Binary file added assets/image-20241206194739-md7he6w.png
Binary file added assets/image-20241206200537-udf4v6b.png
Binary file added assets/image-20241206201729-1bfn3md.png
Binary file added assets/image-20241206202124-3pu0qdw.png
Binary file added assets/image-20241206211503-q3b2uk5.png
Binary file added assets/image-20241207010811-8lh25x5.png
Binary file added assets/image-20241207010958-u6g07gl.png
Binary file added assets/image-20241207171409-l4z5ffo.png
Binary file added assets/image-20241207193310-9gpfbtk.png
Binary file added assets/image-20241207204410-a231unc.png
Binary file added assets/image-20241207210617-i5tmd5l.png
Binary file added assets/image-20241208222807-mvc3opc.png
Binary file added assets/image-20241208234136-s06cygn.png
Binary file added assets/image-20241209001506-1j38x18.png
Binary file added assets/image-20241209001549-kcurxon.png
Binary file added assets/image-20241209002057-jarcxsu.png
Binary file added assets/image-20241209005221-qtytbib.png
Binary file added assets/image-20241209210930-k9vnume.png
Binary file added assets/image-20241209212929-dlfxtip.png
Binary file added assets/image-20241209220101-oypr89p.png
Binary file added assets/image-20241210133627-mnp2zup.png
Binary file added assets/image-20241210171119-o72dyyd.png
Binary file added assets/image-20241210172133-ivjwzpc.png
Binary file added assets/image-20241210172746-kbxtfhr.png
Binary file added assets/image-20241210183914-5nm5w4r.png
7 changes: 5 additions & 2 deletions src/user-help/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ const OutlineCode = `


const createReadmeText = async (plugin: QueryViewPlugin) => {
const response = await fetch('/plugins/sy-query-view/README.md');
const lang = window.siyuan.config.lang;
const fname = lang.startsWith('zh') ? 'README_zh_CN.md' : 'README.md';

const response = await fetch(`/plugins/sy-query-view/${fname}`);
let readme = await response.text();
const AheadHint = i18n.user_help.ahead_hint.trim();
let ahead = AheadHint.replace('{{version}}', plugin.version);
Expand Down Expand Up @@ -110,7 +113,7 @@ export const load = async (plugin: QueryViewPlugin) => {
const pluginVersion = pluginJson.version;

plugin.registerMenuItem({
label: i18n.src_userhelp_indexts.download + 'd.ts',
label: i18n.src_userhelp_indexts.download + ' d.ts',
icon: 'iconDownload',
click: () => {
const url ='/plugins/sy-query-view/types.d.ts';
Expand Down

0 comments on commit 568d484

Please sign in to comment.