Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mfarragher committed Dec 24, 2022
1 parent ea3a026 commit a854a05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion obsidiantools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from . import api
from . import md_utils
from . import html_processing
from . import _constants
from . import canvas_utils
2 changes: 1 addition & 1 deletion obsidiantools/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_relpaths_from_dir(dir_path: Path, *, extension: str) -> list[Path]:
to search.
extension (str): file extension like 'md' or 'canvas'.
Returns:more
Returns:
list of Path objects
"""
relpaths_list = [Path(p).relative_to(dir_path)
Expand Down
6 changes: 4 additions & 2 deletions obsidiantools/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(self, dirpath: Path, *,
counted rather than notes. For example, if a note has 2 backlinks
then there will be 2 wikilinks (to another note) visible when you do
analysis of the edges & nodes.
Detail on canvas files is also stored when calling this method.
By calling GATHER you store the plaintext of your vault in the notes
index attribute. You can specify rules for how the text is
Expand Down Expand Up @@ -81,6 +82,7 @@ def __init__(self, dirpath: Path, *,
get_md_links
get_tags
get_source_text
get_readable_text
Methods for analysis across multiple notes:
get_note_metadata
Expand All @@ -89,7 +91,7 @@ def __init__(self, dirpath: Path, *,
dirpath (arg)
is_connected
is_gathered
Attributes - md related:
Attributes - md-related:
file_index
graph
backlinks_index
Expand All @@ -104,7 +106,7 @@ def __init__(self, dirpath: Path, *,
isolated_notes
source_text_index
readable_text_index
Attributes - canvas related:
Attributes - canvas-related:
canvas_file_index
canvas_content_index
canvas_graph_detail_index
Expand Down

0 comments on commit a854a05

Please sign in to comment.