graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Docs]: broken relative links in package READMEs + copy-pasted config docstrings

Open simpleqt opened this issue 3 months ago • 0 comments

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.md links ./CONTRIBUTING.md, ./DEVELOPING.md, ./breaking-changes.md and ./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 use example-notebooks/ (hyphen), but the directory is example_notebooks/ — both links 404.
  • packages/graphrag-llm/README.md: the Basic Embedding section links example_notebooks/basic_completion_example.ipynb, but the embedding notebook is basic_embedding_example.ipynb (both exist). Also links a nonexistent example_notebooks/README.md.
  • docs/index/architecture.md and docs/query/notebooks/overview.md link examples_notebooks/custom_vector_store.ipynb relative to docs/, but the notebook lives in packages/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, LocalSearchConfig and DRIFTSearchConfig docstrings 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.py Field description and docs/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.

simpleqt avatar Aug 23 '26 10:08 simpleqt