summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-05-28 17:43:10 -0700
committerLouie S <louie@example.com>2023-05-28 17:43:10 -0700
commit8fb96e377ed2fa0c0ab707425b862363a29be859 (patch)
tree77d8d1c4401e9192bcf7e4e428c3952cd77561a7
parent6dd93704a3218a26d10a4268f73c919eea3f22c8 (diff)
Fix copy/paste error; Improve README.md
-rw-r--r--README.md2
-rw-r--r--src/lib/insert2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7fb5e46..774f7de 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ This file will build the docset.
### `src/icon.png`
-If you want to associate an icon with the docset, it should be saved to `src/icon.png`.
+If you want to associate an icon with the docset, it should be saved to `src/icon.png`. Make sure to uncomment the corresponding line in `Makefile` to include the icon in the docset.
### `src/index.sh`
diff --git a/src/lib/insert b/src/lib/insert
index baa13bd..31c1b4c 100644
--- a/src/lib/insert
+++ b/src/lib/insert
@@ -4,5 +4,5 @@ insert() {
TYPE="$3"
PAGE_PATH="$4"
- sqlite3 "$DB_PATH" "INSERT INTO searchIndex(name, type, path) VALUES (\"$NAME\",\"$TYPE\",\"libc/$PAGE_PATH\");"
+ sqlite3 "$DB_PATH" "INSERT INTO searchIndex(name, type, path) VALUES (\"$NAME\",\"$TYPE\",\"$PAGE_PATH\");"
}