Skip to content

Commit 522d73a

Browse files
committed
TO SQUASH: Fix broken Sphinx build and addr. review.
1 parent 4487411 commit 522d73a

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

docs/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@
144144

145145
vision-usage
146146

147+
.. toctree::
148+
:maxdepth: 0
149+
:hidden:
150+
:caption: Natural Language
151+
152+
language-usage
153+
147154
.. toctree::
148155
:maxdepth: 0
149156
:hidden:

docs/language-usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ create an instance of :class:`~gcloud.language.client.Client`.
3838
>>> client = language.Client()
3939
4040
By default the ``language`` is ``'en'`` and the ``encoding`` is
41-
UFT-8. To over-ride these values:
41+
UTF-8. To over-ride these values:
4242

4343
.. code-block:: python
4444
@@ -114,7 +114,7 @@ The ``language`` arugment can be either ISO-639-1 or BCP-47 language
114114
codes; at the time, only English, Spanish, and Japanese `are supported`_.
115115
However, the ``analyzeSentiment`` method `only supports`_ English text.
116116

117-
.. are supported: https://cloud.google.com/natural-language/docs/
117+
.. _are supported: https://cloud.google.com/natural-language/docs/
118118
.. _only supports: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/analyzeSentiment#body.request_body.FIELDS.document
119119

120120
The document type (``doc_type``) value can be one of

0 commit comments

Comments
 (0)