jshint / jshint.github.io

The homepage for JSHint
http://jshint.com
20 stars 19 forks source link

Publish documentation for old versions #29

Open jugglinmike opened 8 years ago

jugglinmike commented 8 years ago

Currently the docs reflect the latest release of JSHint. It would be great if the website could also expose information on prior releases because this recently-suggested approach (though value) is far from ideal:

You can browse to the version of which you are looking for documentation (v2.8.0) and read the comments in src/options.js

Because we are generating documentation from the source code, the ideal solution (as I see it) will require a fair amount of work. Pseudocode:

for each tag of the source code
  look up a version-specific source code parsing function
  apply that function to the code
  expand the documentation template with the parsed variables
update documentation pages to list all available versions
dgisser commented 8 years ago

Wasn't this fixed in 3b3fed2ff204db439aeabdf1c11535b2310fee64? Can't we close this?