Skip to content

Commit

Permalink
- updates docs, adds travis-ci build + python package manifest.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorynicholas committed Jun 11, 2015
1 parent c50c316 commit 08d2d97
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 13 deletions.
Empty file added .nojekyll
Empty file.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ python:
- 2.7

install:
- pip install -r requirements.txt
- python setup.py install

script: python ./flask_xsrf_tests.py
script:
- python setup.py check clean sdist nosetests

branches:
only:
- develop
- master
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
flask-xsrf changelog
====================
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include README.md
include CHANGES.md
include LICENSE
include requirements.txt
38 changes: 27 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,54 @@
flask_xsrf
==========

a flask extension for defending against cross-site request forgery attacks
(xsrf/csrf).
[flask](http://flask.pocoo.org) extension for defending against cross-site
request forgery attacks (xsrf/csrf)


[![Build Status](https://travis-ci.org/gregorynicholas/flask-xsrf.png?branch=master)](https://travis-ci.org/gregorynicholas/flask-xsrf)
<br>
**build-status:**

`master ` [![travis-ci build-status: master](https://secure.travis-ci.org/gregorynicholas/flask-xsrf.svg?branch=master)](https://travis-ci.org/gregorynicholas/flask-xsrf)
<br>
`develop` [![travis-ci build-status: develop](https://secure.travis-ci.org/gregorynicholas/flask-xsrf.svg?branch=develop)](https://travis-ci.org/gregorynicholas/flask-xsrf)

* [docs](http://gregorynicholas.github.io/flask-xsrf)

**links:**

* [homepage](http://gregorynicholas.github.io/flask-xsrf)
* [source](http://github.com/gregorynicholas/flask-xsrf)
* [package](http://packages.python.org/flask-xsrf)
* [python-package](http://packages.python.org/flask-xsrf)
* [github-issues](https://github.com/gregorynicholas/flask-xsrf/issues)
* [changelog](https://github.com/gregorynicholas/flask-xsrf/blob/master/CHANGES.md)
* [travis-ci](http://travis-ci.org/gregorynicholas/flask-xsrf)


<br>
-----
<br>


### overview
### getting started

* [todo]

install with pip:

$ pip install flask-xsrf


<br>
-----
<br>


### features

* [todo]


<br>
-----

### install with pip

pip install flask-xsrf
<br>


### example usage
Expand Down
19 changes: 19 additions & 0 deletions build_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

cd ./docs
make html
cd ../
touch .nojekyll

git checkout gh-pages

cp -rf ./docs/_build/html/* ./

git add .nojekyll *.html searchindex.js objects.inv .buildinfo _static/ _sources/
git commit -m "updated docs html build."
git pull origin gh-pages
git push origin gh-pages

git checkout -f master

rm -rf .nojekyll ./*.html searchindex.js objects.inv _static/ _sources/
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; [wheel]
; universal = 1

0 comments on commit 08d2d97

Please sign in to comment.