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 0000000000..c8d71a84ec --- /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 0000000000..7ba283d061 --- /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 b26102e110..6c472e190f 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 b6f47ef3fd..9fca2d2ee6 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 29b07746f4..5a8a264680 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 1b8b3904d8..660fc41a71 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 94eec35c34..9f20f49551 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 c2ee33e7b3..aa8de30e99 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 4233e3cb52..9e9a032a3c 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 c386a4c5c9..f117553691 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 d9d807069e..1c11f46d11 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 c3b8e594a7..67009bc9c1 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 eb3b0c5399..71023fcd90 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 a20424807c..c33561fd67 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 93183cc03d..19f66239b3 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 36243a2fff..718f612b52 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 d177fc02f6..c806834553 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 6d71f81088..ddc427f360 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 30f30dd293..f088c170a0 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 9179eede3c..7b2548788f 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 6ea73522f5..99a8c10a61 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 a2eb959dc0..5a070e5db0 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 686b8fc002..5c2c346f3c 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 540df8395d..62e4708843 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 e9b19d7b85..cbd4150d1d 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 8f29aa7838..64f9cbbfd1 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 5535b398a9..544b18e02d 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.