Text this: General design flow for waveguide Bragg gratings