Deploy
Just use npx gem-book docs --build to build front-end resources (index.html, *.js...), and then provide static services for the output directory.
WARNING
Because
<gem-book>uses History API, so Github Pages is not supported by default
Netlify
Configure the build script and publish directory in Netlify, and then configure the redirection rules in the project netlify.toml:
Vercel
Configure the build script and publish directory in Vercel, and then configure the redirection rules in the project vercel.json:
Last Updated:
01/12/2024, 06:55:54 AM