Skip to content

Commit 8fa334c

Browse files
committed
Public landing: stop publishing design system; serve lightweight /documentation/index
1 parent 6c7360d commit 8fa334c

File tree

3 files changed

+46
-26
lines changed

3 files changed

+46
-26
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,24 @@ jobs:
2525
- name: Checkout source
2626
uses: actions/checkout@v4
2727

28-
- name: Set up Swift
29-
uses: swift-actions/setup-swift@v2
30-
with:
31-
swift-version: '6.2'
32-
33-
- name: Build DocC
28+
- name: Build site (public landing only)
3429
run: |
3530
set -euo pipefail
3631
output_root="${GITHUB_WORKSPACE}/_site"
3732
rm -rf "${output_root}"
3833
mkdir -p "${output_root}"
39-
docc convert "design-system.docc" \
40-
--output-path "${output_root}" \
41-
--transform-for-static-hosting \
42-
--hosting-base-path /
4334
44-
# Documentation index fallback (only when DocC didn't generate it).
45-
if [ -f "documentation/index/index.html" ] && [ ! -f "${output_root}/documentation/index/index.html" ]; then
46-
mkdir -p "${output_root}/documentation/index"
47-
cp "documentation/index/index.html" "${output_root}/documentation/index/index.html"
48-
fi
35+
# Public site policy:
36+
# - This site is a *public hint* about Wrkstrm.
37+
# - Do NOT publish internal design-system/provisioned/private docs here.
38+
39+
# Serve the public landing at /documentation/index/
40+
mkdir -p "${output_root}/documentation/index"
41+
cp "documentation/index/index.html" "${output_root}/documentation/index/index.html"
4942
5043
# Root landing should go to the documentation index.
5144
echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=/documentation/index/"></head></html>' > "${output_root}/index.html"
45+
5246
touch "${output_root}/.nojekyll"
5347
5448
- name: Upload Pages artifact

documentation/index/index.html

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<title>Technology</title>
7-
<meta name="description" content="Main technology root for Wrkstrm." />
6+
<title>Wrkstrm</title>
7+
<meta name="description" content="Wrkstrm: systems-first engineering and product work." />
88
<style>
99
:root { color-scheme: light; }
1010
body {
11-
font-family: "Palatino Linotype", Palatino, "Times New Roman", serif;
11+
font-family: ui-serif, "Palatino Linotype", Palatino, "Times New Roman", serif;
1212
margin: 0;
1313
background: #f8f6f1;
1414
color: #141310;
1515
}
1616
main {
17-
max-width: 780px;
17+
max-width: 820px;
1818
margin: 12vh auto;
1919
padding: 0 24px 64px;
2020
}
2121
h1 {
22-
font-size: 2.5rem;
22+
font-size: 2.6rem;
2323
letter-spacing: -0.02em;
2424
margin: 0 0 12px;
2525
}
@@ -28,6 +28,9 @@
2828
line-height: 1.6;
2929
margin: 0 0 16px;
3030
}
31+
.hint {
32+
opacity: 0.82;
33+
}
3134
a {
3235
color: #1f4acc;
3336
text-decoration: none;
@@ -36,13 +39,36 @@
3639
a:hover {
3740
border-bottom-color: #1f4acc;
3841
}
42+
.card {
43+
margin-top: 28px;
44+
padding: 18px 18px;
45+
border: 1px solid rgba(20, 19, 16, 0.12);
46+
border-radius: 12px;
47+
background: rgba(255, 255, 255, 0.55);
48+
}
49+
code {
50+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
51+
font-size: 0.95em;
52+
}
3953
</style>
4054
</head>
4155
<body>
4256
<main>
43-
<h1>Technology</h1>
44-
<p>This is the main technology root for Wrkstrm.</p>
45-
<p>Full documentation lives at <a href="/documentation/wrkstrm/">/documentation/wrkstrm/</a>.</p>
57+
<h1>Wrkstrm</h1>
58+
<p class="hint">
59+
This is a public landing page. Detailed technical documentation (including design systems) is maintained in
60+
provisioned/private spaces.
61+
</p>
62+
63+
<div class="card">
64+
<p>
65+
If you expected internal docs under <code>/documentation/…</code>, you’re in the right neighborhood — this
66+
endpoint is intentionally lightweight.
67+
</p>
68+
<p>
69+
Contact: <a href="mailto:hello@wrkstrm.com">hello@wrkstrm.com</a>
70+
</p>
71+
</div>
4672
</main>
4773
</body>
4874
</html>

documentation/index/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Technology
1+
# Wrkstrm
22

3-
This is the main technology root for Wrkstrm.
3+
This is the public landing page for Wrkstrm.
44

5-
Full documentation lives at /documentation/wrkstrm/.
5+
Detailed technical documentation (including design systems) is maintained in provisioned/private spaces.

0 commit comments

Comments
 (0)