From c5690a80e1958e809609c8a0e75631f8ae5be131 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Tue, 2 Apr 2024 23:54:24 -0400 Subject: [PATCH] Try fixing the hydration error --- .buildkite/pipeline.yml | 5 +++++ Project.toml | 2 +- docs/Project.toml | 3 --- docs/package.json | 4 ++-- docs/src/.vitepress/theme/index.ts | 3 +-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 7bec0d952..af46448a3 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -182,6 +182,10 @@ steps: npm i cd .. + echo $BUILDKITE + echo $BUILDKITE_PULL_REQUEST + echo $BUILDKITE_TAG + julia --project --code-coverage=user --color=yes --threads=auto --project=docs -e ' println("--- :julia: Instantiating project") using Pkg @@ -205,6 +209,7 @@ steps: env: DATADEPS_ALWAYS_ACCEPT: true JULIA_DEBUG: "Documenter" + DEBUG: true GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988 if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft timeout_in_minutes: 240 diff --git a/Project.toml b/Project.toml index 14463300a..049fc2fed 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Lux" uuid = "b2108857-7c20-44ae-9111-449ecde12c47" authors = ["Avik Pal and contributors"] -version = "0.5.31" +version = "0.5.32" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/docs/Project.toml b/docs/Project.toml index 1e5193f52..096cfc68c 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -16,6 +16,3 @@ Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" WeightInitializers = "d49dbf32-c5c2-4618-8acc-27bb2598ef2d" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" - -[compat] -DocumenterVitepress = "0.0.13" diff --git a/docs/package.json b/docs/package.json index acf8a5876..dbaf5dfb6 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,8 +1,8 @@ { "devDependencies": { - "markdown-it": "^14.0.0", + "markdown-it": "^14.1.0", "markdown-it-mathjax3": "^4.3.2", - "vitepress": "^1.0.0-rc.43", + "vitepress": "^1.0.2", "vitepress-plugin-tabs": "^0.5.0", "vitest": "^1.3.0" }, diff --git a/docs/src/.vitepress/theme/index.ts b/docs/src/.vitepress/theme/index.ts index 5ac1c9117..a0384f567 100644 --- a/docs/src/.vitepress/theme/index.ts +++ b/docs/src/.vitepress/theme/index.ts @@ -11,11 +11,10 @@ export default { extends: DefaultTheme, Layout() { return h(DefaultTheme.Layout, null, { - // 'home-hero-info-after': () => h(HomeTrustees), 'aside-ads-before': () => h(AsideTrustees), }) }, - enhanceApp({ app, router, siteData }) { + enhanceApp({ app }) { enhanceAppWithTabs(app) } } satisfies Theme \ No newline at end of file