Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 14dda88

Browse files
committed
google-assistant-sdk: fix restructured text description
- add nox checks using `readme_renderer`. Bug: 79419524 Change-Id: I10828422d419fe8577fab95d0b2b25e1aae9aa09
1 parent 590b061 commit 14dda88

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

google-assistant-grpc/nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
def lint(session):
2222
session.interpreter = 'python3'
2323
session.install('pip', 'setuptools')
24-
session.install('docutils', 'flake8')
24+
session.install('docutils', 'flake8', 'readme_renderer')
2525
session.run('flake8', 'nox.py', 'setup.py')
2626
session.run('python', 'setup.py', 'check',
2727
'--restructuredtext', '--strict')

google-assistant-sdk/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This reference sample implements a simple but functional client for the `Google
123123

124124
googlesamples-assistant-pushtotalk --device-model-id 'my-device-model' --device-id 'my-device-identifier' -v
125125

126-
Also see sample `README <googlesamples/assistant/grpc/README.rst`_.
126+
Also see the `grpc sample README <googlesamples/assistant/grpc/README.rst>`_.
127127

128128
googlesamples-assistant-hotword
129129
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -139,7 +139,7 @@ This reference sample implements a simple but functional client for the `Google
139139

140140
googlesamples-assistant-hotword --device_model_id 'my-model-identifier'
141141

142-
Also see sample `README <googlesamples/assistant/library/README.rst`_.
142+
Also see the sample `library sample README <googlesamples/assistant/library/README.rst>`_.
143143

144144
For Maintainers
145145
---------------

google-assistant-sdk/nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
def lint(session):
2121
session.interpreter = 'python3'
2222
session.install('pip', 'setuptools')
23-
session.install('docutils', 'flake8')
23+
session.install('docutils', 'flake8', 'readme_renderer')
2424
session.run('flake8',
2525
'googlesamples', 'tests',
2626
'nox.py', 'setup.py')

0 commit comments

Comments
 (0)