http://xarray.pydata.org/en/stable/generated/xarray.DataArray.to_netcdf.html#xarray.DataArray.to_netcdf
I believe there is a way to hyperlink to xarray.Dataset.to_netcdf. I believe there is also a way for sphinx to render the Note section e.g. in the doc string add .. note::