Skip to content

Commit

Permalink
1.9 Docs trial multi-sidebar groups
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored Dec 1, 2024
1 parent f105519 commit aa98768
Show file tree
Hide file tree
Showing 24 changed files with 256 additions and 207 deletions.
425 changes: 238 additions & 187 deletions docs/astro.config.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"rehype-mermaid": "3.0.0",
"sharp": "0.33.5",
"starlight-links-validator": "0.13.2",
"starlight-sidebar-topics": "0.2.1",
"typescript": "5.7.2"
},
"devDependencies": {
Expand Down
11 changes: 0 additions & 11 deletions docs/src/content/docs/guide/language/components.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const linkMap = {
href: "/reference/builtins/types/#enums",
},
FocusHandling: {
href: "/guide/focus",
href: "/guide/unfinished/focus",
},
GridLayout: {
href: "/reference/layouts/gridlayout",
Expand Down
11 changes: 3 additions & 8 deletions docs/tests/smoke-test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ import { test, expect } from "@playwright/test";

test("smoke test", async ({ page }) => {
await page.goto("http://localhost:4321/master/docs/slint");
await expect(page.locator('[id="_top"]')).toContainText("Welcome");
await page
.locator("summary")
.filter({ hasText: "Reference" })
.first()
.click();
await expect(page.locator('[id="_top"]')).toContainText("Welcome to Slint");
await page.getByRole("link", { name: "Reference" }).click();
await page.locator("summary").filter({ hasText: "Elements" }).click();
await page.getByRole("link", { name: "Image" }).click();
await page.getByRole("link", { name: "colorize" }).click();
await expect(page.locator("#colorize")).toContainText("colorize");
});
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa98768

Please sign in to comment.