jquery / jquery.org

jQuery Foundation web site content
https://jquery.org
Other
49 stars 71 forks source link

Added grunt task to copy docs from the jquery/foundation repo. #62

Closed scottgonzalez closed 10 years ago

scottgonzalez commented 10 years ago

This is a standalone task that isn't run during deploy. There are two reasons for this:

1) Contributors won't be able to run this task since it accesses a private repo.

2) The docs that get copied become pages, which are managed via git. We wouldn't want a deployment to create local changes.

The idea is that board members would be able to run this task after a document changes and commit the results. I implemented this with a token in a config file, but we could also prompt the user for their GitHub username and password. This just seemed easier.

scottgonzalez commented 10 years ago

We'll need to figure out how to inject the metadata for the page as well. We could do this by storing the data in the grunt config, instead of using the standard src/dest hash.

scottgonzalez commented 10 years ago

Landed in f59359b3d34350c84d829448ccbd1922d08b261f.