Laravel 4 Documentation for Offline Use

By Faramarz Salehpour

If you are like me, you prefer to have all the manuals, references and documentation that you refer to frequently on your laptop or desktop computer and be able to access it without Internet connection. I usually collect the documentation in HTML format and put them on a local web server on my laptop, running a virtual host. This way all the documentation are just a few keystrokes away.

I was looking for a similar solution for Laravel 4 Documentation and found a few, but wasn't happy with them, so I decided to do it myself.

Laravel 4 Documentation - Static HTML Version
Laravel 4 Documentation - Static HTML Version

I wrote a tiny bash script to do some preprocessing and used Jekyll to build the HTML version of the documentation from Markdown docs available from github. Styling is copied from Laravel website and altered very slightly.

Styling of the original documentation
Styling of the original documentation

If you are intersted you can download a zipped folder containing the html files that may be opened directly by the browser or served by any simple web server. The links are relative so there should not be any problems.

If you like to serve the documentation with Jekyll then just grab (clone or fork) the whole thing from my github page and then serve it with Jekyll like so: