I want to build my documentation for being hosted in multiple offline environments, hosted on docker containers. This requires following key features in static site generator,
- Use all resources (js / css), hosted locally with static html files.
- Configure
url
andbaseUrl
at deployment time (when docker container is started).
These two configurations can help achieve, build once deploy anywhere, and in an offline environment.
Two questions,
- How to set url at deploy time?
- How to set all resources to be hosted locally?