Skip to content

Commit 2af9dea

Browse files
✨ Create workdlow file for doc generation
1 parent 603b49a commit 2af9dea

File tree

1 file changed

+16
-60
lines changed

1 file changed

+16
-60
lines changed

.github/workflows/docs.yml

Lines changed: 16 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -239,77 +239,35 @@ except:
239239
240240
- name: Create index page
241241
run: |
242-
cat > _site/index.html << 'HTMLEOF'
242+
cat > _site/index.html << 'EOF'
243243
<!DOCTYPE html>
244244
<html lang="en">
245245
<head>
246246
<meta charset="utf-8">
247247
<meta name="viewport" content="width=device-width, initial-scale=1">
248248
<title>EKS Helm Client Documentation</title>
249249
<style>
250-
body {
251-
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
252-
max-width: 1200px;
253-
margin: 0 auto;
254-
padding: 20px;
255-
line-height: 1.6;
256-
}
257-
.header {
258-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
259-
color: white;
260-
padding: 30px;
261-
border-radius: 10px;
262-
margin-bottom: 30px;
263-
text-align: center;
264-
}
265-
.nav {
266-
background: #f8f9fa;
267-
padding: 15px;
268-
border-radius: 8px;
269-
margin-bottom: 30px;
270-
text-align: center;
271-
}
272-
.nav a {
273-
margin: 0 15px;
274-
text-decoration: none;
275-
color: #0366d6;
276-
font-weight: 500;
277-
}
278-
.grid {
279-
display: grid;
280-
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
281-
gap: 20px;
282-
margin: 30px 0;
283-
}
284-
.card {
285-
background: white;
286-
border: 1px solid #e1e4e8;
287-
border-radius: 8px;
288-
padding: 20px;
289-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
290-
}
291-
pre {
292-
background: #f6f8fa;
293-
padding: 15px;
294-
border-radius: 6px;
295-
overflow-x: auto;
296-
}
250+
body { font-family: sans-serif; max-width: 1200px; margin: 0 auto; padding: 20px; }
251+
.header { background: #667eea; color: white; padding: 30px; border-radius: 10px; margin-bottom: 30px; text-align: center; }
252+
.nav { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 30px; text-align: center; }
253+
.nav a { margin: 0 15px; text-decoration: none; color: #0366d6; }
254+
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }
255+
.card { background: white; border: 1px solid #e1e4e8; border-radius: 8px; padding: 20px; }
256+
pre { background: #f6f8fa; padding: 15px; border-radius: 6px; overflow-x: auto; }
297257
</style>
298258
</head>
299259
<body>
300260
<div class="header">
301-
<h1>🚀 EKS Helm Client</h1>
261+
<h1>EKS Helm Client</h1>
302262
<p>Deploy Helm charts to EKS clusters with private infrastructure support</p>
303263
</div>
304-
305264
<div class="nav">
306265
<a href="#quick-start">Quick Start</a>
307266
<a href="#examples">Examples</a>
308267
<a href="https://github.com/open-source-srilanka/eks-helm-client-github-action">GitHub</a>
309268
</div>
310-
311269
<div class="content">
312-
<h2 id="quick-start">🚀 Quick Start</h2>
270+
<h2 id="quick-start">Quick Start</h2>
313271
<pre><code>- name: Deploy to EKS
314272
uses: open-source-srilanka/eks-helm-client-github-action@v2.0.0
315273
with:
@@ -318,27 +276,25 @@ except:
318276
args: |
319277
helm repo add bitnami https://charts.bitnami.com/bitnami
320278
helm upgrade --install my-app bitnami/nginx</code></pre>
321-
322-
<h2 id="examples">📚 Examples</h2>
279+
<h2 id="examples">Examples</h2>
323280
<div class="grid">
324281
<div class="card">
325282
<h3>Basic Usage</h3>
326283
<p>Get started with public EKS clusters</p>
327-
<a href="docs/examples/basic-usage.html">View Examples</a>
284+
<a href="docs/examples/basic-usage.html">View Examples</a>
328285
</div>
329286
<div class="card">
330287
<h3>Private Clusters</h3>
331288
<p>Deploy to private EKS clusters</p>
332-
<a href="docs/examples/private-cluster.html">View Examples</a>
289+
<a href="docs/examples/private-cluster.html">View Examples</a>
333290
</div>
334291
<div class="card">
335292
<h3>Private Registries</h3>
336293
<p>Authenticate with private Helm registries</p>
337-
<a href="docs/examples/private-registry.html">View Examples</a>
294+
<a href="docs/examples/private-registry.html">View Examples</a>
338295
</div>
339296
</div>
340-
341-
<h2>📖 Documentation</h2>
297+
<h2>Documentation</h2>
342298
<ul>
343299
<li><a href="docs/MIGRATION.html">Migration Guide</a></li>
344300
<li><a href="docs/CONTRIBUTING.html">Contributing</a></li>
@@ -347,7 +303,7 @@ except:
347303
</div>
348304
</body>
349305
</html>
350-
HTMLEOF
306+
EOF
351307
352308
- name: Convert markdown files to HTML
353309
run: |

0 commit comments

Comments
 (0)