lildocs 0.1.5 → 0.1.6

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 +4 -4
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -216,15 +216,15 @@ function rootRelativeUrl(route, target) {
216
216
  //#endregion
217
217
  //#region src/core/input.ts
218
218
  const HOME_PAGE_CANDIDATES = [
219
+ "README.md",
220
+ "readme.md",
219
221
  "index.md",
220
222
  "intro.md",
221
223
  "introduction.md",
222
224
  "getting-started.md",
223
- "quickstart.md",
224
- "readme.md",
225
- "README.md"
225
+ "quickstart.md"
226
226
  ];
227
- const README_FIRST_HOME_PAGE_CANDIDATES = ["README.md", ...HOME_PAGE_CANDIDATES.filter((candidate) => candidate !== "README.md")];
227
+ const README_FIRST_HOME_PAGE_CANDIDATES = HOME_PAGE_CANDIDATES;
228
228
  async function resolveInput(input, cwd, options = {}) {
229
229
  const inputPath = path.resolve(cwd, input);
230
230
  let inputStat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lildocs",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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": {