Skip to content

huggingface/hf-endpoints-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugging Face Inference Endpoints documentation

Setup

pip install hf-doc-builder==0.4.0 watchdog --upgrade

Local Development

doc-builder preview endpoints docs/source/ --not_python_module

Build Docs

doc-builder build endpoints docs/source/ --build_dir build/ --not_python_module

Add assets/Images

Adding images/assets is only possible through https:// links meaning you need to use https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/ prefix.

example

<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/0_login.png" alt="Login" />

Generate API Reference

  1. Copy openapi spec from https://api.endpoints.huggingface.cloud/api-doc/openapi.json
  2. create markdown widdershins --environment env.json openapi.json -o myOutput.md
  3. copy into api_reference.mdx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published