Due to the changes in #137 , the typical method of viewing styled content locally no longer works (because of the remove of .html from strings). Antora suggests using this method to create a local server to view styled content instead:
http-server build/docs -c-1
So I've added a second script to our yarn scripts that will run that command:
yarn server
As of now, you'll probably want to have two separate terminal tabs: one to use yarn local and one to use yarn server -- this isn't the most elegant solution, but works as a minimum viable product. There should be an update to this workflow sometime in the future.
Summary
Due to the changes in #137 , the typical method of viewing styled content locally no longer works (because of the remove of
.html
from strings). Antora suggests using this method to create a local server to view styled content instead:So I've added a second script to our yarn scripts that will run that command:
As of now, you'll probably want to have two separate terminal tabs: one to use
yarn local
and one to useyarn server
-- this isn't the most elegant solution, but works as a minimum viable product. There should be an update to this workflow sometime in the future.Related PRs, issues, or features (optional)
Metadata
PR contributor checklist
[x] My PR follows the Kobiton Docs contributor guidelines, meaning:
nav.adoc
file.en-us
) from my URLs.