Commit cbc78dc
authored
chore: remove old Hugo docs generation (#856)
* chore: remove old Hugo doc publishing workflows
These workflows pushed the docs.kosli.com/ directory to docs-main and
staging-docs branches for Netlify Hugo builds. No longer needed now that
docs are generated via Mintlify in kosli-dev/docs.
Part of kosli-dev/docs#42
* chore: remove docs-gen job from release workflow, drop Hugo helm-docs output
- Remove the docs-gen job that generated CLI reference markdown and
pushed docs.kosli.com/ to the docs-main branch on every release
- Remove the docs-gen dependency from the failure-notification job
- Remove the helm-docs line that wrote to docs.kosli.com/content/helm/
The docs-repo-dispatch job is kept — it notifies kosli-dev/docs of new
CLI releases so Mintlify can regenerate.
Part of kosli-dev/docs#42
* chore: remove old docs Makefile targets and scripts
Remove targets: cli-docs, legacy-ref-docs, generate-json-metadata,
hugo, hugo-local, test_docs, check-links, and the second helm-docs
output line that wrote to docs.kosli.com/.
Delete scripts:
- bin/test_docs_cmds.sh (tested commands embedded in Hugo markdown)
- hack/generate-old-versions-docs.sh (generated legacy version docs)
Part of kosli-dev/docs#42
* chore: remove docs.kosli.com/ Hugo site directory
Remove the entire Hugo documentation site (239 tracked files): config,
layouts, content, assets, static files, and Netlify config. Documentation
is now maintained in the kosli-dev/docs Mintlify repo.
Part of kosli-dev/docs#42
* chore: remove Hugo formatter, make Mintlify the default doc format
- Delete internal/docgen/hugo.go and hugo_test.go
- Remove --mintlify flag from `kosli docs` (Mintlify is now the only format)
- Update generate_test.go and formatter_test.go to use MintlifyFormatter
- Update docs_test.go to compare against Mintlify golden files
- Delete Hugo golden test fixtures (testdata/output/docs/hugo/)
Part of kosli-dev/docs#42
* chore: clean up remaining Hugo docs references
- Remove docs.kosli.com/ patterns from .gitignore
- Delete .clear-files (preserved Hugo-generated content during deploys)
- Delete .htmltest.yml (pointed at Hugo build output)
- Update README.md and dev-guide.md docs links
- Update release-guide.md: remove old docs generation/hosting sections,
document Mintlify dispatch workflow
Closes kosli-dev/docs#42
* chore: mark docs cleanup slices as complete in TODO.md1 parent 5215a94 commit cbc78dc
261 files changed
Lines changed: 26 additions & 26897 deletions
File tree
- .github/workflows
- bin
- cmd/kosli
- testdata/output/docs/hugo
- docs.kosli.com
- archetypes
- assets
- plugins
- themes
- content
- administration
- managing_environments
- managing_users
- api_reference
- v2
- client_reference
- faq
- getting_started
- helm
- implementation_guide
- phase_1
- roles_and_responsibilities
- phase_2
- plan_organizational_structure
- naming_conventions
- sso_configuration
- integrations
- legacy_ref
- search
- template_ref
- tutorials
- understand_kosli
- layouts
- _default
- _markup
- partials
- docs
- inject
- posts
- search
- shortcodes
- static
- fonts
- ibmplex
- proximanova
- images
- diagram-elements
- home
- icons
- tutorials/iac-changes
- hack
- internal/docgen
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 247 | | |
290 | 248 | | |
291 | 249 | | |
| |||
360 | 318 | | |
361 | 319 | | |
362 | 320 | | |
363 | | - | |
364 | 321 | | |
365 | 322 | | |
366 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | | - | |
26 | | - | |
27 | 20 | | |
28 | 21 | | |
29 | 22 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
| |||
172 | 169 | | |
173 | 170 | | |
174 | 171 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 172 | | |
183 | 173 | | |
184 | 174 | | |
| |||
189 | 179 | | |
190 | 180 | | |
191 | 181 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 182 | | |
202 | 183 | | |
203 | 184 | | |
204 | 185 | | |
205 | 186 | | |
206 | 187 | | |
207 | 188 | | |
208 | | - | |
209 | 189 | | |
210 | 190 | | |
211 | 191 | | |
| |||
236 | 216 | | |
237 | 217 | | |
238 | 218 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
| |||
0 commit comments