chore: UrlStyleType add "absolute" for full url slug - #33
Open
mr-kelly wants to merge 5 commits into
Open
Conversation
Member
|
没看懂这样改动与之前的 |
Author
相对模式(nested)
绝对模式(absolute)
|
Member
|
感觉这个根本的问题是你在 B 文档里面应该把 slug 标识为 这样用明显会有问题,例如 a 有天改成了 所以,基于这个原因,看起来没有引入这个改动的必要。 |
Author
其实不是技术问题,是适配导出之后的业务场景。 类似这样:
主要适配到这类场景,没关系,可以 keep fork |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a new URL style mode called 'absolute.'
It can ignore the location of the user's wiki document and directly use the slug address written by the user as a storage location in the directory structure.
我新增了一个 URL 风格模式,叫做‘absolute’。
它可以忽略用户的 wiki 文档所在的位置,直接使用用户写入的 slug 地址作为目录结构中的存放位置。
这个功能改动的总结如下:
改动名称:支持 absolute 的 URL 风格
改动描述:
相对模式(nested)
绝对模式(absolute)