You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ jobs:
32
32
uses: actions/checkout@v4
33
33
34
34
- name: Build SQLite Cloud database
35
-
uses: sqlitecloud/sqlitecloud-docsearch@v0.5
35
+
uses: sqlitecloud/sqlitecloud-docsearch@v1
36
36
with:
37
37
project-string: ${{ secrets.PROJECT_STRING }}
38
38
path: path/to/your/docs
@@ -41,13 +41,14 @@ jobs:
41
41
42
42
3. Make sure you have a project on SQLite Cloud. If not, sign up for an account and create one.
43
43
4. Add the Project Connection String as a secret in your repository settings, named `PROJECT_STRING`.
44
-
5. Customize these inputs according to your needs.
44
+
5. Create a database in your SQLite Cloud project and write its name in the `database` input of the action.
45
+
6. Customize these inputs according to your needs.
45
46
* if the `path` input isn't specified the workflow will search for every .md or .mdx file recursively from the root folder.
46
47
* `strip-html`: Set this input to `true` if you want to remove the html elements.
47
48
* `strip-jsx`: Set this input to `true` if you want to remove the jsx elements.
48
49
* `strip-md-titles`: Set this input to `true` if you want to remove the markdown titles to avoid redundancy in the search.
49
50
* `strip-astro-header`: Set this input to `true` if you want to remove the Astro header from every file.
50
-
6. Commit and push the workflow file to your repository.
51
+
7. Commit and push the workflow file to your repository.
51
52
52
53
53
54
Now, whenever you push changes to the `main` branch, the GitHub Action will automatically update the table for your documentation website's full-text search using SQLite Cloud.
0 commit comments