]> BookStack Code Mirror - website/commitdiff
Added changes to align with v21.12.4
authorDan Brown <redacted>
Tue, 1 Feb 2022 12:10:21 +0000 (12:10 +0000)
committerDan Brown <redacted>
Tue, 1 Feb 2022 12:10:21 +0000 (12:10 +0000)
content/docs/admin/commands.md
content/docs/admin/pdf-rendering.md

index 1dfc65fe326df4d0bd49c442379aa646b185aafa..fc2b20f3d6068991f4d71c4b833e6387bf36f6fd 100644 (file)
@@ -22,6 +22,9 @@ php artisan bookstack:create-admin
 
 # Non-interactive usage example
 php artisan bookstack:create-admin --email="barry@example.com" --name="Bazza" --password="hunter2"
+
+# Defining "External Authentication ID" instead of password for LDAP/SAML2/OIDC environments
+php artisan bookstack:create-admin --email="barry.booker@example.com" --name="Bazza" --external-auth-id="bbooker"
 ```
 
 #### Copy Shelf Permission
index 71162252d6f75dfeaa28a95accc16a031c35361f..621a53974aa8457f51f789babac37dfed62ef922 100644 (file)
@@ -1,6 +1,6 @@
 +++
 title = "PDF Rendering"
-description = "Using WKHTMLtoPDF to generate PDF's for better rendering"
+description = "Options to configure PDF rendering within BookStack"
 date = "2017-01-22"
 type = "admin-doc"
 +++
@@ -27,3 +27,13 @@ You should only enable the below option in environments where only trusted users
 ```bash
 ALLOW_UNTRUSTED_SERVER_FETCHING=true
 ```
+
+### Export Page Size
+
+By default PDF exports are generated at an A4 size. If you'd prefer exports to be generated at "US Letter" standard sizes
+you can specify this within your `.env` like so:
+
+```bash
+# US Letter
+EXPORT_PAGE_SIZE=letter
+```
\ No newline at end of file