diff --git a/README.md b/README.md index 81df15d..39cfc23 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This script is a slight modification of [this script](https://github.com/BookSta Download the script ```bash -curl https://raw.githubusercontent.com/BookStackApp/api-scripts/main/php-book-to-static-site/book-to-static.php > book-to-static.php +curl https://gitea.apointless.space/bsncubed/bookstack-static-site/raw/branch/main/book-to-static.php > book-to-static.php ``` Export Variables @@ -31,8 +31,9 @@ Export Variables export BS_URL=https://bookstack.example.com # Set to be your BookStack base URL export BS_TOKEN_ID=abc123 # Set to be your API token_id export BS_TOKEN_SECRET=123abc # Set to be your API token_secret +export BS_CSS_FILE # Set to be the name of your CSS markdown file ``` -Or, alterntively, you can modify the verables in the script manualy +Or, alternatively, you can modify the variables in the script manualy Run the script ```bash @@ -46,4 +47,4 @@ php book-to-static.php php book-to-static.php example-book ./out ``` #### CSS -Move the desired css file in your output directory \ No newline at end of file +Move the CSS file to the Output Directory \ No newline at end of file