in commercial wood framed structures, the gable truss with a lowered top chord is usually what's done. outriggers cantilever from first interior truss out over gable. blocking in between outriggers on top of gable top chord.
in residential construction, it's typical to see it the way your sketch showed it. gable studs run up to roof deck, rake joist is nailed to inside of studs. personally i hate this connection, but i guess it works. i'd rather see a stud wall have a double top plate and have the outriggers done like the gable truss with a lowered top chord.