{ } Raw JSON

bundles / papyri 0.0.10 / papyri / tree / DirectiveVisiter / _resolve_doc_path

function

papyri.tree:DirectiveVisiter._resolve_doc_path

source: /papyri/tree.py :896

Signature

def   _resolve_doc_path ( self path : str )  →  str

Summary

Resolve a toctree entry to a doc key (':' separator).

Extended Summary

Toctree entries are paths relative to the current document's directory; a leading '/' anchors to the source root. The doc key joins directory parts with ':' (see collect_narrative_docs).

Aliases

  • papyri.tree.DirectiveVisiter._resolve_doc_path