tomjoht / documentation-theme-jekyll

A Jekyll-based theme designed for documentation and help systems. See the link for detailed instructions on setting up and configuring everything.
http://idratherbewriting.com/documentation-theme-jekyll/
Other
1.17k stars 1.19k forks source link

Workflow automator #173

Open noraj opened 5 years ago

noraj commented 5 years ago

You should use a workflow automator like gulp.

So you could install all css / js dependencies like jquery, boostrap, font-awesome via npm and then use gulp to copy the dependencies to the local project.

Here is an example on one of my project: https://github.com/noraj/rawsec-cybersecurity-inventory/blob/master/gulpfile.js

So managing dependencies is easy as:

npm i
gulp

So you can update local dependencies easily just by changing the version in package.json and get rid of online CDN ensuring offline view. (see related #172).