Move notebook files to g3doc. - Some style and code fixes for notebooks. Add api-reference generation script. PiperOrigin-RevId: 372233296