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 Vitepress exist the posibility to generate dinamic routes from dynamic data, in my case im using this to generate pages with data is comming from api, and in the documentation of vitepress, say the output will be new html files with that data.
I understand that the vitepress sidebar automatically scans each file and generates the sidebar, but in my case in the sidebar only the .md file of the template is shown.
I think this is a bug or a behavior that has not yet been taken into account in this project.
Expected behavior
The normal behavior would be that it should show the dynamic routes in the sidebar.
Your environment - System OS
Ubuntu under WSL on Windows 11
Your environment - Web Browser
Brave
The text was updated successfully, but these errors were encountered:
Yes, this is a feature that is not yet implemented in our plugin. Thank you for reporting the issue!
I'll take a look at it as soon as I have some free time, but I'll keep the issue open until then as it may be delayed.
I'll update the information when the feature is implemented.
If it's ok with you and you haven't started yet and this feature won't be done soon, I could participate and make a pull request with the feature ? @jooy2
I was thinking on reading the .paths.js file to generate the links, but i found some problems on the road, first the problem to find .ts files that the compiled code will throw an error, then to make dynamic importing of the .paths.js is async and i see the all code is made to do it in sync.
Describe the bug
In Vitepress exist the posibility to generate dinamic routes from dynamic data, in my case im using this to generate pages with data is comming from api, and in the documentation of vitepress, say the output will be new html files with that data.
I understand that the vitepress sidebar automatically scans each file and generates the sidebar, but in my case in the sidebar only the .md file of the template is shown.
I think this is a bug or a behavior that has not yet been taken into account in this project.
Expected behavior
The normal behavior would be that it should show the dynamic routes in the sidebar.
Your environment - System OS
Ubuntu under WSL on Windows 11
Your environment - Web Browser
Brave
The text was updated successfully, but these errors were encountered: