Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
jhprinz committed Mar 28, 2017
1 parent c373990 commit d7799c6
Show file tree
Hide file tree
Showing 16 changed files with 75 additions and 43 deletions.
15 changes: 10 additions & 5 deletions adaptivemd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@
from brain import Brain
from event import StopEvent, Event, TasksFinished, FunctionalEvent
from condition import Condition, Now, Never
from file import File, Copy, Link, Move, Remove, Transfer, Directory, AddPathAction, Location, \
JSONFile
from bundle import Bundle, SortedBundle, ViewBundle
from file import File, Copy, Link, Move, Remove, \
Transfer, Directory, AddPathAction, Location, \
JSONFile, Action, FileTransaction, FileAction, Touch, \
MakeDir
from bundle import Bundle, SortedBundle, ViewBundle, AndBundle, \
BaseBundle, BundleDelegator, FunctionDelegator, LogicBundle, \
OrBundle, StoredBundle
from resource import AllegroCluster, LocalResource
from task import Task, PythonTask, DummyTask
from project import Project
Expand All @@ -40,8 +44,9 @@
from generator import TaskGenerator
from worker import WorkerScheduler, Worker
from logentry import LogEntry
from reducer import ActionParser, BashParser, ChainedParser, DictFilterParser, \
PrefixParser, StageParser, StrFilterParser, StageInParser
from reducer import ActionParser, BashParser, ChainedParser, \
DictFilterParser, PrefixParser, StageParser, StrFilterParser, \
StageInParser

from engine import Engine, Trajectory, Frame, \
TrajectoryGenerationTask, TrajectoryExtensionTask
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS = -j8
SPHINXBUILD = sphinx-build
SPHINXPROJ = AdaptiveMD
SOURCEDIR = .
Expand Down
4 changes: 2 additions & 2 deletions docs/action.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _action:

.. currentmodule:: adaptivemd.file
.. currentmodule:: adaptivemd

Engine Functions
Action Functions
================

.. autosummary::
Expand Down
23 changes: 7 additions & 16 deletions docs/bundle.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
.. _bundle:

.. currentmodule:: adaptivemd.bundle
.. currentmodule:: adaptivemd

Bundle Functions
================
Bundles
-------

.. autosummary::
:toctree: api/generated/

BaseBundle
Bundle
StoredBundle
ViewBundle
SortedBundle
LogicBundle
AndBundle
OrBundle
BundleDelegator
FunctionDelegator
.. automodule:: adaptivemd.bundle
:members:
:undoc-members:
:show-inheritance:
11 changes: 11 additions & 0 deletions docs/condition.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _condition:

.. currentmodule:: adaptivemd

Conditions
----------

.. automodule:: adaptivemd.condition
:members:
:undoc-members:
:show-inheritance:
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.autosummary',
'sphinxcontrib.issuetracker']
'sphinx.ext.autosummary'
# ,'sphinxcontrib.issuetracker'
]


issuetracker = 'github'
Expand Down Expand Up @@ -195,7 +196,7 @@
autosummary_generate = True
autodoc_default_flags = ['members', 'inherited-members']

numpydoc_class_members_toctree = False
numpydoc_class_members_toctree = True


# spell checking
Expand All @@ -207,10 +208,11 @@
# Napoleon settings
napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = False
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_notes = True
napoleon_use_admonition_for_references = False
napoleon_use_ivar = True
napoleon_use_param = True
Expand Down
6 changes: 3 additions & 3 deletions docs/engine.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _engine:

.. currentmodule:: adaptivemd.engine
.. currentmodule:: adaptivemd

Engine Functions
================

.. autosummary::
:toctree: api/generated/

~Engine
~openmm.OpenMMEngine
Engine
OpenMMEngine
11 changes: 11 additions & 0 deletions docs/event.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _event:

.. currentmodule:: adaptivemd

Events
------

.. automodule:: adaptivemd.event
:members:
:undoc-members:
:show-inheritance:
10 changes: 6 additions & 4 deletions docs/file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ File Functions
.. autosummary::
:toctree: api/generated/

~file.Location
~file.File
~engine.Trajectory
~engine.Frame
Location
File
Trajectory
Frame
JSONFile
~mongodb.DataDict
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Documentation
=============

.. toctree::
:maxdepth: 2
:maxdepth: 1

install
examples
Expand All @@ -23,6 +23,7 @@ Documentation
scheduler
worker
adaptivemd
logentry
subpackages
api/index

Expand Down
11 changes: 11 additions & 0 deletions docs/logentry.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _logentry:

.. currentmodule:: adaptivemd

LogEntry Functions
==================

.. autosummary::
:toctree: api/generated/

LogEntry
3 changes: 1 addition & 2 deletions docs/project.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.. _project:

.. currentmodule:: adaptivemd.project
.. currentmodule:: adaptivemd

Project Functions
=================


.. autosummary::
:toctree: api/generated/

Expand Down
2 changes: 1 addition & 1 deletion docs/resource.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _resource:

.. currentmodule:: adaptivemd.resource
.. currentmodule:: adaptivemd

Resource Functions
==================
Expand Down
2 changes: 1 addition & 1 deletion docs/scheduler.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _scheduler:

.. currentmodule:: adaptivemd.worker
.. currentmodule:: adaptivemd

Scheduler Functions
===================
Expand Down
3 changes: 1 addition & 2 deletions docs/task.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.. _task:

.. currentmodule:: adaptivemd.task
.. currentmodule:: adaptivemd

Task Functions
==============


.. autosummary::
:toctree: api/generated/

Expand Down
2 changes: 1 addition & 1 deletion docs/worker.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _worker:

.. currentmodule:: adaptivemd.worker
.. currentmodule:: adaptivemd

Worker Functions
================
Expand Down

0 comments on commit d7799c6

Please sign in to comment.