graphrag
graphrag copied to clipboard
[Docs]: broken relative links in package READMEs + copy-pasted config docstrings
While auditing the docs I found two clusters of small, verifiable issues. PRs appear limited to collaborators, so fix branches are available on my fork.
1. Broken relative links (branch: fix-package-readme-links)
packages/graphrag/README.mdlinks./CONTRIBUTING.md,./DEVELOPING.md,./breaking-changes.mdand./RAI_TRANSPARENCY.md(x7). These files only exist at the repo root, and the README sits two levels down — all of them 404. Should be../../....packages/graphrag-cache/README.md: notebook links useexample-notebooks/(hyphen), but the directory isexample_notebooks/— both links 404.packages/graphrag-llm/README.md: the Basic Embedding section linksexample_notebooks/basic_completion_example.ipynb, but the embedding notebook isbasic_embedding_example.ipynb(both exist). Also links a nonexistentexample_notebooks/README.md.docs/index/architecture.mdanddocs/query/notebooks/overview.mdlinkexamples_notebooks/custom_vector_store.ipynbrelative todocs/, but the notebook lives inpackages/graphrag-vectors/example_notebooks/custom_vector_store.ipynb.architecture.md: "includes and example" → "includes an example".
2. Copy-pasted docstrings + wording typos (branch: fix-config-docstrings-and-doc-typos)
BasicSearchConfig,GlobalSearchConfig,LocalSearchConfigandDRIFTSearchConfigdocstrings all say"The default configuration section for Cache."(copied from the cache config). They should name their own sections; these docstrings surface in generated config docs.global_search_config.pyField description anddocs/config/yaml.md:"Rating threshold in include a community report"→"to include".docs/config/models.md: duplicated word "native native".community_report_rating.py: docstring summary copied from the persona generator ("Generate an LLM persona...") and a doubled "for for".
All verified at v3.1.2 (main @ 6dad6d2). Happy to rebase or split differently if maintainers prefer.