https://github.com/swilder-m/docsearch-scraper-simple
https://github.com/swilder-m/docsearch-scraper-simple
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/swilder-m/docsearch-scraper-simple
- Owner: Swilder-M
- Created: 2021-10-11T06:49:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T03:26:00.000Z (3 months ago)
- Last Synced: 2025-04-03T16:46:16.229Z (2 months ago)
- Language: Python
- Size: 90.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docsearch Scraper For EMQ Docs
## Install
```shell
pipenv install --keep-outdated
pipenv shell
```## Set ENV
```shell
export APPLICATION_ID=
export API_KEY=
```## Run
```shell
python3 -m src.indexpython3 -m src.index global-config broker v4.3
python3 -m src.index config broker v4.3
```> `CONFIG_FILE_NAME`: `global-config` or `config`
## Links
-
-## Use for github action
```yaml
- name: update search index
uses: Swilder-M/docsearch-scraper-simple@v4
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
with:
docs_type: ${{ env.DOCS_TYPE }}
docs_version: ${{ env.VERSION }}
```