lildocs 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +1 -1
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -740,7 +740,7 @@ function escapeHtml(value) {
740
740
  //#endregion
741
741
  //#region src/core/nav.ts
742
742
  function buildNavigation(model, activePage) {
743
- return nestNavItems(model.pages.map((page) => pageToNavItem(page, activePage)));
743
+ return nestNavItems(model.pages.filter((page) => page.sourcePath !== model.homePage).map((page) => pageToNavItem(page, activePage)));
744
744
  }
745
745
  function pageToNavItem(page, activePage) {
746
746
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lildocs",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A lightweight CLI that turns Markdown docs into a static searchable documentation site.",
5
5
  "homepage": "https://aleclarson.github.io/lildocs/",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "beautiful-mermaid": "^1.1.3",
30
30
  "cmd-ts": "^0.15.0",
31
31
  "culori": "^4.0.2",
32
- "exports-md": "^0.1.4",
32
+ "exports-md": "^0.1.7",
33
33
  "gray-matter": "^4.0.3",
34
34
  "jiti": "^2.7.0",
35
35
  "marked": "^18.0.3",