@docmd/plugin-sitemap 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +25 -1
- package/index.js +14 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,4 +16,28 @@ module.exports = {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
```
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## The docmd Ecosystem
|
|
22
|
+
|
|
23
|
+
`docmd` is a modular system. Here are the official packages:
|
|
24
|
+
|
|
25
|
+
**The Engine**
|
|
26
|
+
* [**@docmd/core**](https://www.npmjs.com/package/@docmd/core) - The CLI runner and build orchestrator.
|
|
27
|
+
* [**@docmd/parser**](https://www.npmjs.com/package/@docmd/parser) - The pure Markdown-to-HTML logic.
|
|
28
|
+
* [**@docmd/live**](https://www.npmjs.com/package/@docmd/live) - The browser-based Live Editor bundle.
|
|
29
|
+
|
|
30
|
+
**Interface & Design**
|
|
31
|
+
* [**@docmd/ui**](https://www.npmjs.com/package/@docmd/ui) - Base EJS templates and assets.
|
|
32
|
+
* [**@docmd/themes**](https://www.npmjs.com/package/@docmd/themes) - Official themes (Sky, Ruby, Retro).
|
|
33
|
+
|
|
34
|
+
**Plugins**
|
|
35
|
+
* [**@docmd/plugin-search**](https://www.npmjs.com/package/@docmd/plugin-search) - Offline full-text search.
|
|
36
|
+
* [**@docmd/plugin-mermaid**](https://www.npmjs.com/package/@docmd/plugin-mermaid) - Diagrams and flowcharts.
|
|
37
|
+
* [**@docmd/plugin-seo**](https://www.npmjs.com/package/@docmd/plugin-seo) - Meta tags and Open Graph data.
|
|
38
|
+
* [**@docmd/plugin-sitemap**](https://www.npmjs.com/package/@docmd/plugin-sitemap) - Automatic sitemap generation.
|
|
39
|
+
* [**@docmd/plugin-analytics**](https://www.npmjs.com/package/@docmd/plugin-analytics) - Google Analytics integration.
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
Distributed under the MIT License. See `LICENSE` for more information.
|
package/index.js
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* --------------------------------------------------------------------
|
|
3
|
+
* docmd : the minimalist, zero-config documentation generator.
|
|
4
|
+
*
|
|
5
|
+
* @package @docmd/core (and ecosystem)
|
|
6
|
+
* @website https://docmd.io
|
|
7
|
+
* @repository https://github.com/docmd-io/docmd
|
|
8
|
+
* @license MIT
|
|
9
|
+
* @copyright Copyright (c) 2025 docmd.io
|
|
10
|
+
*
|
|
11
|
+
* [docmd-source] - Please do not remove this header.
|
|
12
|
+
* --------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
1
15
|
const path = require('path');
|
|
2
16
|
const fs = require('fs/promises');
|
|
3
17
|
|