Skip to content

Files

Latest commit

8682b30 · Feb 11, 2025

History

History
34 lines (24 loc) · 1.54 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.54 KB

Website Discord Hugging Face

🌟 Naptha Documentation

Deploy Docs

This repository contains the source code for docs.naptha.ai, built with Docusaurus.

🔗 Visit our main website at naptha.ai to learn more about collaborative AI! ✨

API Reference Docs

Setup

From the root of the naptha-sdk repository:

  1. Install the documentation generator:
# https://pdoc3.github.io/pdoc/
pip install pdoc3 
# Generate full documentation
pdoc --html naptha_sdk

# Or, to skip any code parsing errors
pdoc --html --skip-errors naptha_sdk

This will create an html directory containing the generated documentation.

Integrate with Docs

Move the generated files to the docs repo static/api_reference folder:

N.B It is best to copy only the files with new changes to the static/api_reference folder to preserve the custom documentation formatting/setup.