remorses / dokz

Effortless documentation with Next.js and MDX
466 stars 40 forks source link

Documentation versioning #30

Open fimbault opened 4 years ago

fimbault commented 4 years ago

It would be great to enable documentation versioning (like in docusaurus for instance).

remorses commented 4 years ago

This is not possible now, it could be done deploying old versions on different sub domains and have a select inout to redirect to the sub domain for the right version

fimbault commented 4 years ago

Using subdomains isn't probably the solution. It would be hard to maintain and potentially prone to domain takeover. https://v2.docusaurus.io/docs/versioning explains the approach they take.