You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, people may want to deploy multiple VuePress sites (or sites generated by other tools) in one directly.
For example:
/: a vuepress site
/api/: a site generated by typedoc
In this case, any links that is under /api/ should be marked external, however, the linksPlugin uses isLinkExternal from @vuepress/shared directly here:
We can also use other formats, but it must expose basefilePathRelative variables so that users can "resolve" final path to make a further judgement if necessary.
Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Clear and concise description of the problem
In some cases, people may want to deploy multiple VuePress sites (or sites generated by other tools) in one directly.
For example:
In this case, any links that is under
/api/
should be marked external, however, the linksPlugin usesisLinkExternal
from@vuepress/shared
directly here:core/packages/markdown/src/plugins/linksPlugin/linksPlugin.ts
Line 76 in eaa97e6
Suggested solution
Provide a
isExternal
option:We can also use other formats, but it must expose
base
filePathRelative
variables so that users can "resolve" final path to make a further judgement if necessary.Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: