e083bfcfe4
* Docs: post process output to fix paths so that many mdbooks can be served from sub-directories * Prevent theme from being modified * Upload docs to Vercel * Post process docs * Process local links * Docs: only process `index.html` files from the root, All other files have the correct relative paths to serve assets properly and link to files relatively. --------- Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
8 lines
211 B
Bash
Executable File
8 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
# this is a script called by the github CI and CD workflows to post process CSS/image/href links for serving
|
|
# several mdbooks from a subdirectory
|
|
|
|
cd scripts/post-process
|
|
npm install
|
|
node index.mjs
|