| Method | __init__ |
Undocumented |
| Method | create_link |
Determine best way to represent a link between two pages |
| Method | get_has_previous_has_next |
Undocumented |
| Method | get_next |
No summary |
| Method | get_previous |
No summary |
| Method | list_pages |
Generator for child pages of path @returns: yields Path objects for children of path @raises IndexNotFoundError: if path is not found in the index |
| Method | list_recent_changes |
Undocumented |
| Method | lookup_by_pagename |
Undocumented |
| Method | lookup_from_user_input |
No summary |
| Method | match_all_pages |
Like match_pages() except not limited a specific namespace |
| Method | match_pages |
No summary |
| Method | n_all_pages |
|
| Method | n_list_pages |
|
| Method | resolve_link |
No summary |
| Method | walk |
Generator function to yield all pages in the index, depth first |
| Method | walk_bottomup |
Undocumented |
| Method | _find_floating_link |
Undocumented |
| Method | _list_pages |
Undocumented |
| Method | _match_pages |
Undocumented |
| Instance Variable | _pages |
Undocumented |
Inherited from IndexView:
| Class Method | new_from_index |
Undocumented |
| Instance Variable | db |
Undocumented |
| Parameters | |
path:Optional[ | Undocumented |
| Returns | |
Generator[ | yields Path objects for children of path |
| Raises | |
IndexNotFoundError | if path is not found in the index |
| Parameters | |
name:str | the user input as string |
reference:Path | a Path in case relative links are supported as customer input |
| Returns | |
Path | a Path object for name |
| Raises | |
ValueError | when name would reduce to empty string after removing all invalid characters, or if name is a relative link while no reference page is given. |
IndexNotFoundError | when reference is not indexed |
| Parameters | |
path:Path | Undocumented |
text:str | Undocumented |
limit:int | max number of results |
| Returns | |
Generator[ | yields Path objects for children of path |
| Raises | |
IndexNotFoundError | if path is not found in the index |
| Parameters | |
source:Path | a Path for the starting point of the link |
href:HRef | a HRef object for the link |
| Returns | |
Path | a Path object for the target of the link. |
| Parameters | |
path:Optional[ | a Path object for the starting point, can be used to only iterate a sub-tree. When this is None the whole notebook is iterated over |
| Returns | |
Generator[ | an iterator that yields Path objects |
| Raises | |
IndexNotFoundError | if path does not exist in the index |