Back in college I made an application similar to this: http://mymanual.herokuapp.com/ (sorry if its slow or broken, unmaintained for ~3 years).
I had to do an input for each device and tag the ports so the logic in the application can create custom setup guides.