diff --git a/.gitignore b/.gitignore index 1377554e..272b7a22 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.swp +_gh_pages diff --git a/README.md b/README.md new file mode 100644 index 00000000..3d9f1228 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Eiffel Web Framework + +Eiffel Web Framework is a framework to build web applications in Eiffel. + +To get started, check out [http://oligot.github.io/EWF/](http://oligot.github.io/EWF/)! + +## Documentation + +Eiffel Web Framework's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at [http://oligot.github.io/EWF/](http://oligot.github.io/EWF/). The docs may also be run locally. + +### Running documentation locally + +1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v1.x). +2. From the root `/EWF` directory, run `jekyll serve` in the command line. + - **Windows users:** run `chcp 65001` first to change the command prompt's character encoding ([code page](http://en.wikipedia.org/wiki/Windows_code_page)) to UTF-8 so Jekyll runs without errors. +3. Open [http://localhost:9000](http://localhost:9000) in your browser, and voilĂ . + +Learn more about using Jekyll by reading their [documentation](http://jekyllrb.com/docs/home/). diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..01ef4517 --- /dev/null +++ b/_config.yml @@ -0,0 +1,15 @@ +# Dependencies +markdown: rdiscount +pygments: true + +# Permalinks +permalink: pretty + +# Server +destination: ./_gh_pages +exclude: [".gitignore", "Gruntfile.js", "package.json", "node_modules", "README.md"] +port: 9000 + +# Custom vars +repo: https://github.com/EiffelWebFramework/EWF +download: https://github.com/EiffelWebFramework/EWF/archive/v0.3.1.zip diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 00000000..adc759d8 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,45 @@ + + +
+ +