From 1640336fcf58bc479a7500407b38c9af4febb5c1 Mon Sep 17 00:00:00 2001 From: Dennis Shao <67387070+shaod2@users.noreply.github.com> Date: Tue, 21 Jun 2022 18:07:57 -0500 Subject: [PATCH 1/3] Create .repo-metadata.json --- python/.repo-metadata.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 python/.repo-metadata.json diff --git a/python/.repo-metadata.json b/python/.repo-metadata.json new file mode 100644 index 000000000..c8d71a84e --- /dev/null +++ b/python/.repo-metadata.json @@ -0,0 +1,11 @@ +{ + "name": "protobuf", + "name_pretty": "Protocol Buffers", + "product_documentation": "https://developers.google.com/protocol-buffers ", + "client_documentation": "https://developers.google.com/protocol-buffers/docs/pythontutorial", + "issue_tracker": "https://github.com/protocolbuffers/protobuf/issues", + "release_level": "ga", + "language": "python", + "repo": "protocolbuffers/protobuf ", + "distribution_name": "protobuf" +} From c62c2340ca85b74ff48f117ba87354db6986b678 Mon Sep 17 00:00:00 2001 From: Dennis Shao Date: Wed, 22 Jun 2022 21:33:46 +0000 Subject: [PATCH 2/3] Update rst files for Python generated docs --- .../docs/google/protobuf/unknown_fields.rst | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python/docs/google/protobuf/unknown_fields.rst diff --git a/python/docs/google/protobuf/unknown_fields.rst b/python/docs/google/protobuf/unknown_fields.rst new file mode 100644 index 000000000..7ba283d06 --- /dev/null +++ b/python/docs/google/protobuf/unknown_fields.rst @@ -0,0 +1,21 @@ +.. DO NOT EDIT, generated by generate_docs.py. + +.. ifconfig:: build_env == 'readthedocs' + + .. warning:: + + You are reading the documentation for the `latest committed changes + `_ of + the `Protocol Buffers package for Python + `_. + Some features may not yet be released. Read the documentation for the + latest released package at `googleapis.dev + `_. + +google.protobuf.unknown_fields +============================== + +.. automodule:: google.protobuf.unknown_fields + :members: + :inherited-members: + :undoc-members: From 1275ce88f9577a8592987b49f49ba3f0699c8dc9 Mon Sep 17 00:00:00 2001 From: Dennis Shao Date: Wed, 22 Jun 2022 21:50:12 +0000 Subject: [PATCH 3/3] Add missing rst files --- python/docs/google/protobuf.rst | 2 +- python/docs/google/protobuf/any_pb2.rst | 2 +- python/docs/google/protobuf/descriptor.rst | 2 +- python/docs/google/protobuf/descriptor_database.rst | 2 +- python/docs/google/protobuf/descriptor_pb2.rst | 2 +- python/docs/google/protobuf/descriptor_pool.rst | 2 +- python/docs/google/protobuf/duration_pb2.rst | 2 +- python/docs/google/protobuf/empty_pb2.rst | 2 +- python/docs/google/protobuf/field_mask_pb2.rst | 2 +- python/docs/google/protobuf/internal/containers.rst | 2 +- python/docs/google/protobuf/json_format.rst | 2 +- python/docs/google/protobuf/message.rst | 2 +- python/docs/google/protobuf/message_factory.rst | 2 +- python/docs/google/protobuf/proto_builder.rst | 2 +- python/docs/google/protobuf/reflection.rst | 2 +- python/docs/google/protobuf/service.rst | 2 +- python/docs/google/protobuf/service_reflection.rst | 2 +- python/docs/google/protobuf/struct_pb2.rst | 2 +- python/docs/google/protobuf/symbol_database.rst | 2 +- python/docs/google/protobuf/text_encoding.rst | 2 +- python/docs/google/protobuf/text_format.rst | 2 +- python/docs/google/protobuf/timestamp_pb2.rst | 2 +- python/docs/google/protobuf/type_pb2.rst | 2 +- python/docs/google/protobuf/wrappers_pb2.rst | 2 +- python/docs/index.rst | 1 + 25 files changed, 25 insertions(+), 24 deletions(-) diff --git a/python/docs/google/protobuf.rst b/python/docs/google/protobuf.rst index b26102e11..6c472e190 100644 --- a/python/docs/google/protobuf.rst +++ b/python/docs/google/protobuf.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/any_pb2.rst b/python/docs/google/protobuf/any_pb2.rst index b6f47ef3f..9fca2d2ee 100644 --- a/python/docs/google/protobuf/any_pb2.rst +++ b/python/docs/google/protobuf/any_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/descriptor.rst b/python/docs/google/protobuf/descriptor.rst index 29b07746f..5a8a26468 100644 --- a/python/docs/google/protobuf/descriptor.rst +++ b/python/docs/google/protobuf/descriptor.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/descriptor_database.rst b/python/docs/google/protobuf/descriptor_database.rst index 1b8b3904d..660fc41a7 100644 --- a/python/docs/google/protobuf/descriptor_database.rst +++ b/python/docs/google/protobuf/descriptor_database.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/descriptor_pb2.rst b/python/docs/google/protobuf/descriptor_pb2.rst index 94eec35c3..9f20f4955 100644 --- a/python/docs/google/protobuf/descriptor_pb2.rst +++ b/python/docs/google/protobuf/descriptor_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/descriptor_pool.rst b/python/docs/google/protobuf/descriptor_pool.rst index c2ee33e7b..aa8de30e9 100644 --- a/python/docs/google/protobuf/descriptor_pool.rst +++ b/python/docs/google/protobuf/descriptor_pool.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/duration_pb2.rst b/python/docs/google/protobuf/duration_pb2.rst index 4233e3cb5..9e9a032a3 100644 --- a/python/docs/google/protobuf/duration_pb2.rst +++ b/python/docs/google/protobuf/duration_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/empty_pb2.rst b/python/docs/google/protobuf/empty_pb2.rst index c386a4c5c..f11755369 100644 --- a/python/docs/google/protobuf/empty_pb2.rst +++ b/python/docs/google/protobuf/empty_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/field_mask_pb2.rst b/python/docs/google/protobuf/field_mask_pb2.rst index d9d807069..1c11f46d1 100644 --- a/python/docs/google/protobuf/field_mask_pb2.rst +++ b/python/docs/google/protobuf/field_mask_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/internal/containers.rst b/python/docs/google/protobuf/internal/containers.rst index c3b8e594a..67009bc9c 100644 --- a/python/docs/google/protobuf/internal/containers.rst +++ b/python/docs/google/protobuf/internal/containers.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/json_format.rst b/python/docs/google/protobuf/json_format.rst index eb3b0c539..71023fcd9 100644 --- a/python/docs/google/protobuf/json_format.rst +++ b/python/docs/google/protobuf/json_format.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/message.rst b/python/docs/google/protobuf/message.rst index a20424807..c33561fd6 100644 --- a/python/docs/google/protobuf/message.rst +++ b/python/docs/google/protobuf/message.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/message_factory.rst b/python/docs/google/protobuf/message_factory.rst index 93183cc03..19f66239b 100644 --- a/python/docs/google/protobuf/message_factory.rst +++ b/python/docs/google/protobuf/message_factory.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/proto_builder.rst b/python/docs/google/protobuf/proto_builder.rst index 36243a2ff..718f612b5 100644 --- a/python/docs/google/protobuf/proto_builder.rst +++ b/python/docs/google/protobuf/proto_builder.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/reflection.rst b/python/docs/google/protobuf/reflection.rst index d177fc02f..c80683455 100644 --- a/python/docs/google/protobuf/reflection.rst +++ b/python/docs/google/protobuf/reflection.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/service.rst b/python/docs/google/protobuf/service.rst index 6d71f8108..ddc427f36 100644 --- a/python/docs/google/protobuf/service.rst +++ b/python/docs/google/protobuf/service.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/service_reflection.rst b/python/docs/google/protobuf/service_reflection.rst index 30f30dd29..f088c170a 100644 --- a/python/docs/google/protobuf/service_reflection.rst +++ b/python/docs/google/protobuf/service_reflection.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/struct_pb2.rst b/python/docs/google/protobuf/struct_pb2.rst index 9179eede3..7b2548788 100644 --- a/python/docs/google/protobuf/struct_pb2.rst +++ b/python/docs/google/protobuf/struct_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/symbol_database.rst b/python/docs/google/protobuf/symbol_database.rst index 6ea73522f..99a8c10a6 100644 --- a/python/docs/google/protobuf/symbol_database.rst +++ b/python/docs/google/protobuf/symbol_database.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/text_encoding.rst b/python/docs/google/protobuf/text_encoding.rst index a2eb959dc..5a070e5db 100644 --- a/python/docs/google/protobuf/text_encoding.rst +++ b/python/docs/google/protobuf/text_encoding.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/text_format.rst b/python/docs/google/protobuf/text_format.rst index 686b8fc00..5c2c346f3 100644 --- a/python/docs/google/protobuf/text_format.rst +++ b/python/docs/google/protobuf/text_format.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/timestamp_pb2.rst b/python/docs/google/protobuf/timestamp_pb2.rst index 540df8395..62e470884 100644 --- a/python/docs/google/protobuf/timestamp_pb2.rst +++ b/python/docs/google/protobuf/timestamp_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/type_pb2.rst b/python/docs/google/protobuf/type_pb2.rst index e9b19d7b8..cbd4150d1 100644 --- a/python/docs/google/protobuf/type_pb2.rst +++ b/python/docs/google/protobuf/type_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/google/protobuf/wrappers_pb2.rst b/python/docs/google/protobuf/wrappers_pb2.rst index 8f29aa783..64f9cbbfd 100644 --- a/python/docs/google/protobuf/wrappers_pb2.rst +++ b/python/docs/google/protobuf/wrappers_pb2.rst @@ -5,7 +5,7 @@ .. warning:: You are reading the documentation for the `latest committed changes - `_ of + `_ of the `Protocol Buffers package for Python `_. Some features may not yet be released. Read the documentation for the diff --git a/python/docs/index.rst b/python/docs/index.rst index 5535b398a..544b18e02 100644 --- a/python/docs/index.rst +++ b/python/docs/index.rst @@ -52,6 +52,7 @@ Modules and Packages google/protobuf/text_format google/protobuf/timestamp_pb2 google/protobuf/type_pb2 + google/protobuf/unknown_fields google/protobuf/wrappers_pb2 .. END REFTOC.