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.
- package/dist/cli.mjs +4 -4
- 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 =
|
|
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