This repository has been archived by the owner on Apr 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from appliedsec/sphinx-docs
Sphinx documentation for readthedocs.org Fixes #50
- Loading branch information
Showing
49 changed files
with
696 additions
and
7,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ pygeoip-* | |
cover | ||
.coverage | ||
.coveralls.yml | ||
apidocs/html/.* | ||
docs/_build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
recursive-include apidocs * | ||
recursive-include tests * | ||
include README.rst | ||
include LICENSE.md | ||
include DEVELOPER.md | ||
include CHANGELOG.md | ||
include epydoc.ini | ||
include tox.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.PHONY: docs | ||
|
||
all: test | ||
|
||
test: | ||
@echo "Downloading test databases" | ||
rm -rf maxmind-geoip-samples.tar.gz tests/data; mkdir -p tests/data | ||
curl -s https://www.defunct.cc/maxmind-geoip-samples.tar.gz | tar -zx -C tests | ||
|
||
@echo "Testing local state" | ||
@tox --version > /dev/null || (echo "Requires tox - install requirements.txt"; exit 1) | ||
tox | ||
|
||
docs: | ||
@echo "Building documentation" | ||
make -C docs clean | ||
make -C docs html | ||
|
||
clean: | ||
@echo "Cleaning doc, test and cache files" | ||
git clean -fd | ||
find . -name *.pyc -delete | ||
rm -rf pygeoip-* pygeoip.egg-info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.