forked from appliedsec/pygeoip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First draft of the Sphinx index page
- Loading branch information
Showing
14 changed files
with
551 additions
and
319 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 320ed978aa5f2fa4fcd3fc33184d60b3 | ||
config: ed5d125bb7e508173539a06d67c0fa60 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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,22 +1,20 @@ | ||
.. pygeoip documentation master file, created by | ||
sphinx-quickstart on Thu Nov 14 10:52:22 2013. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
==================================================== | ||
Pure Python API for Maxmind's binary GeoIP databases | ||
==================================================== | ||
|
||
Welcome to pygeoip's documentation! | ||
=================================== | ||
.. currentmodule:: pygeoip | ||
|
||
Contents: | ||
Work in progress! | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:class:`GeoIP` methods | ||
---------------------- | ||
|
||
.. automethod:: GeoIP.__init__ | ||
|
||
Country lookup | ||
'''''''''''''' | ||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
.. automethod:: GeoIP.country_code_by_addr | ||
.. automethod:: GeoIP.country_code_by_name | ||
|
||
.. toctree |
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,256 @@ | ||
/* | ||
* default.css_t | ||
* ~~~~~~~~~~~~~ | ||
* | ||
* Sphinx stylesheet -- default theme. | ||
* | ||
* :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. | ||
* :license: BSD, see LICENSE for details. | ||
* | ||
*/ | ||
|
||
@import url("basic.css"); | ||
|
||
/* -- page layout ----------------------------------------------------------- */ | ||
|
||
body { | ||
font-family: sans-serif; | ||
font-size: 100%; | ||
background-color: #11303d; | ||
color: #000; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
div.document { | ||
background-color: #1c4e63; | ||
} | ||
|
||
div.documentwrapper { | ||
float: left; | ||
width: 100%; | ||
} | ||
|
||
div.bodywrapper { | ||
margin: 0 0 0 230px; | ||
} | ||
|
||
div.body { | ||
background-color: #ffffff; | ||
color: #000000; | ||
padding: 0 20px 30px 20px; | ||
} | ||
|
||
div.footer { | ||
color: #ffffff; | ||
width: 100%; | ||
padding: 9px 0 9px 0; | ||
text-align: center; | ||
font-size: 75%; | ||
} | ||
|
||
div.footer a { | ||
color: #ffffff; | ||
text-decoration: underline; | ||
} | ||
|
||
div.related { | ||
background-color: #133f52; | ||
line-height: 30px; | ||
color: #ffffff; | ||
} | ||
|
||
div.related a { | ||
color: #ffffff; | ||
} | ||
|
||
div.sphinxsidebar { | ||
} | ||
|
||
div.sphinxsidebar h3 { | ||
font-family: 'Trebuchet MS', sans-serif; | ||
color: #ffffff; | ||
font-size: 1.4em; | ||
font-weight: normal; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
div.sphinxsidebar h3 a { | ||
color: #ffffff; | ||
} | ||
|
||
div.sphinxsidebar h4 { | ||
font-family: 'Trebuchet MS', sans-serif; | ||
color: #ffffff; | ||
font-size: 1.3em; | ||
font-weight: normal; | ||
margin: 5px 0 0 0; | ||
padding: 0; | ||
} | ||
|
||
div.sphinxsidebar p { | ||
color: #ffffff; | ||
} | ||
|
||
div.sphinxsidebar p.topless { | ||
margin: 5px 10px 10px 10px; | ||
} | ||
|
||
div.sphinxsidebar ul { | ||
margin: 10px; | ||
padding: 0; | ||
color: #ffffff; | ||
} | ||
|
||
div.sphinxsidebar a { | ||
color: #98dbcc; | ||
} | ||
|
||
div.sphinxsidebar input { | ||
border: 1px solid #98dbcc; | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
} | ||
|
||
|
||
|
||
/* -- hyperlink styles ------------------------------------------------------ */ | ||
|
||
a { | ||
color: #355f7c; | ||
text-decoration: none; | ||
} | ||
|
||
a:visited { | ||
color: #355f7c; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
|
||
|
||
/* -- body styles ----------------------------------------------------------- */ | ||
|
||
div.body h1, | ||
div.body h2, | ||
div.body h3, | ||
div.body h4, | ||
div.body h5, | ||
div.body h6 { | ||
font-family: 'Trebuchet MS', sans-serif; | ||
background-color: #f2f2f2; | ||
font-weight: normal; | ||
color: #20435c; | ||
border-bottom: 1px solid #ccc; | ||
margin: 20px -20px 10px -20px; | ||
padding: 3px 0 3px 10px; | ||
} | ||
|
||
div.body h1 { margin-top: 0; font-size: 200%; } | ||
div.body h2 { font-size: 160%; } | ||
div.body h3 { font-size: 140%; } | ||
div.body h4 { font-size: 120%; } | ||
div.body h5 { font-size: 110%; } | ||
div.body h6 { font-size: 100%; } | ||
|
||
a.headerlink { | ||
color: #c60f0f; | ||
font-size: 0.8em; | ||
padding: 0 4px 0 4px; | ||
text-decoration: none; | ||
} | ||
|
||
a.headerlink:hover { | ||
background-color: #c60f0f; | ||
color: white; | ||
} | ||
|
||
div.body p, div.body dd, div.body li { | ||
text-align: justify; | ||
line-height: 130%; | ||
} | ||
|
||
div.admonition p.admonition-title + p { | ||
display: inline; | ||
} | ||
|
||
div.admonition p { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.admonition pre { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.admonition ul, div.admonition ol { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.note { | ||
background-color: #eee; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
div.seealso { | ||
background-color: #ffc; | ||
border: 1px solid #ff6; | ||
} | ||
|
||
div.topic { | ||
background-color: #eee; | ||
} | ||
|
||
div.warning { | ||
background-color: #ffe4e4; | ||
border: 1px solid #f66; | ||
} | ||
|
||
p.admonition-title { | ||
display: inline; | ||
} | ||
|
||
p.admonition-title:after { | ||
content: ":"; | ||
} | ||
|
||
pre { | ||
padding: 5px; | ||
background-color: #eeffcc; | ||
color: #333333; | ||
line-height: 120%; | ||
border: 1px solid #ac9; | ||
border-left: none; | ||
border-right: none; | ||
} | ||
|
||
tt { | ||
background-color: #ecf0f3; | ||
padding: 0 1px 0 1px; | ||
font-size: 0.95em; | ||
} | ||
|
||
th { | ||
background-color: #ede; | ||
} | ||
|
||
.warning tt { | ||
background: #efc2c2; | ||
} | ||
|
||
.note tt { | ||
background: #d6d6d6; | ||
} | ||
|
||
.viewcode-back { | ||
font-family: sans-serif; | ||
} | ||
|
||
div.viewcode-block:target { | ||
background-color: #f4debf; | ||
border-top: 1px solid #ac9; | ||
border-bottom: 1px solid #ac9; | ||
} |
Oops, something went wrong.