-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Clarification on generating dynamic pages #1270
Comments
Thanks for your interest in VuePress! For now you can only add dynamic pages via plugin api: additionalPages, a tip is that all the plugin apis can also be used at site config( Oh, another thing, the plugin api was introduced by 1.x, so make sure that you are using the correct version, of course, latest version should be better! |
Thanks! |
Can |
can i add a dynamic uri inside my additionalPages? I want to accept a value inside my additionalPages and pass it as my url. so that it is different for different users. Pls reply asap |
First of all, thank you guys for this amazing project, everything about it is beautiful and I can't wait to see it mature.
I am looking for clarification if there is built-in support for handling dynamic page generation, or if this is something that I should implement via a custom plugin.
My use case is that I am trying to generate a documentation site for a python library, where each class gets it's own page generated at build-time from the source docstrings. I could of course create these files separately, but I would really like to avoid have the same documentation duplicated in multiple places.
Is this something that would best be handled as a plugin using one of the life cycle hooks? Has the life cycle API stabilized yet?
I saw #452, but that seemed to be referring to dynamic data files, not pages, so I wasn't sure that discussion applied here.
The text was updated successfully, but these errors were encountered: