Skip to content

Commit 00b2426

Browse files
committed
refactor: reorganize blog posts into dedicated directory structure
- Move blog post files from root to /blog subdirectory for better organization - Rename post.html and post2.html to blog/post.html and blog/post2.html - Update docmach-manifest.json to reflect new blog directory structure - Reorganize page tree in manifest with blog directory as parent node - Update all internal paths and links to point to new /blog location - Regenerate sitemap.xml with updated blog post paths - Improves project structure by grouping related blog content together
1 parent b7f7d7a commit 00b2426

6 files changed

Lines changed: 141 additions & 134 deletions

File tree

docmach/docmach-manifest.json

Lines changed: 125 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"generatedAt": "2025-12-07T15:17:17.151Z",
2+
"generatedAt": "2025-12-07T15:21:50.783Z",
33
"docsDirectory": "docs",
44
"buildDirectory": "docmach",
55
"totalPages": 8,
@@ -8,6 +8,67 @@
88
"type": "directory",
99
"path": "/",
1010
"children": [
11+
{
12+
"name": "blog",
13+
"type": "directory",
14+
"path": "/blog",
15+
"children": [
16+
{
17+
"name": "post.html",
18+
"type": "file",
19+
"path": "/blog/post.html",
20+
"link": "/blog/post.html",
21+
"sourcePath": "docs/blog/post.md",
22+
"outputPath": "docmach/blog/post.html",
23+
"docmachTags": [
24+
{
25+
"type": "fragment",
26+
"file": "fragments/head.html",
27+
"params": {
28+
"title": "introduction"
29+
}
30+
},
31+
{
32+
"type": "fragment",
33+
"file": "fragments/blog-start.html"
34+
},
35+
{
36+
"type": "fragment",
37+
"file": "fragments/blog-end.html"
38+
},
39+
{
40+
"type": "fragment",
41+
"file": "fragments/footer.html"
42+
}
43+
]
44+
},
45+
{
46+
"name": "post2.html",
47+
"type": "file",
48+
"path": "/blog/post2.html",
49+
"link": "/blog/post2.html",
50+
"sourcePath": "docs/blog/post2.md",
51+
"outputPath": "docmach/blog/post2.html",
52+
"docmachTags": [
53+
{
54+
"type": "wrapper",
55+
"file": "fragments/post-wrapper.html",
56+
"params": {
57+
"title": "post 2"
58+
},
59+
"replacement": "replacement"
60+
},
61+
{
62+
"type": "wrapper",
63+
"file": "fragments/post-wrapper.html",
64+
"params": {
65+
"title": "post 2"
66+
}
67+
}
68+
]
69+
}
70+
]
71+
},
1172
{
1273
"name": "docs",
1374
"type": "directory",
@@ -216,68 +277,14 @@
216277
]
217278
}
218279
]
219-
},
220-
{
221-
"name": "post.html",
222-
"type": "file",
223-
"path": "/post.html",
224-
"link": "/post.html",
225-
"sourcePath": "docs/post.md",
226-
"outputPath": "docmach/post.html",
227-
"docmachTags": [
228-
{
229-
"type": "fragment",
230-
"file": "fragments/head.html",
231-
"params": {
232-
"title": "introduction"
233-
}
234-
},
235-
{
236-
"type": "fragment",
237-
"file": "fragments/blog-start.html"
238-
},
239-
{
240-
"type": "fragment",
241-
"file": "fragments/blog-end.html"
242-
},
243-
{
244-
"type": "fragment",
245-
"file": "fragments/footer.html"
246-
}
247-
]
248-
},
249-
{
250-
"name": "post2.html",
251-
"type": "file",
252-
"path": "/post2.html",
253-
"link": "/post2.html",
254-
"sourcePath": "docs/post2.md",
255-
"outputPath": "docmach/post2.html",
256-
"docmachTags": [
257-
{
258-
"type": "wrapper",
259-
"file": "fragments/post-wrapper.html",
260-
"params": {
261-
"title": "post 2"
262-
},
263-
"replacement": "replacement"
264-
},
265-
{
266-
"type": "wrapper",
267-
"file": "fragments/post-wrapper.html",
268-
"params": {
269-
"title": "post 2"
270-
}
271-
}
272-
]
273280
}
274281
]
275282
},
276283
"pages": [
277284
{
278-
"sourcePath": "docs/post2.md",
279-
"outputPath": "docmach/post2.html",
280-
"link": "/post2.html",
285+
"sourcePath": "docs/blog/post2.md",
286+
"outputPath": "docmach/blog/post2.html",
287+
"link": "/blog/post2.html",
281288
"docmachTags": [
282289
{
283290
"type": "wrapper",
@@ -297,21 +304,35 @@
297304
]
298305
},
299306
{
300-
"sourcePath": "docs/docs/configuration.md",
301-
"outputPath": "docmach/docs/configuration.html",
302-
"link": "/docs/configuration.html",
307+
"sourcePath": "docs/docs/introduction.md",
308+
"outputPath": "docmach/docs/introduction.html",
309+
"link": "/docs/introduction.html",
303310
"docmachTags": [
304311
{
305312
"type": "fragment",
306313
"file": "fragments/head.html",
307314
"params": {
308-
"title": "Docmach Quickstart"
315+
"title": "introduction"
309316
}
310317
},
311318
{
312319
"type": "fragment",
313320
"file": "fragments/doc-sidebar.html"
314321
},
322+
{
323+
"type": "function",
324+
"file": "fragments/doc-nav.js",
325+
"params": {
326+
"prev": {
327+
"link": "/",
328+
"text": "Get started"
329+
},
330+
"next": {
331+
"link": "/docs/quickstart.html",
332+
"text": "Quickstart"
333+
}
334+
}
335+
},
315336
{
316337
"type": "fragment",
317338
"file": "fragments/doc-sidebar-end.html"
@@ -323,15 +344,15 @@
323344
]
324345
},
325346
{
326-
"sourcePath": "docs/docs/examples.md",
327-
"outputPath": "docmach/docs/examples.html",
328-
"link": "/docs/examples.html",
347+
"sourcePath": "docs/docs/advanced-features.md",
348+
"outputPath": "docmach/docs/advanced-features.html",
349+
"link": "/docs/advanced-features.html",
329350
"docmachTags": [
330351
{
331352
"type": "fragment",
332353
"file": "fragments/head.html",
333354
"params": {
334-
"title": "Examples"
355+
"title": "Advanced Features"
335356
}
336357
},
337358
{
@@ -349,15 +370,15 @@
349370
]
350371
},
351372
{
352-
"sourcePath": "docs/docs/advanced-features.md",
353-
"outputPath": "docmach/docs/advanced-features.html",
354-
"link": "/docs/advanced-features.html",
373+
"sourcePath": "docs/docs/examples.md",
374+
"outputPath": "docmach/docs/examples.html",
375+
"link": "/docs/examples.html",
355376
"docmachTags": [
356377
{
357378
"type": "fragment",
358379
"file": "fragments/head.html",
359380
"params": {
360-
"title": "Advanced Features"
381+
"title": "Examples"
361382
}
362383
},
363384
{
@@ -375,38 +396,24 @@
375396
]
376397
},
377398
{
378-
"sourcePath": "docs/docs/quickstart.md",
379-
"outputPath": "docmach/docs/quickstart.html",
380-
"link": "/docs/quickstart.html",
399+
"sourcePath": "docs/blog/post.md",
400+
"outputPath": "docmach/blog/post.html",
401+
"link": "/blog/post.html",
381402
"docmachTags": [
382403
{
383404
"type": "fragment",
384405
"file": "fragments/head.html",
385406
"params": {
386-
"title": "Docmach Quickstart"
407+
"title": "introduction"
387408
}
388409
},
389410
{
390411
"type": "fragment",
391-
"file": "fragments/doc-sidebar.html"
392-
},
393-
{
394-
"type": "function",
395-
"file": "fragments/doc-nav.js",
396-
"params": {
397-
"prev": {
398-
"link": "/docs/introduction.html",
399-
"text": "Introduction"
400-
},
401-
"next": {
402-
"link": "/docs/configuration.html",
403-
"text": "Configurations"
404-
}
405-
}
412+
"file": "fragments/blog-start.html"
406413
},
407414
{
408415
"type": "fragment",
409-
"file": "fragments/doc-sidebar-end.html"
416+
"file": "fragments/blog-end.html"
410417
},
411418
{
412419
"type": "fragment",
@@ -415,35 +422,21 @@
415422
]
416423
},
417424
{
418-
"sourcePath": "docs/docs/introduction.md",
419-
"outputPath": "docmach/docs/introduction.html",
420-
"link": "/docs/introduction.html",
425+
"sourcePath": "docs/docs/configuration.md",
426+
"outputPath": "docmach/docs/configuration.html",
427+
"link": "/docs/configuration.html",
421428
"docmachTags": [
422429
{
423430
"type": "fragment",
424431
"file": "fragments/head.html",
425432
"params": {
426-
"title": "introduction"
433+
"title": "Docmach Quickstart"
427434
}
428435
},
429436
{
430437
"type": "fragment",
431438
"file": "fragments/doc-sidebar.html"
432439
},
433-
{
434-
"type": "function",
435-
"file": "fragments/doc-nav.js",
436-
"params": {
437-
"prev": {
438-
"link": "/",
439-
"text": "Get started"
440-
},
441-
"next": {
442-
"link": "/docs/quickstart.html",
443-
"text": "Quickstart"
444-
}
445-
}
446-
},
447440
{
448441
"type": "fragment",
449442
"file": "fragments/doc-sidebar-end.html"
@@ -455,21 +448,35 @@
455448
]
456449
},
457450
{
458-
"sourcePath": "docs/docs/api-reference.md",
459-
"outputPath": "docmach/docs/api-reference.html",
460-
"link": "/docs/api-reference.html",
451+
"sourcePath": "docs/docs/quickstart.md",
452+
"outputPath": "docmach/docs/quickstart.html",
453+
"link": "/docs/quickstart.html",
461454
"docmachTags": [
462455
{
463456
"type": "fragment",
464457
"file": "fragments/head.html",
465458
"params": {
466-
"title": "API Reference"
459+
"title": "Docmach Quickstart"
467460
}
468461
},
469462
{
470463
"type": "fragment",
471464
"file": "fragments/doc-sidebar.html"
472465
},
466+
{
467+
"type": "function",
468+
"file": "fragments/doc-nav.js",
469+
"params": {
470+
"prev": {
471+
"link": "/docs/introduction.html",
472+
"text": "Introduction"
473+
},
474+
"next": {
475+
"link": "/docs/configuration.html",
476+
"text": "Configurations"
477+
}
478+
}
479+
},
473480
{
474481
"type": "fragment",
475482
"file": "fragments/doc-sidebar-end.html"
@@ -481,24 +488,24 @@
481488
]
482489
},
483490
{
484-
"sourcePath": "docs/post.md",
485-
"outputPath": "docmach/post.html",
486-
"link": "/post.html",
491+
"sourcePath": "docs/docs/api-reference.md",
492+
"outputPath": "docmach/docs/api-reference.html",
493+
"link": "/docs/api-reference.html",
487494
"docmachTags": [
488495
{
489496
"type": "fragment",
490497
"file": "fragments/head.html",
491498
"params": {
492-
"title": "introduction"
499+
"title": "API Reference"
493500
}
494501
},
495502
{
496503
"type": "fragment",
497-
"file": "fragments/blog-start.html"
504+
"file": "fragments/doc-sidebar.html"
498505
},
499506
{
500507
"type": "fragment",
501-
"file": "fragments/blog-end.html"
508+
"file": "fragments/doc-sidebar-end.html"
502509
},
503510
{
504511
"type": "fragment",

0 commit comments

Comments
 (0)