Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions media-translation/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ To run this sample:
Translate from mic
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=media-translation/cloud-client/translate_from_mic.py,media-translation/cloud-client/README.rst



Expand Down
3 changes: 2 additions & 1 deletion media-translation/cloud-client/README.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ samples:
show_help: true
- name: Translate from mic
file: translate_from_mic.py
hide_cloudshell_button: true

cloud_client_library: true

folder: media-translation/cloud-client
folder: media-translation/cloud-client
2 changes: 2 additions & 0 deletions scripts/readme-gen/templates/README.tmpl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ Samples
{{sample.name}}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

{% if not sample.hide_cloudshell_button %}
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor={{folder}}/{{sample.file}},{{folder}}/README.rst
{% endif %}


{{sample.description}}
Expand Down