Closed
Description
Describe the bug
Clicking "Take me home" on the 404 page takes me to the home page (/
), but the page is empty until I refresh. There are no errors in the console or network requests.
Reproduction
I wasn't able to reproduce this on vitepress.new or in development mode, but it does reproduce with pnpm docs:build && pnpm docs:serve
and the following configs:
docs/.vitepress/config.js
:
export default {
title: 'OrbStack Docs',
titleTemplate: ':title · OrbStack Docs',
description: 'Say goodbye to slow, clunky containers and VMs.',
themeConfig: {
logo: '/img/logo64.png',
socialLinks: [
{ icon: 'twitter', link: 'https://twitter.com/orbstack' },
{ icon: 'github', link: 'https://github.com/orbstack' },
{ icon: 'discord', link: 'https://discord.gg/Tfjyd5N5Eq' },
],
footer: {
copyright: '© 2023 Orbital Labs, LLC',
},
nav: [
{ text: 'Overview', link: '/' },
{ text: 'Docker', link: '/docker/' },
{ text: 'Linux', link: '/machines/' },
{ text: 'Install', link: '/quick-start' },
{ text: 'Demo', link: 'https://orbstack.dev/' },
],
sidebar: [
{
text: 'Get started',
collapsed: false,
items: [
{ text: 'Home', link: '/' },
{ text: 'Features', link: '/features' },
{ text: 'Quick start', link: '/quick-start'},
{ text: 'Frequently asked questions', link: '/faq' },
{ text: "What's new", link: '/release-notes' },
],
},
{
text: 'Learn more',
collapsed: false,
items: [
{ text: 'Install', link: '/install'},
{ text: 'Efficiency', link: '/efficiency' },
{ text: 'Benchmarks', link: '/benchmarks' },
{ text: 'Architecture', link: '/architecture' },
{ text: 'Settings', link: '/settings' },
{ text: 'Headless & CI', link: '/headless' },
{ text: 'Older versions', link: '/downgrade' },
],
},
{
text: 'Docker containers',
collapsed: false,
items: [
{ text: 'Using Docker containers', link: '/docker/' },
{ text: 'Network', link: '/docker/network' },
{ text: 'Volumes & mounts', link: '/docker/file-sharing' },
{ text: 'Domain names', link: '/docker/domains' },
],
},
{
text: 'Kubernetes',
collapsed: false,
items: [
{ text: 'Using Kubernetes', link: '/kubernetes/' },
]
},
{
text: 'Linux machines',
collapsed: false,
items: [
{ text: 'Using Linux machines', link: '/machines/'},
{ text: 'Commands', link: '/machines/commands' },
{ text: 'Network', link: '/machines/network' },
{ text: 'File sharing', link: '/machines/file-sharing' },
{ text: 'SSH', link: '/machines/ssh' },
{ text: 'Distributions', link: '/machines/distros' },
],
},
{
text: 'Compare',
collapsed: false,
items: [
{ 'text': 'Docker Desktop', link: '/compare/docker-desktop' },
{ 'text': 'Colima', link: '/compare/colima' },
{ 'text': 'UTM', link: '/compare/utm' },
],
}
],
algolia: {
appId: 'xxx',
apiKey: 'xxx',
indexName: 'orbstack'
},
},
cleanUrls: true,
head: [
['script', { async: '', defer: '', src: 'https://orbstack.dev/js/xxx.js' }],
['link', { rel: 'icon', sizes: '64x64', href: '/img/logo64.png' }],
['link', { rel: 'shortcut icon', href: '/img/logo128.png' }],
['link', { rel: 'apple-touch-icon', href: '/img/logo128.png' }],
]
}
index.md:
# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.
# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?
[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.
Keep reading to learn more, or [get started](quick-start.md) right away.
The issue doesn't occur with a short index.md, so I had to copy and paste the text to reproduce it.
Expected behavior
Home page appears.
System Info
System:
OS: macOS 13.5.1
CPU: (10) arm64 Apple M1 Max
Memory: 1.25 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.5.1 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.8.0 - /opt/homebrew/bin/npm
pnpm: 8.6.6 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 116.0.5845.140
Safari: 16.6
npmPackages:
vitepress: 1.0.0-rc.10 => 1.0.0-rc.10
Additional context
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels