Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
docs: fix docstring in intent_pb2
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Oct 14, 2019
1 parent cdef742 commit 7151d56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 0 additions & 2 deletions dialogflow_v2beta1/proto/intent_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions synth.metadata
@@ -1,5 +1,5 @@
{
"updateTime": "2019-10-11T21:21:41.491230Z",
"updateTime": "2019-10-14T17:09:55.200129Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "9cb6aa2bbe7b0b53a6cadf4dcc19d9db1ff7ce6c",
"internalRef": "274227479"
"sha": "b21af5afc29727cab4979fce7a5bbb95c72f4760",
"internalRef": "274596415"
}
}
],
Expand Down
7 changes: 7 additions & 0 deletions synth.py
Expand Up @@ -86,6 +86,13 @@
r'}\\\" [\\]\n(\s+retry \(Optional)',
'}\\"\n\g<1>')

# Docstring has '-----' which is interpreted as section title
s.replace(
"dialogflow_v2beta1/proto/intent_pb2.py",
"\s+-----------",
""
)

s.replace('dialogflow_v2/proto/agent_pb2.py', ':math:', '')
s.replace('dialogflow_v2/proto/agent_pb2.py', ':raw-latex:', '')

Expand Down

0 comments on commit 7151d56

Please sign in to comment.