Skip to content

Commit d2b1933

Browse files
authored
Fix documentation (#298)
* Fix documentation * fix typo
1 parent 3cde23b commit d2b1933

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/make.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ makedocs(;
6969
pages = PAGES,
7070
format = DocumenterVitepress.MarkdownVitepress(
7171
repo = "github.com/qutip/QuantumToolbox.jl",
72-
deploy_url = "https://qutip.org/QuantumToolbox.jl",
7372
),
7473
draft = DRAFT,
7574
plugins = [bib],

docs/src/.vitepress/theme/VersionPicker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getBaseRepository = () => {
3131
if (typeof window === 'undefined') return ''; // Handle server-side rendering (SSR)
3232
const { origin, pathname } = window.location;
3333
// Check if it's a GitHub Pages (or similar) setup
34-
if (origin.includes('github.io')) {
34+
if ((origin.includes('qutip.org')) || (origin.includes('github.io'))) {
3535
// Extract the first part of the path as the repository name
3636
const pathParts = pathname.split('/').filter(Boolean);
3737
const baseRepo = pathParts.length > 0 ? `/${pathParts[0]}/` : '/';

0 commit comments

Comments
 (0)