xantiagoma / zealusercontributions

Zeal User Contributions - Create Feed Urls in XML
https://zealusercontributions.vercel.app
83 stars 7 forks source link

Hello, how can I import a specfic version docset? #25

Open horizon86 opened 1 year ago

horizon86 commented 1 year ago

For example: https://zealusercontributions.vercel.app/api/docsets/PyTorch.xml will import PyTorch 2.0.0 docs, hoow can I import PyTroch 1.13.0 docs?

xantiagoma commented 2 months ago

Hi @horizon86 sorry for this so long to answer this, currently there's not way to specify a version on the feeds cause there're base on the public .json from the Users Contributions repository.

It seem like is possible to download from the Dash CDN the docset you're searching for if you follow this structure for specific versions

https://kapeli.com/feeds/zzz/user_contributed/build/{name}/versions/{version}/{name}.tgz

so it would be at https://kapeli.com/feeds/zzz/user_contributed/build/PyTorch/versions/1.13.0/PyTorch.tgz