()
| 27 | |
| 28 | |
| 29 | def _wiki_root() -> Path: |
| 30 | configured = os.environ.get("PAPERFLOW_WIKI_DIR", "").strip() |
| 31 | if configured: |
| 32 | root = Path(configured).expanduser() |
| 33 | if not root.is_absolute(): |
| 34 | root = PROJECT_ROOT / root |
| 35 | return root |
| 36 | return DEFAULT_WIKI_DIR |
| 37 | |
| 38 | |
| 39 | def _json_dumps(value: Any) -> str: |
no test coverage detected