diff --git a/website/docs/quick-start/installation/docker-compose.mdx b/website/docs/quick-start/installation/docker-compose.mdx index 523d6b1c033c..cf57d331edac 100644 --- a/website/docs/quick-start/installation/docker-compose.mdx +++ b/website/docs/quick-start/installation/docker-compose.mdx @@ -37,7 +37,7 @@ services: ``` - + {false && ```yaml title="docker-compose.yml" version: '3.5' @@ -54,6 +54,6 @@ services: - 8080:8080 ``` - + } diff --git a/website/docs/quick-start/installation/docker.mdx b/website/docs/quick-start/installation/docker.mdx index 2308b51675ab..6492ab21c642 100644 --- a/website/docs/quick-start/installation/docker.mdx +++ b/website/docs/quick-start/installation/docker.mdx @@ -23,7 +23,8 @@ import TabItem from '@theme/TabItem'; ``` - + + {false && ```bash title="run.sh" docker run --entrypoint /opt/tabby/bin/tabby-cpu -it \ @@ -31,5 +32,5 @@ import TabItem from '@theme/TabItem'; tabbyml/tabby serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct ``` - + } diff --git a/website/docs/references/cloud-deployment/_category_.yml b/website/docs/references/cloud-deployment/_category_.yml new file mode 100644 index 000000000000..df5e3b9074f6 --- /dev/null +++ b/website/docs/references/cloud-deployment/_category_.yml @@ -0,0 +1 @@ +label: Cloud Deployment \ No newline at end of file diff --git a/website/docs/quick-start/installation/bentoml/app-running.png b/website/docs/references/cloud-deployment/bentoml/app-running.png similarity index 100% rename from website/docs/quick-start/installation/bentoml/app-running.png rename to website/docs/references/cloud-deployment/bentoml/app-running.png diff --git a/website/docs/quick-start/installation/bentoml/bentodeploy.yaml b/website/docs/references/cloud-deployment/bentoml/bentodeploy.yaml similarity index 100% rename from website/docs/quick-start/installation/bentoml/bentodeploy.yaml rename to website/docs/references/cloud-deployment/bentoml/bentodeploy.yaml diff --git a/website/docs/quick-start/installation/bentoml/bentofile.yaml b/website/docs/references/cloud-deployment/bentoml/bentofile.yaml similarity index 100% rename from website/docs/quick-start/installation/bentoml/bentofile.yaml rename to website/docs/references/cloud-deployment/bentoml/bentofile.yaml diff --git a/website/docs/quick-start/installation/bentoml/index.md b/website/docs/references/cloud-deployment/bentoml/index.md similarity index 100% rename from website/docs/quick-start/installation/bentoml/index.md rename to website/docs/references/cloud-deployment/bentoml/index.md diff --git a/website/docs/quick-start/installation/bentoml/service.py b/website/docs/references/cloud-deployment/bentoml/service.py similarity index 100% rename from website/docs/quick-start/installation/bentoml/service.py rename to website/docs/references/cloud-deployment/bentoml/service.py diff --git a/website/docs/quick-start/installation/bentoml/setup-docker.sh b/website/docs/references/cloud-deployment/bentoml/setup-docker.sh similarity index 100% rename from website/docs/quick-start/installation/bentoml/setup-docker.sh rename to website/docs/references/cloud-deployment/bentoml/setup-docker.sh diff --git a/website/docs/quick-start/installation/bentoml/twitter-img.png b/website/docs/references/cloud-deployment/bentoml/twitter-img.png similarity index 100% rename from website/docs/quick-start/installation/bentoml/twitter-img.png rename to website/docs/references/cloud-deployment/bentoml/twitter-img.png diff --git a/website/docs/quick-start/installation/hugging-face/agent-config.png b/website/docs/references/cloud-deployment/hugging-face/agent-config.png similarity index 100% rename from website/docs/quick-start/installation/hugging-face/agent-config.png rename to website/docs/references/cloud-deployment/hugging-face/agent-config.png diff --git a/website/docs/quick-start/installation/hugging-face/code-completion.png b/website/docs/references/cloud-deployment/hugging-face/code-completion.png similarity index 100% rename from website/docs/quick-start/installation/hugging-face/code-completion.png rename to website/docs/references/cloud-deployment/hugging-face/code-completion.png diff --git a/website/docs/quick-start/installation/hugging-face/duplicate-space.png b/website/docs/references/cloud-deployment/hugging-face/duplicate-space.png similarity index 100% rename from website/docs/quick-start/installation/hugging-face/duplicate-space.png rename to website/docs/references/cloud-deployment/hugging-face/duplicate-space.png diff --git a/website/docs/quick-start/installation/hugging-face/index.md b/website/docs/references/cloud-deployment/hugging-face/index.md similarity index 100% rename from website/docs/quick-start/installation/hugging-face/index.md rename to website/docs/references/cloud-deployment/hugging-face/index.md diff --git a/website/docs/quick-start/installation/hugging-face/swagger-ui.png b/website/docs/references/cloud-deployment/hugging-face/swagger-ui.png similarity index 100% rename from website/docs/quick-start/installation/hugging-face/swagger-ui.png rename to website/docs/references/cloud-deployment/hugging-face/swagger-ui.png diff --git a/website/docs/quick-start/installation/hugging-face/tabby-connected.png b/website/docs/references/cloud-deployment/hugging-face/tabby-connected.png similarity index 100% rename from website/docs/quick-start/installation/hugging-face/tabby-connected.png rename to website/docs/references/cloud-deployment/hugging-face/tabby-connected.png diff --git a/website/docs/quick-start/installation/modal/app-running.png b/website/docs/references/cloud-deployment/modal/app-running.png similarity index 100% rename from website/docs/quick-start/installation/modal/app-running.png rename to website/docs/references/cloud-deployment/modal/app-running.png diff --git a/website/docs/quick-start/installation/modal/app.py b/website/docs/references/cloud-deployment/modal/app.py similarity index 100% rename from website/docs/quick-start/installation/modal/app.py rename to website/docs/references/cloud-deployment/modal/app.py diff --git a/website/docs/quick-start/installation/modal/index.md b/website/docs/references/cloud-deployment/modal/index.md similarity index 100% rename from website/docs/quick-start/installation/modal/index.md rename to website/docs/references/cloud-deployment/modal/index.md diff --git a/website/docs/quick-start/installation/skypilot/index.md b/website/docs/references/cloud-deployment/skypilot/index.md similarity index 100% rename from website/docs/quick-start/installation/skypilot/index.md rename to website/docs/references/cloud-deployment/skypilot/index.md diff --git a/website/docs/quick-start/installation/skypilot/service-ready.png b/website/docs/references/cloud-deployment/skypilot/service-ready.png similarity index 100% rename from website/docs/quick-start/installation/skypilot/service-ready.png rename to website/docs/references/cloud-deployment/skypilot/service-ready.png diff --git a/website/docs/quick-start/installation/skypilot/start-service.png b/website/docs/references/cloud-deployment/skypilot/start-service.png similarity index 100% rename from website/docs/quick-start/installation/skypilot/start-service.png rename to website/docs/references/cloud-deployment/skypilot/start-service.png diff --git a/website/docs/quick-start/installation/skypilot/tabby-ready.png b/website/docs/references/cloud-deployment/skypilot/tabby-ready.png similarity index 100% rename from website/docs/quick-start/installation/skypilot/tabby-ready.png rename to website/docs/references/cloud-deployment/skypilot/tabby-ready.png diff --git a/website/docs/quick-start/installation/skypilot/tabby.yaml b/website/docs/references/cloud-deployment/skypilot/tabby.yaml similarity index 100% rename from website/docs/quick-start/installation/skypilot/tabby.yaml rename to website/docs/references/cloud-deployment/skypilot/tabby.yaml diff --git a/website/docs/programming-languages.md b/website/docs/references/programming-languages.md similarity index 98% rename from website/docs/programming-languages.md rename to website/docs/references/programming-languages.md index 13ab50e68680..9da46be10337 100644 --- a/website/docs/programming-languages.md +++ b/website/docs/references/programming-languages.md @@ -2,7 +2,7 @@ sidebar_position: 6 --- -# 🧑‍💻 Programming Languages +# Programming Languages Most models nowadays support a large number of programming languages (thanks to [The Stack](https://huggingface.co/datasets/bigcode/the-stack), which has collected 358 programming languages). In Tabby, we need to add configuration for each language to maximize performance and completion quality. diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index a0db632b383e..432124e80892 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -239,6 +239,10 @@ export default { to: '/docs/quick-start/installation/docker', from: '/docs/quick-start/installation' }, + { + to: '/docs/references/programming-languages', + from: '/docs/programming-languages' + }, ], createRedirects(existingPath) { // Create redirection from /docs/installation/* to /docs/quick-start/installation/* @@ -247,6 +251,13 @@ export default { existingPath.replace("/docs/quick-start/installation", "/docs/installation"), ] } + + // Create redirection from /docs/quick-start/installation/* to /docs/references/cloud-deployment/* + if (existingPath.startsWith("/docs/references/cloud-deployment/")) { + return [ + existingPath.replace("/docs/references/cloud-deployment/", "/docs/quick-start/installation/"), + ] + } } }, ],