chore: Markdown fetching script refactor (#1)

* Added .env.example

* env config loading refactored

* utility file system functions for reading and writing

* vac to docusaurus converter functions extracted

* github api service extracted

* refactor the scrapping script

* removed unused imports

* updated directories to sync
This commit is contained in:
Filip Pajic
2024-04-19 14:24:43 +02:00
committed by GitHub
parent 917100644b
commit 8164e1de65
11 changed files with 330 additions and 276 deletions

View File

@@ -19,13 +19,12 @@ $ git clone https://github.com/acid-info/logos-docs-template.git
$ yarn install
```
3. Create .env and run fetch-content.js
3. Create .env and run the scraping script
and
```bash
GITHUB_TOKEN=
$ yarn scrape
```
and `node fetch-content.js`
4. Start the website:
```bash