Skip to content

Commit fa11651

Browse files
committed
Merge pull request #160 from projectmesa/update_docs_0713
Building new documentation.
2 parents fe7d223 + 31883fd commit fa11651

21 files changed

+489
-355
lines changed
81.8 KB
Binary file not shown.

docs/_build/doctrees/index.doctree

10.4 KB
Binary file not shown.

docs/_build/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 49b434d3fa2e480404b37313ea5238cc
3+
config: de2aecca909c53649a7bacdf430cb4fd
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Lines changed: 74 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,87 @@
1-
.. Mesa documentation master file, created by
2-
sphinx-quickstart on Sun Jan 4 23:34:09 2015.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
1+
Mesa: Agent-based modeling in Python 3+
2+
=========================================
53

6-
Welcome to Mesa's documentation!
7-
================================
4+
.. image:: https://api.travis-ci.org/projectmesa/mesa.svg
5+
:target: https://travis-ci.org/projectmesa/mesa
86

9-
Contents:
7+
.. image:: https://coveralls.io/repos/projectmesa/mesa/badge.svg
8+
:target: https://coveralls.io/r/projectmesa/mesa
9+
10+
`Mesa`_ is an Apache2 licensed agent-based modeling (or ABM) framework in Python.
11+
12+
It allows users to quickly create agent-based models using built-in core components (such as spatial grids and agent schedulers) or customized implementations; visualize them using a browser-based interface; and analyze their results using Python's data analysis tools. Its goal is to be the Python 3-based alternative to NetLogo, Repast, or MASON.
13+
14+
15+
.. image:: https://cloud.githubusercontent.com/assets/166734/8611697/ce61ad08-268a-11e5-880b-4776dd738e0e.png
16+
:width: 100%
17+
:scale: 100%
18+
:alt: A screenshot of the Schelling Model in Mesa
19+
20+
*Above: A Mesa implementation of the Schelling segregation model,
21+
being visualized in a browser window and analyzed in an IPython
22+
notebook.*
23+
24+
.. _`Mesa` : https://github.com/projectmesa/mesa/
25+
26+
27+
Features
28+
------------
29+
30+
* Modular components
31+
* Browser-based visualization
32+
* Built-in tools for analysis
33+
34+
Using Mesa
35+
------------
36+
37+
Getting started quickly:
38+
39+
.. code-block:: bash
40+
41+
$ pip install mesa
42+
43+
For more help on using Mesa, check out the following resources:
44+
45+
* `Intro to Mesa Tutorial`_
46+
* `Docs`_
47+
* `Email list`_
48+
* `PyPI`_
49+
50+
.. _`Intro to Mesa Tutorial` : http://mesa.readthedocs.org/en/latest/intro-tutorial.html
51+
.. _`Docs` : http://mesa.readthedocs.org/en/latest/
52+
.. _`Email list` : https://groups.google.com/d/forum/projectmesa
53+
.. _`PyPI` : https://pypi.python.org/pypi/Mesa/
54+
55+
Contributing back to Mesa
56+
----------------------------
57+
58+
If you run into an issue, please file a `ticket`_ for us to discuss. If possible, follow up with a pull request.
59+
60+
If you would like to add a feature, please reach out via `ticket`_ or the `email list`_ for discussion. A feature is most likely to be added if you build it!
61+
62+
* `Contributors guide`_
63+
* `Github`_
64+
65+
.. _`ticket` : https://github.com/projectmesa/mesa/issues
66+
.. _`email list` : https://groups.google.com/d/forum/projectmesa
67+
.. _`Contributors guide` : https://github.com/projectmesa/mesa/blob/master/CONTRIBUTING.rst
68+
.. _`Github` : https://github.com/projectmesa/mesa/
69+
70+
71+
72+
**Table of Contents**
1073

1174
.. toctree::
12-
:maxdepth: 2
75+
:maxdepth: 1
1376

77+
Mesa overview <index>
78+
intro-tutorial
1479

1580

1681
Indices and tables
1782
==================
1883

1984
* :ref:`genindex`
2085
* :ref:`modindex`
21-
* :ref:`search`
86+
.. * :ref:`search`
2287

docs/_build/html/_static/basic.css

