diff --git a/bigquery/docs/reference.rst b/bigquery/docs/reference.rst index 39b3e8407d300..e01443808795c 100644 --- a/bigquery/docs/reference.rst +++ b/bigquery/docs/reference.rst @@ -164,6 +164,16 @@ Magics magics + +Enums +===== + +.. autosummary:: + :toctree: generated + + enums.StandardSqlDataTypes + + Additional Types ================ diff --git a/bigquery/google/cloud/bigquery/enums.py b/bigquery/google/cloud/bigquery/enums.py index 96ac46be304e5..098a918e474f7 100644 --- a/bigquery/google/cloud/bigquery/enums.py +++ b/bigquery/google/cloud/bigquery/enums.py @@ -61,7 +61,7 @@ def _make_sql_scalars_enum(): new_doc = "\n".join( six.moves.filterfalse(skip_pattern.search, orig_doc.splitlines()) ) - new_enum.__doc__ = new_doc + new_enum.__doc__ = "An Enum of scalar SQL types.\n" + new_doc return new_enum