Skip to content

Commit ed798d0

Browse files
Protocol Buffer TeamLogofile
authored andcommitted
This documentation change resolves some merge
conflicts. PiperOrigin-RevId: 663425236 Change-Id: Idb326bb419539b15e55cafec1d279bad8a7e45d1
1 parent d3b5133 commit ed798d0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ jobs:
1414
contents: write
1515
runs-on: ubuntu-22.04
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v3
1818
with:
1919
submodules: true # Fetch Hugo themes (true OR recursive)
2020
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2121

22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: 20
25-
2622
- name: Setup Hugo
27-
uses: peaceiris/actions-hugo@v3
23+
uses: peaceiris/actions-hugo@v2
2824
with:
2925
hugo-version: 0.121.2
3026
extended: true
@@ -36,7 +32,7 @@ jobs:
3632
run: hugo --minify
3733

3834
- name: Deploy
39-
uses: peaceiris/actions-gh-pages@v4
35+
uses: peaceiris/actions-gh-pages@v3
4036
if: github.ref == 'refs/heads/main'
4137
with:
4238
github_token: ${{ secrets.GITHUB_TOKEN }}

content/programming-guides/enum.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ open, and when importing from another editions file it uses the feature setting.
110110

111111
All known C++ releases are out of conformance. When a `proto2` file imports an
112112
enum defined in a `proto3` file, C++ treats that field as a **closed** enum.
113+
113114
Under editions, this behavior is represented by the deprecated field feature
114115
[`features.(pb.cpp).legacy_closed_enum`](/editions/features#legacy_closed_enum).
115116
There are two options for moving to conformant behavior:
@@ -121,7 +122,7 @@ There are two options for moving to conformant behavior:
121122
* Change the enum to closed. This is discouraged, and can cause runtime
122123
behavior changes if *anybody else* is using the enum. Unrecognized integers
123124
will end up in the unknown field set instead of those fields.
124-
125+
125126
### C# {#csharp}
126127

127128
All known C# releases are out of conformance. C# treats all enums as **open**.

0 commit comments

Comments
 (0)