Skip to content

Commit fa1eb01

Browse files
committed
chore: small tweaks
1 parent 54ee48c commit fa1eb01

9 files changed

Lines changed: 1029 additions & 34 deletions

File tree

apps/docs/.docs/theme/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
@import "./counter.css";
2-
@import "./supademo.css";
2+
@import "./supademo.css";
3+
4+
[part=logo] img {
5+
height: 18px;
6+
}

apps/docs/docs.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,12 @@
4747
}
4848
},
4949
"seo": {
50-
"domain": "docs.xyd.dev"
50+
"domain": "xyd.dev"
5151
},
5252
"components": {
53-
"banner2": {
54-
"content": "**xyd 0.1.x** - Docs platform for future dev",
55-
"label": "Coming Soon",
56-
"icon": "sparkles",
57-
"href": "https://github.com/orgs/livesession/projects/4/views/1"
53+
"banner": {
54+
"content": "**xyd 0.1.0-alpha** - Coming Soon",
55+
"icon": "sparkles"
5856
},
5957
"footer": {
6058
"kind": "minimal",

apps/docs/docs/guides/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ componentProps:
161161
href: https://xyd.dev
162162
secondaryButton:
163163
title: View Documentation
164-
href: https://docs.xyd.dev
164+
href: https://xyd.dev
165165

166166
rightContent: |
167167
```yaml index.md

apps/docs/docs/guides/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `docs.json` file is validated against a JSON schema to ensure proper configu
5656

5757
```json
5858
{
59-
"$schema": "https://docs.xyd.dev/public/docs.json"
59+
"$schema": "https://xyd.dev/public/docs.json"
6060
}
6161
```
6262

apps/docs/docs/resources/showcase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ List of websites built with xyd
1313
:::grid{cols=3}
1414
-
1515
-
16-
::card{title="xyd" href="https://docs.xyd.dev" description="Official documentation for the xyd framework—learn, explore, and master all its features." imgSrc="/public/assets/not-monday.png" logoSrc="/public/assets/xyd-emblemat.png" logoAlt="xyd logo"}
16+
::card{title="xyd" href="https://xyd.dev" description="Official documentation for the xyd framework—learn, explore, and master all its features." imgSrc="/public/assets/not-monday.png" logoSrc="/public/assets/xyd-emblemat.png" logoAlt="xyd logo"}
1717
1818
-
1919
::card{title="LiveSession Dev" href="https://livesession.dev" description="A modern developer platform for building product analytics apps with ease." imgSrc="/public/assets/not-openai.png" logoSrc="/public/assets/livesession.jpeg" logoAlt="LiveSession Logo"}

apps/docs/public/docs.json

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@
515515
"properties": {
516516
"githubStar": {
517517
"$ref": "#/definitions/IntegrationAppGithubStar",
518-
"description": "Github star app configuration. List of all [options](https://github.com/buttons/react-github-btn)."
518+
"description": "Github star app configuration."
519519
},
520520
"supademo": {
521521
"$ref": "#/definitions/IntegrationAppSupademo",
@@ -823,10 +823,19 @@
823823
},
824824
"IntegrationABTesting": {
825825
"additionalProperties": false,
826+
"description": "A/B testing configuration",
826827
"properties": {
827-
"growthbook": {
828-
"$ref": "#/definitions/IntegrationABTestingGrowthBook",
829-
"description": "GrowthBook configuration"
828+
"contextMaxAge": {
829+
"description": "Context max age in milliseconds",
830+
"type": "number"
831+
},
832+
"contextStorageKey": {
833+
"description": "Context storage key used to store the context in the browser storage",
834+
"type": "string"
835+
},
836+
"providers": {
837+
"$ref": "#/definitions/IntegrationABTestingProviders",
838+
"description": "Providers configuration"
830839
}
831840
},
832841
"type": "object"
@@ -849,6 +858,33 @@
849858
],
850859
"type": "object"
851860
},
861+
"IntegrationABTestingLaunchDarkly": {
862+
"additionalProperties": false,
863+
"properties": {
864+
"env": {
865+
"description": "LaunchDarkly environment key",
866+
"type": "string"
867+
}
868+
},
869+
"required": [
870+
"env"
871+
],
872+
"type": "object"
873+
},
874+
"IntegrationABTestingProviders": {
875+
"additionalProperties": false,
876+
"properties": {
877+
"growthbook": {
878+
"$ref": "#/definitions/IntegrationABTestingGrowthBook",
879+
"description": "GrowthBook configuration"
880+
},
881+
"launchdarkly": {
882+
"$ref": "#/definitions/IntegrationABTestingLaunchDarkly",
883+
"description": "LaunchDarkly configuration"
884+
}
885+
},
886+
"type": "object"
887+
},
852888
"IntegrationAnalytics": {
853889
"additionalProperties": false,
854890
"description": "Analytics configuration",
@@ -1072,6 +1108,10 @@
10721108
"$ref": "#/definitions/IntegrationAnalytics",
10731109
"description": "Configurations to add third-party analytics integrations. See full list of supported analytics here."
10741110
},
1111+
"diagrams": {
1112+
"description": "Diagrams configuration",
1113+
"type": "boolean"
1114+
},
10751115
"search": {
10761116
"$ref": "#/definitions/IntegrationSearch",
10771117
"description": "Configurations to add third-party search integrations. See full list of supported search here."

packages/xyd-atlas/src/components/ApiRef/ApiRefSamples/ApiRefSamples.styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const ApiRefSamplesContainerHost = css`
66
gap: 32px;
77
flex-direction: column;
88
position: relative;
9-
top: var(--sidebar-top, 12px);
9+
top: var(--sidebar-subheader-top, 12px);
1010
1111
@media (min-width: 1280px) {
1212
position: sticky;

packages/xyd-components/src/layouts/LayoutPrimary/LayoutPrimary.styles.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ export const LayoutPrimaryHost = css`
245245
padding: 0 24px;
246246
}
247247
}
248+
&[data-layout="wide"] [part="page-scroll"] {
249+
padding-top: 15px;
250+
}
248251
249252
[part="page-container"] {
250253
max-width: var(--xyd-layout-width-medium);

0 commit comments

Comments
 (0)