llmsql-benchmark
llmsql-benchmark copied to clipboard
[Docs] Outdated and broken content on the front page and Sphinx docs
Problem
A review of the docs site (during PR #93) found outdated or wrong content:
- Front page "Documentation" box still says the docs are "under construction" and points to READMEs.
- Typos on the front page: "for evaluation Hugging Face models" → "for evaluating"; "Or with ther results from the infernece";
infernce_vllm(...);report =evaluate(. - CLI examples: the vLLM example uses
--num_fewshots, but the CLI defines--num-fewshots(llmsql/_cli/inference.py:64). The Transformers example combines--temperature 0.9withdo_sample: false. - Docs badge links to absolute
/docs, which breaks when the site is served under a sub-path (the sidebar uses./docs). docs/docs/usage.rstimportsLLMSQLEvaluator, which no longer exists (the API isevaluate()).docs/docs/index.rstsays "Install LLMSQL from source" but then showspip install llmsql, and usesmodel_args=(the parameter ismodel_kwargs).- The
basictheme's own sidebar (div.sphinxsidebar, ToC/search) renders off-screen (x = -650px) on doc pages. docs/_templates/footer.htmlis unused.docs/note.txtrecommends building into the trackeddocs/_build/html.- Sphinx warning: the
inference_vllmdocstring, line 17, has "Unexpected indentation". - News / benchmark text should mention LLMSQL 2.0 as the default and link the paper once it is published.
Proposal
Fix the items above, and add sphinx -W (warnings as errors) plus a link checker (sphinx -b linkcheck) to the docs workflow.
Hi! I'm new to open source and would like to take this on. I'll start with the typo and wrong-example fixes (front page typos, --num-fewshots, model_kwargs, LLMSQLEvaluator, and the "install from source" wording) in one PR. If that goes well, I may also try the inference_vllm docstring indentation warning in a separate PR. I'll leave the sidebar and CI changes for others. Is that okay?
@Aditi-Kadukar hi, sure, go ahead