-
Notifications
You must be signed in to change notification settings - Fork 708
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
Generate the correct link for the content in the readme #1560
Comments
If it is confirmed that this is a bug, I will fix this problem through PR later |
I'm somewhat worried about trying to rewrite links - if the readme linked to I think my advice for now would be to create a second readme specifically for your docs, and point TypeDoc to it with the |
@Gerrit0 First of all, thank you for your reply. I understand your worry. It is necessary to ensure that the referenced documents are in line with the expectations. To solve the problem, I think of a modification method: 1.The {
"readme": [
"./README-en-GB.md",
"./README.md"
]
} 2.If any path specified in the readme parameters is found during the rendering of the At the same time, I'm not sure whether this change should be put into the framework. At present, this ability can be realized in the form of plug-ins provided by |
I've reviewed this a couple of times, and I don't think this is something I want to live in TypeDoc proper, it's a bit too magical. This might change once TypeDoc has support for guides, but for now it doesn't really fit with the architecture well. |
Search terms
readme
Expected Behavior
During the readme rendering process, generate correct HTML for the referenced local markdown file link
Actual Behavior
Link error in readme
Steps to reproduce the bug
E.g. README.md
[简体中文](./README.md) | English
Environment
The text was updated successfully, but these errors were encountered: