Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree.md 功能优化 #24

Closed
dkvirus opened this issue Nov 8, 2019 · 2 comments
Closed

tree.md 功能优化 #24

dkvirus opened this issue Nov 8, 2019 · 2 comments

Comments

@dkvirus
Copy link
Contributor

dkvirus commented Nov 8, 2019

问题

目前,tree.md 中的文章都会在网页显示出来。
实际使用中,在学习新技术时,我希望用 teadocs 记录📝笔记,于是在 tree.md 中添加了一条记录;
打包时,teadocs 会把《Typescript 笔记》这份笔记也打包出来,但此时这只是笔记,内容很杂乱;
在未整理内容之前,我希望《Typescript 笔记》只是一份草稿,打包时不应该包含这篇文章。

- [介绍](/index)
- [Typescript 笔记](/typescript)

期待

tree.md 添加符号 $,打包的时候过滤所有 $ 开头的文章。

- [介绍](/index)
- [$Typescript 笔记](/typescript)

补充

判断是开发还是生产环境,通过参数 dev 或者 build 可以得到。

  • teadocs dev 阶段打包生成的文章应该包含所有文章;
  • teadocs build 阶段打包生成的文章不包含 $ 开头的文章。
@lisniuse
Copy link
Member

嗯,我觉得这个功能可以做。

dkvirus added a commit to dkvirus/teadocs that referenced this issue Nov 12, 2019
@dkvirus
Copy link
Contributor Author

dkvirus commented Nov 12, 2019

好久没看到你更新 teadocs 动态了,还以为你不管这个项目了。 🤦‍♂️

@dkvirus dkvirus closed this as completed Nov 12, 2019
lisniuse pushed a commit that referenced this issue Nov 13, 2019
* feat: tree.md 功能优化 (#24)

* feat: 包有更新时自动通知用户

* feat: 端口自动增长 (#25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants