Support multiple versions of a piece of software
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.
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.
@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.
@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.
+1 thanks :)
+1
+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.
Enjoy :)
@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
@Thibaut :heart: This is awesome!
Well done buddy !
This is welcome and excellent news! Well done!