|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
5 | 6 | <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> |
6 | 7 | <meta http-equiv="Pragma" content="no-cache"> |
7 | 8 | <meta http-equiv="Expires" content="0"> |
8 | | - <title>Documentation Versions - Copilot SDK for Java</title> |
9 | | - <style> |
10 | | - body { |
11 | | - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
12 | | - max-width: 800px; |
13 | | - margin: 50px auto; |
14 | | - padding: 20px; |
15 | | - background: #f6f8fa; |
16 | | - } |
17 | | - .container { |
18 | | - background: white; |
19 | | - padding: 40px; |
20 | | - border-radius: 8px; |
21 | | - box-shadow: 0 1px 3px rgba(0,0,0,0.1); |
22 | | - } |
23 | | - h1 { |
24 | | - color: #24292e; |
25 | | - margin-bottom: 10px; |
26 | | - } |
27 | | - .subtitle { |
28 | | - color: #586069; |
29 | | - margin-bottom: 30px; |
30 | | - } |
31 | | - .version-list { |
32 | | - list-style: none; |
33 | | - padding: 0; |
34 | | - } |
35 | | - .version-list li { |
36 | | - margin: 15px 0; |
37 | | - padding: 15px; |
38 | | - background: #f6f8fa; |
39 | | - border-radius: 6px; |
40 | | - display: flex; |
41 | | - align-items: center; |
42 | | - justify-content: space-between; |
43 | | - } |
44 | | - .version-list li:hover { |
45 | | - background: #ebeef1; |
46 | | - } |
47 | | - .version-list li.latest-version { |
48 | | - background: #d4edda; |
49 | | - border: 1px solid #28a745; |
50 | | - } |
51 | | - .version-list li.latest-version:hover { |
52 | | - background: #c3e6cb; |
53 | | - } |
54 | | - .version-list a { |
55 | | - color: #0366d6; |
56 | | - text-decoration: none; |
57 | | - font-size: 18px; |
58 | | - font-weight: 500; |
59 | | - } |
60 | | - .version-list a:hover { |
61 | | - text-decoration: underline; |
62 | | - } |
63 | | - .badge { |
64 | | - display: inline-block; |
65 | | - padding: 4px 10px; |
66 | | - border-radius: 20px; |
67 | | - font-size: 12px; |
68 | | - font-weight: 600; |
69 | | - } |
70 | | - .latest { |
71 | | - background: #28a745; |
72 | | - color: white; |
73 | | - } |
74 | | - .snapshot { |
75 | | - background: #ffc107; |
76 | | - color: #333; |
77 | | - } |
78 | | - .archived { |
79 | | - background: #6c757d; |
80 | | - color: white; |
81 | | - } |
82 | | - .warning { |
83 | | - background: #fff3cd; |
84 | | - border: 1px solid #ffc107; |
85 | | - padding: 15px; |
86 | | - border-radius: 5px; |
87 | | - margin: 20px 0; |
88 | | - color: #856404; |
89 | | - } |
90 | | - .info { |
91 | | - background: #e7f3ff; |
92 | | - border: 1px solid #0366d6; |
93 | | - padding: 15px; |
94 | | - border-radius: 5px; |
95 | | - margin: 20px 0; |
96 | | - color: #0366d6; |
97 | | - } |
98 | | - .footer { |
99 | | - margin-top: 40px; |
100 | | - padding-top: 20px; |
101 | | - border-top: 1px solid #eaecef; |
102 | | - color: #586069; |
103 | | - font-size: 14px; |
104 | | - text-align: center; |
105 | | - } |
106 | | - .footer a { |
107 | | - color: #0366d6; |
108 | | - } |
109 | | - .header { |
110 | | - text-align: center; |
111 | | - margin-bottom: 30px; |
112 | | - } |
113 | | - .header img { |
114 | | - max-width: 100%; |
115 | | - height: auto; |
116 | | - border-radius: 8px; |
117 | | - margin-bottom: 20px; |
118 | | - } |
119 | | - .github-link { |
120 | | - display: inline-flex; |
121 | | - align-items: center; |
122 | | - gap: 8px; |
123 | | - background: #24292e; |
124 | | - color: white; |
125 | | - padding: 12px 24px; |
126 | | - border-radius: 6px; |
127 | | - text-decoration: none; |
128 | | - font-weight: 600; |
129 | | - margin-top: 15px; |
130 | | - transition: background 0.2s; |
131 | | - } |
132 | | - .github-link:hover { |
133 | | - background: #1a1e22; |
134 | | - text-decoration: none; |
135 | | - } |
136 | | - .github-link svg { |
137 | | - fill: white; |
138 | | - } |
139 | | - .maven-link { |
140 | | - display: inline-flex; |
141 | | - align-items: center; |
142 | | - gap: 8px; |
143 | | - background: #6f42c1; |
144 | | - color: white; |
145 | | - padding: 12px 24px; |
146 | | - border-radius: 6px; |
147 | | - text-decoration: none; |
148 | | - font-weight: 600; |
149 | | - margin-top: 15px; |
150 | | - transition: background 0.2s; |
151 | | - } |
152 | | - .maven-link:hover { |
153 | | - background: #5a32a3; |
154 | | - text-decoration: none; |
155 | | - } |
156 | | - .maven-link svg { |
157 | | - fill: white; |
158 | | - } |
159 | | - .header-buttons { |
160 | | - display: flex; |
161 | | - gap: 12px; |
162 | | - justify-content: center; |
163 | | - flex-wrap: wrap; |
164 | | - } |
165 | | - .legend { |
166 | | - display: flex; |
167 | | - flex-wrap: wrap; |
168 | | - gap: 20px; |
169 | | - justify-content: center; |
170 | | - margin-top: 20px; |
171 | | - padding: 15px; |
172 | | - background: #f6f8fa; |
173 | | - border-radius: 6px; |
174 | | - } |
175 | | - .legend-item { |
176 | | - display: flex; |
177 | | - align-items: center; |
178 | | - gap: 8px; |
179 | | - font-size: 14px; |
180 | | - color: #586069; |
181 | | - } |
182 | | - .legend-color { |
183 | | - width: 16px; |
184 | | - height: 16px; |
185 | | - border-radius: 4px; |
186 | | - } |
187 | | - .legend-color.latest { |
188 | | - background: #d4edda; |
189 | | - border: 1px solid #28a745; |
190 | | - } |
191 | | - .legend-color.snapshot { |
192 | | - background: #ffc107; |
193 | | - } |
194 | | - .legend-color.archived { |
195 | | - background: #6c757d; |
196 | | - } |
197 | | - .collapsible { |
198 | | - margin-top: 30px; |
199 | | - } |
200 | | - .collapsible-toggle { |
201 | | - background: #f6f8fa; |
202 | | - border: 1px solid #e1e4e8; |
203 | | - border-radius: 6px; |
204 | | - padding: 12px 20px; |
205 | | - cursor: pointer; |
206 | | - display: flex; |
207 | | - align-items: center; |
208 | | - justify-content: space-between; |
209 | | - width: 100%; |
210 | | - font-size: 16px; |
211 | | - font-weight: 500; |
212 | | - color: #24292e; |
213 | | - transition: background 0.2s; |
214 | | - } |
215 | | - .collapsible-toggle:hover { |
216 | | - background: #ebeef1; |
217 | | - } |
218 | | - .collapsible-toggle::after { |
219 | | - content: '▶'; |
220 | | - font-size: 12px; |
221 | | - transition: transform 0.2s; |
222 | | - } |
223 | | - .collapsible-toggle.open::after { |
224 | | - transform: rotate(90deg); |
225 | | - } |
226 | | - .collapsible-content { |
227 | | - display: none; |
228 | | - padding-top: 10px; |
229 | | - } |
230 | | - .collapsible-content.open { |
231 | | - display: block; |
232 | | - } |
233 | | - </style> |
| 9 | + <title>Copilot SDK for Java — Documentation</title> |
| 10 | + <link rel="stylesheet" href="styles.css"> |
234 | 11 | </head> |
235 | 12 | <body> |
236 | | - <div class="container"> |
237 | | - <div class="header"> |
238 | | - <h1>Copilot SDK for Java</h1> |
| 13 | + |
| 14 | + <!-- Hero --> |
| 15 | + <header class="hero"> |
| 16 | + <div class="hero-bg"></div> |
| 17 | + <div class="hero-content"> |
| 18 | + <h1>Copilot SDK for <span class="gradient-text">Java</span></h1> |
| 19 | + <p class="hero-subtitle">An unofficial, community-driven SDK for building AI-powered tools with GitHub Copilot's agentic runtime.</p> |
239 | 20 | <div class="header-buttons"> |
240 | | - <a href="https://github.com/copilot-community-sdk/copilot-sdk-java" class="github-link"> |
| 21 | + <a href="https://github.com/copilot-community-sdk/copilot-sdk-java" class="btn btn-github"> |
241 | 22 | <svg height="20" width="20" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg> |
242 | 23 | View on GitHub |
243 | 24 | </a> |
244 | | - <a href="https://central.sonatype.com/artifact/io.github.copilot-community-sdk/copilot-sdk" class="maven-link"> |
| 25 | + <a href="https://central.sonatype.com/artifact/io.github.copilot-community-sdk/copilot-sdk" class="btn btn-maven"> |
245 | 26 | <svg height="20" width="20" viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path></svg> |
246 | 27 | View on Maven Central |
247 | 28 | </a> |
248 | 29 | </div> |
249 | 30 | </div> |
250 | | - |
251 | | - <div class="warning"> |
| 31 | + </header> |
| 32 | + |
| 33 | + <main class="container"> |
| 34 | + |
| 35 | + <div class="alert alert-warning"> |
252 | 36 | ⚠️ <strong>Disclaimer:</strong> This is an <strong>unofficial, community-driven SDK</strong> and is <strong>not supported or endorsed by GitHub</strong>. Use at your own risk. |
253 | 37 | </div> |
254 | | - |
255 | | - <div class="info"> |
| 38 | + |
| 39 | + <div class="alert alert-info"> |
256 | 40 | 💡 <strong>Tip:</strong> We recommend using the <strong>Latest Release</strong> documentation unless you need features from an unreleased version. |
257 | 41 | </div> |
258 | | - |
259 | | - <h2>Available Versions</h2> |
260 | | - <ul class="version-list"> |
261 | | - <li><a href="./snapshot/">Development (main branch)</a><span class="badge snapshot">snapshot</span></li><li class="latest-version"><a href="./1.0.8/">Version 1.0.8</a><span class="badge latest">latest</span></li> |
262 | | - </ul> |
263 | | - |
264 | | - <div class="collapsible"> |
265 | | - <button class="collapsible-toggle" onclick="this.classList.toggle('open'); this.nextElementSibling.classList.toggle('open');"> |
266 | | - Older Releases |
267 | | - </button> |
268 | | - <div class="collapsible-content"> |
269 | | - <ul class="version-list"> |
270 | | - <li><a href="./1.0.7/">Version 1.0.7</a></li><li><a href="./1.0.6/">Version 1.0.6</a></li><li><a href="./1.0.5/">Version 1.0.5</a></li><li><a href="./1.0.4/">Version 1.0.4</a></li><li><a href="./1.0.3/">Version 1.0.3</a></li><li><a href="./1.0.2/">Version 1.0.2</a></li><li><a href="./1.0.1/">Version 1.0.1</a></li><li><a href="./1.0.0/">Version 1.0.0</a></li> |
271 | | - </ul> |
| 42 | + |
| 43 | + <div class="section"> |
| 44 | + <h2 class="section-title">Available Versions</h2> |
| 45 | + <ul class="version-list"> |
| 46 | + <li><span class="version-name">Development (main branch)</span><span class="version-links"><a href="./snapshot/" class="doc-link">documentation ↗</a><a href="https://github.com/copilot-community-sdk/copilot-sdk-java/blob/main/CHANGELOG.md" class="release-link">changelog ↗</a><span class="badge snapshot">snapshot</span></span></li> |
| 47 | + </ul> |
| 48 | + |
| 49 | + <div class="collapsible"> |
| 50 | + <button class="collapsible-toggle" onclick="this.classList.toggle('open'); this.nextElementSibling.classList.toggle('open');"> |
| 51 | + Older Releases |
| 52 | + </button> |
| 53 | + <div class="collapsible-content"> |
| 54 | + <ul class="older-list"> |
| 55 | + |
| 56 | + </ul> |
| 57 | + </div> |
272 | 58 | </div> |
273 | | - </div> |
274 | | - |
275 | | - <div class="legend"> |
276 | | - <div class="legend-item"> |
277 | | - <div class="legend-color latest"></div> |
278 | | - <span>Latest stable release</span> |
279 | | - </div> |
280 | | - <div class="legend-item"> |
281 | | - <div class="legend-color snapshot"></div> |
282 | | - <span>Development snapshot</span> |
| 59 | + |
| 60 | + <div class="legend"> |
| 61 | + <div class="legend-item"> |
| 62 | + <div class="legend-color latest"></div> |
| 63 | + <span>Latest stable release</span> |
| 64 | + </div> |
| 65 | + <div class="legend-item"> |
| 66 | + <div class="legend-color snapshot"></div> |
| 67 | + <span>Development snapshot</span> |
| 68 | + </div> |
283 | 69 | </div> |
284 | 70 | </div> |
285 | | - |
286 | | - <div class="footer"> |
287 | | - <p> |
288 | | - <a href="https://github.com/copilot-community-sdk/copilot-sdk-java">GitHub Repository</a> · |
289 | | - <a href="https://central.sonatype.com/artifact/io.github.copilot-community-sdk/copilot-sdk">Maven Central</a> · |
| 71 | + |
| 72 | + <footer class="footer"> |
| 73 | + <div class="footer-links"> |
| 74 | + <a href="https://github.com/copilot-community-sdk/copilot-sdk-java">GitHub Repository</a> |
| 75 | + <span class="sep">·</span> |
| 76 | + <a href="https://central.sonatype.com/artifact/io.github.copilot-community-sdk/copilot-sdk">Maven Central</a> |
| 77 | + <span class="sep">·</span> |
290 | 78 | <a href="https://github.com/copilot-community-sdk/copilot-sdk-java/blob/main/LICENSE">MIT License</a> |
291 | | - </p> |
292 | | - </div> |
293 | | - </div> |
| 79 | + </div> |
| 80 | + <p class="built-with">Built with ❤️ by <a href="https://github.com/brunoborges">Bruno Borges</a> and GitHub Copilot</p> |
| 81 | + </footer> |
| 82 | + |
| 83 | + </main> |
| 84 | + |
294 | 85 | </body> |
295 | 86 | </html> |
0 commit comments