Skip to content

Commit b215bd9

Browse files
committed
Update storybook.yml
1 parent 8581d7f commit b215bd9

File tree

1 file changed

+0
-82
lines changed

1 file changed

+0
-82
lines changed

.github/workflows/storybook.yml

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -37,88 +37,6 @@ jobs:
3737
- name: Generate TypeDoc documentation
3838
run: npm run docs
3939

40-
# Step 3: Create an HTML index file for the Markdown documentation
41-
- name: Create HTML index for Markdown docs
42-
run: |
43-
cat > storybook-static/api/index.html << 'EOL'
44-
<!DOCTYPE html>
45-
<html lang="en">
46-
<head>
47-
<meta charset="UTF-8">
48-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
49-
<title>TanStack Table Adapter API</title>
50-
<style>
51-
body {
52-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
53-
line-height: 1.6;
54-
color: #333;
55-
max-width: 900px;
56-
margin: 0 auto;
57-
padding: 20px;
58-
}
59-
h1 {
60-
border-bottom: 1px solid #eaecef;
61-
padding-bottom: 0.3em;
62-
}
63-
a {
64-
color: #0366d6;
65-
text-decoration: none;
66-
}
67-
a:hover {
68-
text-decoration: underline;
69-
}
70-
.back-link {
71-
margin-bottom: 20px;
72-
display: inline-block;
73-
}
74-
.content {
75-
background-color: #f6f8fa;
76-
border: 1px solid #ddd;
77-
border-radius: 3px;
78-
padding: 20px;
79-
}
80-
</style>
81-
</head>
82-
<body>
83-
<a href="../" class="back-link">← Back to Storybook</a>
84-
<h1>TanStack Table Adapter API Documentation</h1>
85-
<div class="content">
86-
<p>This is the API documentation for the TanStack Table Adapter library.</p>
87-
<p>Please navigate to the <a href="./README.md">README</a> or <a href="./modules.md">Modules</a> to start exploring the API.</p>
88-
<h2>Main Documentation Files</h2>
89-
<ul>
90-
<li><a href="./README.md">README</a> - Overview of the library</li>
91-
<li><a href="./modules.md">Modules</a> - List of all modules</li>
92-
</ul>
93-
</div>
94-
</body>
95-
</html>
96-
EOL
97-
98-
# Step 4: Create a simple navigation page
99-
- name: Create navigation page
100-
run: |
101-
echo '<!DOCTYPE html>
102-
<html>
103-
<head>
104-
<meta charset="UTF-8">
105-
<title>Project Documentation</title>
106-
<style>
107-
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 800px; margin: 0 auto; padding: 2rem; }
108-
h1 { border-bottom: 1px solid #eaecef; }
109-
.nav-links { display: flex; gap: 2rem; margin: 2rem 0; }
110-
.nav-link { display: inline-block; padding: 0.5rem 1rem; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; }
111-
</style>
112-
</head>
113-
<body>
114-
<h1>Project Documentation</h1>
115-
<div class="nav-links">
116-
<a class="nav-link" href="./index.html">Component Library</a>
117-
<a class="nav-link" href="./api/index.html">API Documentation</a>
118-
</div>
119-
</body>
120-
</html>' > storybook-static/docs-home.html
121-
12240
# Add debugging step to see what files were generated
12341
- name: Check TypeDoc output
12442
run: |

0 commit comments

Comments
 (0)