Revert "Migrate WebRTC documentation to new renderer"
This reverts commit 3eceaf46695518f25bef43f155f82ed174827197.
Reason for revert:
Original change's description:
> Migrate WebRTC documentation to new renderer
>
> Bug: b/258408932
> Change-Id: Ib96f39fe0c3912f9746bcc09d079097a145d6115
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290987
> Reviewed-by: Harald Alvestrand <hta@webrtc.org>
> Commit-Queue: Artem Titov <titovartem@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#39205}
Bug: b/258408932
Change-Id: I16cb4088bee3fc15c2bb88bd692c592b3a7db9fe
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291560
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39209}
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 14c4886..f6b7d0f 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -1,6 +1,3 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-01-01'} *-->
-
# Contributors Code of Conduct
Google and the WebRTC team are committed to preserving and fostering a diverse, welcoming and open
diff --git a/api/README.md b/api/README.md
index 7153cb5..7c1a27f 100644
--- a/api/README.md
+++ b/api/README.md
@@ -1,9 +1,6 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-01-01'} *-->
-
# How to write code in the `api/` directory
-Mostly, just follow the regular [style guide](/g3doc/style-guide.md), but:
+Mostly, just follow the regular [style guide](../g3doc/style-guide.md), but:
* Note that `api/` code is not exempt from the “`.h` and `.cc` files come in
pairs” rule, so if you declare something in `api/path/to/foo.h`, it should be
@@ -20,7 +17,7 @@
For headers in `api/` that need to refer to non-public types, forward
declarations are often a lesser evil than including non-public header files. The
-usual [rules](/g3doc/style-guide.md#forward-declarations) still apply, though.
+usual [rules](../g3doc/style-guide.md#forward-declarations) still apply, though.
`.cc` files in `api/` should preferably be kept reasonably small. If a
substantial implementation is needed, consider putting it with our non-public
diff --git a/api/g3doc/index.md b/api/g3doc/index.md
index b576514..0c7136c 100644
--- a/api/g3doc/index.md
+++ b/api/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-04-12'} *-->
+<?% config.freshness.owner = 'hta' %?>
+<?% config.freshness.reviewed = '2021-04-12' %?>
# The WebRTC API
diff --git a/api/g3doc/threading_design.md b/api/g3doc/threading_design.md
index 8023b5e..20c3539 100644
--- a/api/g3doc/threading_design.md
+++ b/api/g3doc/threading_design.md
@@ -1,6 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-04-12'} *-->
-
+<?% config.freshness.owner = 'hta' %?>
+<?% config.freshness.reviewed = '2021-04-12' %?>
# API Threading Design considerations
The header files in this directory form the API to the WebRTC library
diff --git a/g3doc.lua b/g3doc.lua
new file mode 100644
index 0000000..85d8474
--- /dev/null
+++ b/g3doc.lua
@@ -0,0 +1 @@
+return require(this.dirname..'g3doc/g3doc.lua')
diff --git a/g3doc/abseil-in-webrtc.md b/g3doc/abseil-in-webrtc.md
index 32fc42d..80572a3 100644
--- a/g3doc/abseil-in-webrtc.md
+++ b/g3doc/abseil-in-webrtc.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'danilchap' reviewed: '2021-05-12'} *-->
-
# Using Abseil in WebRTC
+<?% config.freshness.owner = 'danilchap' %?>
+<?% config.freshness.reviewed = '2021-05-12' %?>
+
You may use a subset of the utilities provided by the [Abseil][abseil]
library when writing WebRTC C++ code. Below, we list the explicitly
*allowed* and the explicitly *disallowed* subsets of Abseil; if you
diff --git a/g3doc/become_a_committer.md b/g3doc/become_a_committer.md
index b2f4972..8045c06 100644
--- a/g3doc/become_a_committer.md
+++ b/g3doc/become_a_committer.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-10-26'} *-->
-
# How to get tryjob access or become WebRTC committer
+<?% config.freshness.owner = 'titovartem' %?>
+<?% config.freshness.reviewed = '2021-10-26' %?>
+
## Overview
There are two levels of WebRTC contributors access:
diff --git a/g3doc/field-trials.md b/g3doc/field-trials.md
index e4f946a..66246de 100644
--- a/g3doc/field-trials.md
+++ b/g3doc/field-trials.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'lndmrk' reviewed: '2022-06-23'} *-->
-
# Field trials
+<?% config.freshness.owner = 'lndmrk' %?>
+<?% config.freshness.reviewed = '2022-06-23' %?>
+
WebRTC provides some means to alter its default behavior during run-time,
colloquially known as *field trials*. This is foremost used for A/B testing new
features and are related to
diff --git a/g3doc/g3doc.lua b/g3doc/g3doc.lua
new file mode 100644
index 0000000..e97289f
--- /dev/null
+++ b/g3doc/g3doc.lua
@@ -0,0 +1,20 @@
+return {
+ theme = {
+ '@builtins/theme/ng.md',
+ -- We don't want to have more than h3 headings in the Table Of Content.
+ toc_level = 3,
+ },
+
+ site = {
+ name = 'WebRTC C++ library',
+ home = this.dirname..'index.md',
+ logo = this.dirname..'logo.svg',
+ map = this.dirname..'sitemap.md',
+ -- Ensure absolute links are rewritten correctly.
+ root = this.dirname..'..'
+ },
+
+ visibility = { '/...' },
+
+ freshness = {}
+}
diff --git a/g3doc/how_to_write_documentation.md b/g3doc/how_to_write_documentation.md
index 6c6a490..a29d686 100644
--- a/g3doc/how_to_write_documentation.md
+++ b/g3doc/how_to_write_documentation.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2023-01-16'} *-->
-
# How to write WebRTC documentation
+<?% config.freshness.owner = 'titovartem' %?>
+<?% config.freshness.reviewed = '2021-03-01' %?>
+
## Audience
Engineers and tech writers who wants to contribute to WebRTC documentation
@@ -15,7 +15,7 @@
is to impart understanding.
Conceptual documentation often cannot be embedded directly within the source
-code because it usually describes multiple APIs and entities, so the only
+code because it usually describes multiple APIs and entites, so the only
logical place to document such complex behavior is through a separate
conceptual document.
@@ -28,14 +28,7 @@
In the WebRTC repo, conceptual documentation is located in `g3doc` subfolders
of related components. To add a new document for the component `Foo` find a
`g3doc` subfolder for this component and create a `.md` file there with
-desired documentation. If there is no `g3doc` subfolder, create a new one.
-
-Please put the following file header into any created documentation file as the
-first line:
-
-```markdown
-<!-- go/cmark -->
-```
+desired documentation. If there is no `g3doc` subfolder, create a new one;
When you want to specify a link from one page to another - use the absolute
path:
@@ -49,7 +42,17 @@
of your `.md` file immediately after page title:
```markdown
-<!--* freshness: {owner: '<user name>' reviewed: '<last review date in format yyyy-mm-dd>' *-->
+<?\% config.freshness.owner = '<user name>' %?>
+<?\% config.freshness.reviewed = '<last review date in format yyyy-mm-dd>' %?>
+```
+
+If you want to configure the owner for all pages under a directory, create a
+`g3doc.lua` file in that directory with the content:
+
+```lua
+config = super()
+config.freshness.owner = '<user name>'
+return config
```
After the document is ready you should add it into `/g3doc/sitemap.md`, so it
diff --git a/g3doc/implementation_basics.md b/g3doc/implementation_basics.md
index ae1f199..fce476b 100644
--- a/g3doc/implementation_basics.md
+++ b/g3doc/implementation_basics.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-05-31'} *-->
+<?% config.freshness.owner = 'hta' %?>
+<?% config.freshness.reviewed = '2021-05-31' %?>
# Basic concepts and primitives
diff --git a/g3doc/index.md b/g3doc/index.md
index 8016054..50a3934 100644
--- a/g3doc/index.md
+++ b/g3doc/index.md
@@ -1,6 +1,6 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-03-01'} *-->
-
# WebRTC C++ library
+<?% config.freshness.owner = 'titovartem' %?>
+<?% config.freshness.reviewed = '2021-03-01' %?>
+
This is a home page for WebRTC C++ library documentation
diff --git a/g3doc/sitemap.md b/g3doc/sitemap.md
index 664028c..f3230e1 100644
--- a/g3doc/sitemap.md
+++ b/g3doc/sitemap.md
@@ -2,14 +2,9 @@
* How to contribute
* Code
* [Style guide](/g3doc/style-guide.md)
- * [`.h` and `.cc` files come in pairs](g3doc/style-guide/h-cc-pairs.md)
- * [How to write code in the `api/` directory](/api/README.md)
- * [Using Abseil in WebRTC](/g3doc/abseil-in-webrtc.md)
- * [Code of conduct](/CODE_OF_CONDUCT.md)
* [Documentation](/g3doc/how_to_write_documentation.md)
* [Become a committer](/g3doc/become_a_committer.md)
* [Public C++ API](/api/g3doc/index.md)
- * [API header files](/native-api.md)
* [Threading](/api/g3doc/threading_design.md)
* Implementation
* [Basic concepts](/g3doc/implementation_basics.md)
diff --git a/g3doc/style-guide.md b/g3doc/style-guide.md
index 71d1196..fa0d3e6 100644
--- a/g3doc/style-guide.md
+++ b/g3doc/style-guide.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'danilchap' reviewed: '2022-01-17'} *-->
-
# WebRTC coding style guide
+<?% config.freshness.owner = 'danilchap' %?>
+<?% config.freshness.reviewed = '2022-01-17' %?>
+
## General advice
Some older parts of the code violate the style guide in various ways.
diff --git a/g3doc/style-guide/h-cc-pairs.md b/g3doc/style-guide/h-cc-pairs.md
index 08eed85..bb85871 100644
--- a/g3doc/style-guide/h-cc-pairs.md
+++ b/g3doc/style-guide/h-cc-pairs.md
@@ -1,9 +1,9 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'danilchap' reviewed: '2021-05-12'} *-->
-
# `.h` and `.cc` files come in pairs
-This is an overflow page for [this](/g3doc/style-guide.md#h-cc-pairs)
+<?% config.freshness.owner = 'danilchap' %?>
+<?% config.freshness.reviewed = '2021-05-12' %?>
+
+This is an overflow page for [this](../style-guide.md#h-cc-pairs)
style rule.
## Example violations
diff --git a/g3doc/supported-platforms-and-compilers.md b/g3doc/supported-platforms-and-compilers.md
index 4e65767..aa393bb 100644
--- a/g3doc/supported-platforms-and-compilers.md
+++ b/g3doc/supported-platforms-and-compilers.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'mbonadei' reviewed: '2021-06-25'} *-->
-
# WebRTC supported plaftorms and compilers
+<?% config.freshness.owner = 'mbonadei' %?>
+<?% config.freshness.reviewed = '2021-06-25' %?>
+
## Operating systems and CPUs
The list of officially supported operating systems and CPUs is:
diff --git a/logging/g3doc/rtc_event_log.md b/logging/g3doc/rtc_event_log.md
index 7ffeb68..6b81de1 100644
--- a/logging/g3doc/rtc_event_log.md
+++ b/logging/g3doc/rtc_event_log.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'terelius' reviewed: '2021-06-02'} *-->
-
# RTC event log
+<?% config.freshness.owner = 'terelius' %?>
+<?% config.freshness.reviewed = '2021-06-02' %?>
+
## Overview
RTC event logs can be enabled to capture in-depth inpformation about sent and
diff --git a/modules/audio_coding/g3doc/index.md b/modules/audio_coding/g3doc/index.md
index 467563e..d0f6b9f 100644
--- a/modules/audio_coding/g3doc/index.md
+++ b/modules/audio_coding/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hlundin' reviewed: '2021-04-13'} *-->
+<?% config.freshness.owner = 'minyue' %?>
+<?% config.freshness.reviewed = '2021-04-13' %?>
# The WebRTC Audio Coding Module
diff --git a/modules/audio_coding/neteq/g3doc/index.md b/modules/audio_coding/neteq/g3doc/index.md
index 40e76e2..e97324d 100644
--- a/modules/audio_coding/neteq/g3doc/index.md
+++ b/modules/audio_coding/neteq/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'jakobi' reviewed: '2021-04-13'} *-->
+<?% config.freshness.reviewed = '2021-04-13' %?>
+<?% config.freshness.owner = 'jakobi' %?>
# NetEq
diff --git a/modules/audio_device/g3doc/audio_device_module.md b/modules/audio_device/g3doc/audio_device_module.md
index e325faa..101b2e4 100644
--- a/modules/audio_device/g3doc/audio_device_module.md
+++ b/modules/audio_device/g3doc/audio_device_module.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'henrika' reviewed: '2021-04-12'} *-->
-
# Audio Device Module (ADM)
+<?% config.freshness.owner = 'henrika' %?>
+<?% config.freshness.reviewed = '2021-04-12' %?>
+
## Overview
The ADM is responsible for driving input (microphone) and output (speaker) audio
diff --git a/modules/audio_mixer/g3doc/index.md b/modules/audio_mixer/g3doc/index.md
index 6b48378..4ced289 100644
--- a/modules/audio_mixer/g3doc/index.md
+++ b/modules/audio_mixer/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'alessiob' reviewed: '2021-04-21'} *-->
+<?% config.freshness.owner = 'alessiob' %?>
+<?% config.freshness.reviewed = '2021-04-21' %?>
# The WebRTC Audio Mixer Module
diff --git a/modules/audio_processing/g3doc/audio_processing_module.md b/modules/audio_processing/g3doc/audio_processing_module.md
index a77f62f..fc63b34 100644
--- a/modules/audio_processing/g3doc/audio_processing_module.md
+++ b/modules/audio_processing/g3doc/audio_processing_module.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'peah' reviewed: '2021-04-13'} *-->
-
# Audio Processing Module (APM)
+<?% config.freshness.owner = 'peah' %?>
+<?% config.freshness.reviewed = '2021-04-13' %?>
+
## Overview
The APM is responsible for applying speech enhancements effects to the
diff --git a/modules/pacing/g3doc/index.md b/modules/pacing/g3doc/index.md
index 69f1e69..edc548a 100644
--- a/modules/pacing/g3doc/index.md
+++ b/modules/pacing/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'sprang' reviewed: '2021-04-12'} *-->
+<?% config.freshness.reviewed = '2021-04-12' %?>
+<?% config.freshness.owner = 'sprang' %?>
# Paced Sending
diff --git a/modules/video_coding/g3doc/index.md b/modules/video_coding/g3doc/index.md
index fdf3998..2e5695b 100644
--- a/modules/video_coding/g3doc/index.md
+++ b/modules/video_coding/g3doc/index.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'brandtr' reviewed: '2021-04-15'} *-->
+<?% config.freshness.owner = 'brandtr' %?>
+<?% config.freshness.reviewed = '2021-04-15' %?>
# Video coding in WebRTC
diff --git a/native-api.md b/native-api.md
index edd68e2..53e6b1c 100644
--- a/native-api.md
+++ b/native-api.md
@@ -1,6 +1,3 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-01-01'} *-->
-
# API header files
As a user of the WebRTC library, you may use headers and build files
diff --git a/p2p/g3doc/ice.md b/p2p/g3doc/ice.md
index 81c9541..eef979b 100644
--- a/p2p/g3doc/ice.md
+++ b/p2p/g3doc/ice.md
@@ -1,8 +1,8 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'jonaso' reviewed: '2021-04-12'} *-->
-
# ICE
+<?% config.freshness.owner = 'jonaso' %?>
+<?% config.freshness.reviewed = '2021-04-12' %?>
+
## Overview
ICE ([link](https://developer.mozilla.org/en-US/docs/Glossary/ICE)) provides
diff --git a/pc/g3doc/dtls_transport.md b/pc/g3doc/dtls_transport.md
index 28d6739..b5343c1 100644
--- a/pc/g3doc/dtls_transport.md
+++ b/pc/g3doc/dtls_transport.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-05-07'} *-->
+<?% config.freshness.reviewed = '2021-05-07' %?>
+<?% config.freshness.owner = 'hta' %?>
## Overview
diff --git a/pc/g3doc/peer_connection.md b/pc/g3doc/peer_connection.md
index cd01265..1eae135 100644
--- a/pc/g3doc/peer_connection.md
+++ b/pc/g3doc/peer_connection.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-05-07'} *-->
+<?% config.freshness.reviewed = '2021-05-07' %?>
+<?% config.freshness.owner = 'hta' %?>
# PeerConnection and friends
diff --git a/pc/g3doc/rtp.md b/pc/g3doc/rtp.md
index 28da3fb..38c1702 100644
--- a/pc/g3doc/rtp.md
+++ b/pc/g3doc/rtp.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-06-03'} *-->
+<?% config.freshness.reviewed = '2021-06-03' %?>
+<?% config.freshness.owner = 'hta' %?>
# RTP in WebRTC
diff --git a/pc/g3doc/sctp_transport.md b/pc/g3doc/sctp_transport.md
index 1613153..266387c 100644
--- a/pc/g3doc/sctp_transport.md
+++ b/pc/g3doc/sctp_transport.md
@@ -1,5 +1,6 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-04-13'} *-->
+
+<?% config.freshness.reviewed = '2021-04-13' %?>
+<?% config.freshness.owner = 'hta' %?>
# SctpTransport
diff --git a/pc/g3doc/srtp.md b/pc/g3doc/srtp.md
index eb457ef..4744615 100644
--- a/pc/g3doc/srtp.md
+++ b/pc/g3doc/srtp.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2021-05-13'} *-->
+<?% config.freshness.reviewed = '2021-05-13' %?>
+<?% config.freshness.owner = 'hta' %?>
# SRTP in WebRTC
diff --git a/stats/g3doc/stats.md b/stats/g3doc/stats.md
index 25127dc..790e101 100644
--- a/stats/g3doc/stats.md
+++ b/stats/g3doc/stats.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'hta' reviewed: '2022-10-01'} *-->
+<?% config.freshness.reviewed = '2022-10-01' %?>
+<?% config.freshness.owner = 'hta' %?>
# getStats in WebRTC
diff --git a/test/network/g3doc/g3doc.lua b/test/network/g3doc/g3doc.lua
new file mode 100644
index 0000000..981393c
--- /dev/null
+++ b/test/network/g3doc/g3doc.lua
@@ -0,0 +1,5 @@
+config = super()
+
+config.freshness.owner = 'titovartem'
+
+return config
diff --git a/test/network/g3doc/index.md b/test/network/g3doc/index.md
index c82b564..5d51191 100644
--- a/test/network/g3doc/index.md
+++ b/test/network/g3doc/index.md
@@ -1,8 +1,7 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-03-01'} *-->
-
# Network Emulation Framework
+<?% config.freshness.reviewed = '2021-03-01' %?>
+
[TOC]
## Disclamer
diff --git a/test/pc/e2e/g3doc/architecture.md b/test/pc/e2e/g3doc/architecture.md
index 1b68c6d..aacdf7e 100644
--- a/test/pc/e2e/g3doc/architecture.md
+++ b/test/pc/e2e/g3doc/architecture.md
@@ -1,5 +1,4 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-04-12'} *-->
+<?% config.freshness.reviewed = '2021-04-12' %?>
# PeerConnection level framework fixture architecture
diff --git a/test/pc/e2e/g3doc/default_video_quality_analyzer.md b/test/pc/e2e/g3doc/default_video_quality_analyzer.md
index 6759677..ed182d8 100644
--- a/test/pc/e2e/g3doc/default_video_quality_analyzer.md
+++ b/test/pc/e2e/g3doc/default_video_quality_analyzer.md
@@ -1,5 +1,4 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-02-21'} *-->
+<?% config.freshness.reviewed = '2021-02-21' %?>
# DefaultVideoQualityAnalyzer
diff --git a/test/pc/e2e/g3doc/g3doc.lua b/test/pc/e2e/g3doc/g3doc.lua
new file mode 100644
index 0000000..981393c
--- /dev/null
+++ b/test/pc/e2e/g3doc/g3doc.lua
@@ -0,0 +1,5 @@
+config = super()
+
+config.freshness.owner = 'titovartem'
+
+return config
diff --git a/test/pc/e2e/g3doc/index.md b/test/pc/e2e/g3doc/index.md
index 678262b..5a3c9a7 100644
--- a/test/pc/e2e/g3doc/index.md
+++ b/test/pc/e2e/g3doc/index.md
@@ -1,5 +1,4 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'titovartem' reviewed: '2021-04-12'} *-->
+<?% config.freshness.reviewed = '2021-04-12' %?>
# PeerConnection Level Framework
diff --git a/video/g3doc/adaptation.md b/video/g3doc/adaptation.md
index cb06e88..463f82c 100644
--- a/video/g3doc/adaptation.md
+++ b/video/g3doc/adaptation.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'eshr' reviewed: '2021-04-13'} *-->
+<?% config.freshness.reviewed = '2021-04-13' %?>
+<?% config.freshness.owner = 'eshr' %?>
# Video Adaptation
diff --git a/video/g3doc/stats.md b/video/g3doc/stats.md
index 7d485a0..0a423e1 100644
--- a/video/g3doc/stats.md
+++ b/video/g3doc/stats.md
@@ -1,5 +1,5 @@
-<!-- go/cmark -->
-<!--* freshness: {owner: 'asapersson' reviewed: '2021-04-14'} *-->
+<?% config.freshness.reviewed = '2021-04-14' %?>
+<?% config.freshness.owner = 'asapersson' %?>
# Video stats