Skip to content

Commit

Permalink
feat(docs): set up docs site (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 16, 2023
1 parent b3cf0ac commit 523a2a0
Show file tree
Hide file tree
Showing 6 changed files with 263 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
convert_stable_diffusion_checkpoint_to_onnx.py
convert_stable_diffusion_checkpoint_to_onnx.py
site/
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ONNX Web API
# API

## Contents

- [ONNX Web API](#onnx-web-api)
- [API](#api)
- [Contents](#contents)
- [Endpoints](#endpoints)
- [GUI bundle](#gui-bundle)
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# onnx-web Architecture
# Architecture

## Contents

Expand Down
236 changes: 229 additions & 7 deletions docs/getting-started.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# onnx-web

For full documentation visit [mkdocs.org](https://www.mkdocs.org).

## Commands

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.

## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
12 changes: 12 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repo_url: https://github.com/ssube/onnx-web
site_name: onnx-web docs
site_url: https://onnx-web.ai/docs
exclude_docs: |
runpod-readme.md
markdown_extensions:
- mdx_truly_sane_lists
plugins:
- search:
prebuild_index: true
theme:
name: readthedocs

0 comments on commit 523a2a0

Please sign in to comment.