Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ makedocs(;
pages = PAGES,
format = DocumenterVitepress.MarkdownVitepress(
repo = "github.com/qutip/QuantumToolbox.jl",
deploy_url = "https://qutip.org/QuantumToolbox.jl",
),
draft = DRAFT,
plugins = [bib],
Expand Down
2 changes: 1 addition & 1 deletion docs/src/.vitepress/theme/VersionPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const getBaseRepository = () => {
if (typeof window === 'undefined') return ''; // Handle server-side rendering (SSR)
const { origin, pathname } = window.location;
// Check if it's a GitHub Pages (or similar) setup
if (origin.includes('github.io')) {
if ((origin.includes('qutip.org')) || (origin.includes('github.io'))) {
// Extract the first part of the path as the repository name
const pathParts = pathname.split('/').filter(Boolean);
const baseRepo = pathParts.length > 0 ? `/${pathParts[0]}/` : '/';
Expand Down