Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 23, 2024
1 parent c8aa150 commit 1d8b389
Show file tree
Hide file tree
Showing 25 changed files with 71 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/.config/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description:
H(TTP) server framework built for high performance and portability running
in any JavaScript runtime.
github: unjs/h3
themeColor: amber
url: https://h3.unjs.io
# automd: true # HMR seems unstable
redirects: {}
Expand Down
4 changes: 4 additions & 0 deletions docs/1.guide/1.index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: ph:book-open-duotone
---

# Getting Started

> Getting started with h3
Expand Down
File renamed without changes.
6 changes: 5 additions & 1 deletion docs/2.utils/0.index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Composable Utils
---
icon: ph:function-bold
---

# Utils

> Keep your severs light and fast with composables.
Expand Down
4 changes: 4 additions & 0 deletions docs/2.utils/1.request.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material-symbols-light:input
---

# Request

> Utilities to access incoming request
Expand Down
4 changes: 4 additions & 0 deletions docs/2.utils/2.reponse.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material-symbols-light:output
---

# Response

> Utilities to send response headers and data
Expand Down
4 changes: 4 additions & 0 deletions docs/2.utils/98.advanced.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: mingcute:plus-line
---

# Advanced

> More utilities
Expand Down
4 changes: 4 additions & 0 deletions docs/2.utils/99.community.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: lets-icons:external
---

# Community

> Utils from community 💛
Expand Down
6 changes: 5 additions & 1 deletion docs/3.adapters/0.index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Runtime Adapters
---
icon: codicon:run-all
---

# Adapters

> Run h3 everywhere using adapters.
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/1.node.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: akar-icons:node-fill
---

# Node.js

> Natively run h3 servers with Node.js.
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/2.web.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: twemoji:spider-web
---

# Web

> Run your h3 apps in edge runtimes with Web API compatibility.
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/3.plain.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material-symbols-light:data-object
---

# Plain

> Run h3 servers into any unknown runtime!
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/bun.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: simple-icons:bun
---

# Bun

> Run your h3 apps with Bun
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/cloudflare.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: devicon-plain:cloudflareworkers
---

# Cloudflare

> Run your h3 apps in Cloudflare Workers
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/deno.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: teenyicons:deno-solid
---

# Deno

> Run your h3 apps in Deno Deploy
Expand Down
4 changes: 4 additions & 0 deletions docs/3.adapters/netlify.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: teenyicons:netlify-outline
---

# Netlify

> Run your h3 apps in Netlify Edge
Expand Down
11 changes: 11 additions & 0 deletions docs/4.examples/0.index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
icon: ph:code
---

# Examples

> Common examples for h3.
::read-more{to="https://github.com/unjs/h3/tree/main/examples"}
Check [`examples/` dir](https://github.com/unjs/h3/tree/main/examples) for more examples.
::
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified docs/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"dev": "undocs dev"
},
"devDependencies": {
"undocs": "^0.2.13"
"undocs": "^0.2.16"
}
}

0 comments on commit 1d8b389

Please sign in to comment.