Skip to content

Add custom port option for make view

Simon Knox requested to merge psi-nanoc-port into main

What does this MR do and why?

Allow overriding port to run docs locally, using make view PORT=3001. Most(?) users are using GDK on 3000, so being able to override without reconfiguring seems helpful.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. make view, and view docs on localhost 3000
  2. make view PORT=3001, and view docs on localhost 3001

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports