doc-builder icon indicating copy to clipboard operation
doc-builder copied to clipboard

documentation contribution, i got error running server

Open jitvimol opened this issue 1 year ago • 1 comments

after install smolagents prepare for document contribution below

pip install -e .
pipenv install git+https://github.com/huggingface/doc-builder@main
pipenv install watchdog

when i try to run these command,

doc-builder build smolagents docs/source/en/ --build_dir ~/tmp/test-build. 
doc-builder preview smolagents docs/source/en/

i got error

raise type(e)(f"There was an error when converting {file} to the MDX format.\n" + e.args[0]) from e
ValueError: There was an error when converting docs/source/en/reference/agents.md to the MDX format.
Unable to find AzureOpenAIServerModel in smolagents. Make sure the path to that object is correct.

Can you advise how to fix?

jitvimol avatar Jan 24 '25 11:01 jitvimol

I think this is an issue with doc-builder. Transferring the issue to their repo.

albertvillanova avatar Mar 19 '25 07:03 albertvillanova