Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Commit fffd11d

Browse files
committed
Updated powershell script readme
1 parent cd837a0 commit fffd11d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: powershell-files-to-pages/readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
This script will scan through a local `files/` directory for `*.html` files then create pages for each within BookStack, where the name of the files is used for the name of the page and the contents of the file is used for the BookStack page content.
44

5-
**This is a very simplistic single-script-file example of sending data via PowerShell** and was written with little prior PowerShell knowledge.
5+
**Note:** This is a very simplistic single-script-file example of sending data via PowerShell and was written with little prior PowerShell knowledge.
66

77
## Requirements
88

99
You will need PowerShell available.
1010
You will also need BookStack API credentials (TOKEN_ID & TOKEN_SECRET) at the ready.
1111

12-
**This script was written using PowerShell (Core) 7.2.10 on Linux".
12+
*This script was written using PowerShell (Core) 7.2.10 on Linux".*
1313

1414
A `docker-compose.yml` file exists just as a convenient way to run PowerShell, particularly for Linux users.
1515

@@ -33,7 +33,7 @@ Now it's time to run the script like so:
3333
./files-to-pages.ps1 <target_book_id>
3434
```
3535

36-
## Examples
36+
## Example
3737

3838
```powershell
3939
# Upload HTML files in the relative `files` directory as BookStack pages

0 commit comments

Comments
 (0)