devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Support multiple versions of a piece of software

Open akahn opened this issue 12 years ago • 32 comments

I found out about this project from the Postgres Weekly newsletter. The devdocs for postgres (http://devdocs.io/postgresql/) will be very useful to me. One thing that's lacking from the official postgres documentation, though, is the ability to choose a specific version of Postgres. In my case, I'd like to read the documentation for Postgres 9.2 since I'm not running 9.3 yet.

akahn avatar Dec 18 '13 20:12 akahn

Sorry for bugging you about this!

Is there a nice way for others (i.e. not you!!) to work on this and to submit pull requests for particular libraries? Is there a template that can be used for others to build on, such as the way you're handling python 3 vs 2 and yii 1 vs 2?

I notice that @nfm mentioned he had made an attempt to make it work; not sure if he submitted a pull request for that.

There's a BountySource open for this, if anyone really wanted this feature they should contribute code or dollars to support its development. Maybe including a link and a warning about this issue in the README or on the devdocs site might stop so many people from commenting on it and requesting it and reduce the feeling of stress/burn out.

ghost avatar Oct 27 '15 16:10 ghost

@omouse I never ended up opening a PR for this, but I've just had a super quick look now and it seems like it would be pretty straightforward, especially now that there are examples for how to do this in the repo (eg. Python 2 and 3).

I think the process would be the same as adding a whole new language - you'd submit a PR like #281 for the alternate major version of the software you wanted to add. You could probably reuse much of the existing Filter and Scraper, unless the documentation format or location changed between major versions.

nfm avatar Oct 28 '15 03:10 nfm

@omouse thanks for offering to help. As @nfm said, major versions of prominent languages/frameworks can be submitted as separate scrapers. More finer grained versioning will require changes to the scraping framework and UI. At the moment I'm still too busy to tackle this, but it is at the top of my list for when I have more free time on my hands (along with the Bootstrap doc).

PS: it's 100% OK for people to comment/+1 here. It helps me prioritize which features to work on next.

Thibaut avatar Oct 31 '15 17:10 Thibaut

+1 thanks :)

rejetto avatar Nov 13 '15 14:11 rejetto

+1

Unibozu avatar Nov 16 '15 15:11 Unibozu

+1. Although DevDocs is amazingly functional, this is the feature that is making me hold off from using DevDocs all the time. I simply can't trust that the documentation is correct and refers to the version I am working with.

lancelafontaine avatar Nov 21 '15 19:11 lancelafontaine

#SOON

Thibaut avatar Jan 18 '16 13:01 Thibaut

Enjoy :)

Thibaut avatar Jan 24 '16 22:01 Thibaut

@Thibaut deserves many :beers: beers and :cake: cake. Seriously, amazing! I'm really happy, now there's even more examples for others to work with to see how to implement multi-version for their favourite APIs :-D

ghost avatar Jan 25 '16 00:01 ghost

@Thibaut :heart: This is awesome!

nfm avatar Jan 25 '16 02:01 nfm

Well done buddy !

Kaijiro avatar Jan 25 '16 12:01 Kaijiro

This is welcome and excellent news! Well done!

ephbaum avatar Jan 25 '16 19:01 ephbaum