kobiton / docs

The content for Kobiton Docs.
https://docs.kobiton.com
3 stars 1 forks source link

Updating yarn scripts #149

Closed internetisaiah closed 1 year ago

internetisaiah commented 1 year ago

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:

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.

Related PRs, issues, or features (optional)

Metadata

PR contributor checklist