page_index() and ConfigLoader silently dropped config.yaml after the
refactor: defaults came from IndexConfig's hardcoded fields, flipping
if_add_doc_description on (an extra billed LLM call per document) and
discarding user-edited YAML including a custom default_path. Both now
resolve explicit args > YAML > IndexConfig field defaults via
IndexConfig.from_yaml, matching the CLI. The new SDK keeps its pure-code
config path.
import pageindex also lost the utils / page_index_md submodule
attributes (pageindex.utils.print_tree raised AttributeError). A module
__getattr__ now imports the shims lazily, so plain imports stay free of
deprecation warnings while first use of a legacy attribute binds the
module and warns.
Also trims non-essential comments from the BASE_URL fix.
Claude-Session: https://claude.ai/code/session_014B4HZkjdSiZXDmJtH5Jexn