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

Url fragment is dropped if the url includes file type. #148

Open
shakiba opened this issue Apr 30, 2024 · 1 comment
Open

Url fragment is dropped if the url includes file type. #148

shakiba opened this issue Apr 30, 2024 · 1 comment

Comments

@shakiba
Copy link
Contributor

shakiba commented Apr 30, 2024

If a link is like page.md#section-2, then in the generated site it is converted to page instead of page#section-2.

This is very important issue if pages are generated by another tool and can not be manually updated.

@shakiba shakiba changed the title Url fragment is dropped in the url includes file type. Url fragment is dropped if the url includes file type. Apr 30, 2024
@shakiba
Copy link
Contributor Author

shakiba commented May 12, 2024

@jxom Do you have any idea where I should look in the code to fix this?

I use typedoc with markdown plugin for api doc, and generated links have file extension, so I need to fix this issue. Currently I run an extra command to find and remove .md in generated files, but it is not a very neat solution.

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

1 participant