Fix docs for api.types
The following PR is related to: https://github.com/pandas-dev/pandas/issues/58577
and fixes the below doc issues:
```
        -i "pandas.api.types.is_bool PR01,SA01" \
        -i "pandas.api.types.is_categorical_dtype SA01" \
        -i "pandas.api.types.is_complex PR01,SA01" \
        -i "pandas.api.types.is_complex_dtype SA01" \
        -i "pandas.api.types.is_datetime64_dtype SA01" \
        -i "pandas.api.types.is_datetime64_ns_dtype SA01" \
        -i "pandas.api.types.is_datetime64tz_dtype SA01" \
```
Thanks @abhinav-thimma 