Lines changed: 68 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -197,7 +197,10 @@ h3:hover > a.headerlink,
197197
h4:hover > a.headerlink,
198198
h5:hover > a.headerlink,
199199
h6:hover > a.headerlink,
200-
dt:hover > a.headerlink {
200+
dt:hover > a.headerlink,
201+
caption:hover > a.headerlink,
202+
p.caption:hover > a.headerlink,
203+
div.code-block-caption:hover > a.headerlink {
201204
visibility: visible;
202205
}
203206

@@ -314,6 +317,13 @@ table.docutils {
314317
border-collapse: collapse;
315318
}
316319

320+
table caption span.caption-number {
321+
font-style: italic;
322+
}
323+
324+
table caption span.caption-text {
325+
}
326+
317327
table.docutils td, table.docutils th {
318328
padding: 1px 8px 1px 5px;
319329
border-top: 0;
@@ -344,6 +354,25 @@ table.citation td {
344354
border-bottom: none;
345355
}
346356

357+
/* -- figures --------------------------------------------------------------- */
358+
359+
div.figure {
360+
margin: 0.5em;
361+
padding: 0.5em;
362+
}
363+
364+
div.figure p.caption {
365+
padding: 0.3em;
366+
}
367+
368+
div.figure p.caption span.caption-number {
369+
font-style: italic;
370+
}
371+
372+
div.figure p.caption span.caption-text {
373+
}
374+
375+
347376
/* -- other body styles ----------------------------------------------------- */
348377

349378
ol.arabic {
@@ -406,6 +435,10 @@ dl.glossary dt {
406435
font-size: 1.3em;
407436
}
408437

438+
.sig-paren {
439+
font-size: larger;
440+
}
441+
409442
.versionmodified {
410443
font-style: italic;
411444
}
@@ -471,22 +504,51 @@ table.highlighttable td {
471504
padding: 0 0.5em 0 0.5em;
472505
}
473506

474-
tt.descname {
507+
div.code-block-caption {
508+
padding: 2px 5px;
509+
font-size: small;
510+
}
511+
512+
div.code-block-caption code {
513+
background-color: transparent;
514+
}
515+
516+
div.code-block-caption + div > div.highlight > pre {
517+
margin-top: 0;
518+
}
519+
520+
div.code-block-caption span.caption-number {
521+
padding: 0.1em 0.3em;
522+
font-style: italic;
523+
}
524+
525+
div.code-block-caption span.caption-text {
526+
}
527+
528+
div.literal-block-wrapper {
529+
padding: 1em 1em 0;
530+
}
531+
532+
div.literal-block-wrapper div.highlight {
533+
margin: 0;
534+
}
535+
536+
code.descname {
475537
background-color: transparent;
476538
font-weight: bold;
477539
font-size: 1.2em;
478540
}
479541

480-
tt.descclassname {
542+
code.descclassname {
481543
background-color: transparent;
482544
}
483545

484-
tt.xref, a tt {
546+
code.xref, a code {
485547
background-color: transparent;
486548
font-weight: bold;
487549
}
488550

489-
h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
551+
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
490552
background-color: transparent;
491553
}
492554

docs/_build/html/_static/doctools.js

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -91,6 +91,30 @@ jQuery.fn.highlightText = function(text, className) {
9191
});
9292
};
9393

94+
/*
95+
* backward compatibility for jQuery.browser
96+
* This will be supported until firefox bug is fixed.
97+
*/
98+
if (!jQuery.browser) {
99+
jQuery.uaMatch = function(ua) {
100+
ua = ua.toLowerCase();
101+
102+
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
103+
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
104+
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
105+
/(msie) ([\w.]+)/.exec(ua) ||
106+
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
107+
[];
108+
109+
return {
110+
browser: match[ 1 ] || "",
111+
version: match[ 2 ] || "0"
112+
};
113+
};
114+
jQuery.browser = {};
115+
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
116+
}
117+
94118
/**
95119
* Small JavaScript module for the documentation.
96120
*/
@@ -152,9 +176,10 @@ var Documentation = {
152176

153177
/**
154178
* workaround a firefox stupidity
179+
* see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
155180
*/
156181
fixFirefoxAnchorBug : function() {
157-
if (document.location.hash && $.browser.mozilla)
182+
if (document.location.hash)
158183
window.setTimeout(function() {
159184
document.location.href += '';
160185
}, 10);
-21 Bytes
Loading

docs/_build/html/_static/down.png

-16 Bytes
Loading

docs/_build/html/_static/file.png

-34 Bytes
Loading

docs/_build/html/_static/jquery.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)