Skip to content

Commit

Permalink
Hacking away at View, Bundle docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dotsdl committed Mar 16, 2016
1 parent 481157a commit 9d9b6ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/Bundles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ them as a single logical unit.



Filtering on Treant tags
========================


Grouping with Treant categories
===============================


Reference: Bundle
=================
Expand Down
10 changes: 9 additions & 1 deletion docs/Views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ We can build a View immediately ::
>>> v
<View([<Tree: 'moe/'>, <Tree: 'larry/'>, <Leaf: 'curly.txt'>])>

And we can
And we can get to work using it. Since Views are firstly a collection of
members, individual members can be accessed through indexing and slicing ::

>>> v[1]
<Tree: 'larry/'>

>>> v[1:]
<View([<Tree: 'larry/'>, <Leaf: 'curly.txt'>])>



Views from a Tree
Expand Down

0 comments on commit 9d9b6ef

Please sign in to comment.