Skip to content

Commit

Permalink
docs: fix redirection for 404, again
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Jun 29, 2024
1 parent 4a92d54 commit 5eeb83c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions website/docs/models/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ hide_table_of_contents: true
---

# 🧑‍🔬 Models Registry
---
sidebar_position: 4
hide_table_of_contents: true
---

# 🧑‍🔬 Models Registry

## Completion models (`--model`)

We recommend using
Expand Down
6 changes: 6 additions & 0 deletions website/docs/models/index.mdx.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
sidebar_position: 4
hide_table_of_contents: true
---

# 🧑‍🔬 Models Registry
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default {
from: '/docs/administration'
},
{
to: '/docs/getting-started',
to: '/docs/welcome',
from: '/docs',
},
{
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"prebuild": "curl https://raw.githubusercontent.com/TabbyML/registry-tabby/main/README.md | tail -n +2 >> docs/models/index.mdx",
"prebuild": "cat docs/models/index.mdx.tmpl >> docs/models/index.mdx && curl https://raw.githubusercontent.com/TabbyML/registry-tabby/main/README.md | tail -n +2 >> docs/models/index.mdx",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
Expand Down

0 comments on commit 5eeb83c

Please sign in to comment.