Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomplex committed Aug 5, 2020
1 parent 6df7f37 commit 4aefccc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 14 deletions.
9 changes: 6 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
sys.path.insert(0, os.path.abspath('..'))


# -- Project information -----------------------------------------------------
Expand All @@ -28,6 +28,9 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
# 'matplotlib.sphinxext.plot_directive',
'sphinx.ext.autodoc',
# 'sphinx.ext.mathjax',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
17 changes: 6 additions & 11 deletions docs/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Meridian User Manual
=======================


.. _intro:

Introduction
============

Expand Down Expand Up @@ -54,9 +52,9 @@ once data exploration is concluded.
Core Models
============

Meridian implements two main data types which users will leverage: the `Record` and the `Dataset`. Naturally, a `Record`
represents an individual row or record in your dataset, while a `Dataset` is a collection of `Record`s with a spatial
index for efficient queries.
Meridian implements two main data types which users will leverage: the `Record` and the `Dataset`. Naturally,
a `Record` represents an individual row or record in your dataset, while a `Dataset` is a collection of `Record`
with a spatial index for efficient queries.

Record
^^^^^^^
Expand Down Expand Up @@ -128,10 +126,7 @@ to our data:
return self.total_mw / self.install_mw * 100
.. _design
.. _design:

Design Goals
=============
Expand All @@ -147,10 +142,10 @@ Meridian's `Record` models draw strong inspiration from `pydantic`'s `BaseModel`
part of that wheel for the purpose of efficiency and narrowing of focus.


.. _benchmarks
.. _benchmarks:

Benchmarks
===========

A dataset opened with Meridian can use up to half as much memory as the same dataset in GeoPandas,
depending on the characteristics of the geometry.
depending on the characteristics of the geometry. Oh yeah? Prove it!
27 changes: 27 additions & 0 deletions docs/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.. modules:
=======================
API Documentation
=======================


Dataset
=======================

.. automodule:: meridian.dataset
:members:
:show-inheritance:

Record
=======================

.. automodule:: meridian.record
:members:
:show-inheritance:

Product
=======================

.. automodule:: meridian.product
:members:
:show-inheritance:

0 comments on commit 4aefccc

Please sign in to comment.