Skip to content

Commit b522455

Browse files
committed
docs: add <!-- {% raw %} --> at head and <!-- {% endraw %} --> ait tail
1 parent 74d7753 commit b522455

File tree

213 files changed

+639
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+639
-39
lines changed

zh-cn/EventBus.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
模板版本:v0.2.0
23

34
<p align="center">
@@ -323,3 +324,5 @@ export default EventBusDemo;
323324
## 遗留问题
324325

325326
## 其他
327+
328+
<!-- {% endraw %} -->

zh-cn/Immer.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
模板版本:v0.2.1
23

34
<p align="center">
@@ -815,3 +816,5 @@ export default MyComponent;
815816
## 开源协议
816817
817818
本项目基于 [The MIT License (MIT)](https://github.com/immerjs/immer/blob/main/LICENSE) ,请自由地享受和参与开源。
819+
820+
<!-- {% endraw %} -->

zh-cn/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> [!WARNING] 本文档仅用于三方库使用指导,不涉及任何 React Native OpenHarmony 框架的信息,且会随着 React Native OpenHarmony 框架持续迭代更新,当前版本不代表最终展示版本。
23
34
# 简介
@@ -171,3 +172,5 @@
171172
## 社区
172173

173174
[Github Organization: react-native-oh-library](https://github.com/react-native-oh-library)
175+
176+
<!-- {% endraw %} -->

zh-cn/codegen.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
# Codegen 使用指导
23

34
## 简介
@@ -78,3 +79,5 @@ PackageProvider::getPackages(Package::Context ctx) {
7879
};
7980
}
8081
```
82+
83+
<!-- {% endraw %} -->

zh-cn/contribute.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
# 贡献文档
23

34
非常欢迎您贡献文档,我们鼓励开发者以各种方式参与文档反馈和贡献。您可以对现有文档进行评价、简单更改、反馈文档质量问题、贡献您的原创内容。
@@ -46,3 +47,5 @@ react-native-pager-view -> react-native-pager-view.md
4647
`commit 信息模板`
4748
[Issues: #I8K7DK] 新增 react-native-svg 文档
4849
```
50+
51+
<!-- {% endraw %} -->

zh-cn/crypto-js.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -621,3 +622,5 @@ import C from "crypto-js";
621622
## 开源协议
622623

623624
本项目基于 [MIT License](https://github.com/brix/crypto-js/blob/4.2.0/LICENSE) ,请自由地享受和参与开源。
625+
626+
<!-- {% endraw %} -->

zh-cn/dayJs.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -341,3 +342,5 @@ dayjs.extend(duration)
341342
## 开源协议
342343

343344
本项目基于 [The MIT License (MIT)](https://github.com/iamkun/dayjs/blob/dev/LICENSE) ,请自由地享受和参与开源。
345+
346+
<!-- {% endraw %} -->

zh-cn/deepmerge.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -111,3 +112,5 @@ deepmerge(x, y); // => output
111112
## 开源协议
112113

113114
本项目基于 [The MIT License (MIT)](https://github.com/TehShrike/deepmerge/blob/master/license.txt) ,请自由地享受和参与开源。
115+
116+
<!-- {% endraw %} -->

zh-cn/htmlparser2.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -179,3 +180,5 @@ export interface CheerioOptions extends Parse5Options {
179180
## 开源协议
180181

181182
本项目基于 [The MIT License (MIT)](https://github.com/fb55/htmlparser2/blob/master/LICENSE) ,请自由地享受和参与开源。
183+
184+
<!-- {% endraw %} -->

zh-cn/jeanregisser-react-native-slider.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -182,3 +183,5 @@ const styles = StyleSheet.create({
182183
## 开源协议
183184

184185
本项目基于 [The MIT License (MIT)](https://github.com/jeanregisser/react-native-slider/blob/master/LICENSE) ,请自由地享受和参与开源。
186+
187+
<!-- {% endraw %} -->

zh-cn/js-beautify.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -773,3 +774,5 @@ options对应的参数如下所示,当对应属性未指定时,均为如下
773774
## 开源协议
774775
775776
本项目基于 [The MIT License (MIT)](https://github.com/beautifier/js-beautify/blob/main/LICENSE) ,请自由地享受和参与开源。
777+
778+
<!-- {% endraw %} -->

zh-cn/jsbarcode.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -322,3 +323,5 @@ jsbarcode库依赖react-native-svg库进行条形码展示, 因svg 当前仅实
322323
## 开源协议
323324

324325
本项目基于 [MIT License](https://github.com/lindell/JsBarcode/blob/master/MIT-LICENSE.txt) ,请自由地享受和参与开源。
326+
327+
<!-- {% endraw %} -->

zh-cn/link-source-code.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
### 引入原生端代码
23

34
#### 直接链接源码情况说明
@@ -42,3 +43,5 @@ modules:[
4243
cd entry
4344
ohpm install
4445
```
46+
47+
<!-- {% endraw %} -->

zh-cn/lodash.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -177,3 +178,5 @@ lodashStable.findLastIndex(users, "active");
177178
## 开源协议
178179

179180
本项目基于 [The MIT License (MIT)](https://github.com/lodash/lodash/blob/4.17.21/LICENSE) ,请自由地享受和参与开源。
181+
182+
<!-- {% endraw %} -->

zh-cn/lottie-react-native.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -238,3 +239,5 @@ ohpm install
238239
## 开源协议
239240

240241
本项目基于 [Apache License 2.0](https://github.com/lottie-react-native/lottie-react-native/blob/master/LICENSE) ,请自由地享受和参与开源。
242+
243+
<!-- {% endraw %} -->

zh-cn/mobx-react.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -107,3 +108,5 @@ const TodoView = observer(({ todo }) => <div>{todo.title}</div>);
107108
## 开源协议
108109

109110
本项目基于 [The MIT License (MIT)](https://github.com/mobxjs/mobx/blob/mobx-react%407.6.0/LICENSE) ,请自由地享受和参与开源。
111+
112+
<!-- {% endraw %} -->

zh-cn/mobx.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -168,3 +169,5 @@ setInterval(() => {
168169
## 开源协议
169170

170171
本项目基于 [The MIT License (MIT)](https://github.com/mobxjs/mobx/blob/mobx%406.10.0/LICENSE) ,请自由地享受和参与开源。
172+
173+
<!-- {% endraw %} -->

zh-cn/model.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
# 文档模板(删除)
23

34
> [!ATTENTION] 使用模板时请将后面带有 (删除) 的语句删除。<>内是需要修改的内容。(删除)
@@ -342,3 +343,5 @@ Needed for Android and harmony to work properly with assets, iOS will ignore it.
342343
本项目基于 [XXX License (XXX)](https://github.com/xxx/xxx/blob/main/LICENSE.md) ,请自由地享受和参与开源。
343344

344345
例子:本项目基于 [The MIT License (MIT)](https://github.com/callstack/react-native-slider/blob/main/LICENSE.md) ,请自由地享受和参与开源。(删除)
346+
347+
<!-- {% endraw %} -->

zh-cn/moment.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -258,3 +259,5 @@ moment().format("hh:mm:ss a");
258259
## 其他
259260

260261
## 开源协议
262+
263+
<!-- {% endraw %} -->

zh-cn/parse5.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -99,3 +100,5 @@ console.log(str); //> '<div>Hello, <b>world</b>!</div>'
99100
## 开源协议
100101

101102
本项目基于 [The MIT License (MIT)](https://github.com/inikulin/parse5/blob/master/LICENSE) ,请自由地享受和参与开源。
103+
104+
<!-- {% endraw %} -->

zh-cn/prop-types.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -88,3 +89,5 @@ optionalEnum: PropTypes.oneOf(['News', 'Photos']),
8889
## 开源协议
8990

9091
本项目基于 [The MIT License (MIT)](https://github.com/facebook/prop-types/blob/v15.8.1/LICENSE) ,请自由地享受和参与开源。
92+
93+
<!-- {% endraw %} -->

zh-cn/qrcode-generator.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -155,3 +156,5 @@ api
155156
## 开源协议
156157

157158
本项目基于 [The MIT License (MIT)](https://github.com/facebook/prop-types/blob/v15.8.1/LICENSE) ,请自由地享受和参与开源。
159+
160+
<!-- {% endraw %} -->

zh-cn/react-ahooks.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
模板版本:v0.2.0
23

34
<p align="center">
@@ -219,3 +220,5 @@ export function WhyDidYouUpdate() {
219220
## 开源协议
220221

221222
本项目基于 [MIT License](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Foblador%2Freact-native-progress%2Fblob%2Fmaster%2FLICENSE) ,请自由地享受和参与开源。
223+
224+
<!-- {% endraw %} -->

zh-cn/react-i18next.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -110,3 +111,5 @@ root.render(<App />);
110111
## 开源协议
111112

112113
本项目基于 [The MIT License (MIT)](https://github.com/i18next/react-i18next/blob/master/LICENSE) ,请自由地享受和参与开源。
114+
115+
<!-- {% endraw %} -->

zh-cn/react-lifecycles-compat.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -163,3 +164,5 @@ export default ExampleComponent;
163164
为了使polyfill工作,您的组件不能定义以下生命周期:componentWillMount,componentWillReceiveProps,componentWillUpdate.
164165

165166
如果您的组件包含getSnapshotBeforeUpdate,那么也必须定义componentDidUpdate,如果不满足上述任何条件,将抛出错误.
167+
168+
<!-- {% endraw %} -->

zh-cn/react-native-MJRefresh.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.1
23
34
<p align="center">
@@ -301,3 +302,5 @@ ohpm install
301302
## 开源协议
302303

303304
本项目基于 [Apache License (Apache)](https://github.com/react-native-studio/react-native-MJRefresh/blob/master/LICENSE) ,请自由地享受和参与开源。
305+
306+
<!-- {% endraw %} -->

zh-cn/react-native-QRCode.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12

23
> 模板版本:v0.2.1
34
@@ -91,3 +92,5 @@ return (
9192

9293
本项目基于 [The MIT License (MIT)](https://github.com/cssivision/react-native-qrcode/blob/master/LICENSE) ,请自由地享受和参与开源。
9394

95+
96+
<!-- {% endraw %} -->

zh-cn/react-native-SmartRefreshLayout.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -391,3 +392,5 @@ ohpm install
391392
## 开源协议
392393

393394
本项目基于 [Apache License 2.0](https://github.com/react-native-studio/react-native-SmartRefreshLayout/blob/0.6.7/LICENSE) ,请自由地享受和参与开源。
395+
396+
<!-- {% endraw %} -->

zh-cn/react-native-action-button.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -145,3 +146,5 @@ const styles = StyleSheet.create({
145146
## 开源协议
146147

147148
本项目基于 [MIT License](https://github.com/mastermoo/react-native-action-button/blob/master/LICENSE) ,请自由地享受和参与开源。
149+
150+
<!-- {% endraw %} -->

zh-cn/react-native-action-sheet.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -239,3 +240,5 @@ const styles = StyleSheet.create({
239240

240241
## 开源协议
241242
本项目基于 [The MIT License (MIT)](https://github.com/expo/react-native-action-sheet/blob/master/LICENSE) ,请自由地享受和参与开源。
243+
244+
<!-- {% endraw %} -->

zh-cn/react-native-animatable.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.2.0
23
34
<p align="center">
@@ -119,3 +120,5 @@ isInteraction | 此动画是否在交互管理器上创建“交互控制柄”
119120
本项目基于 [The MIT License (MIT)](https://github.com/oblador/react-native-animatable/blob/master/LICENSE) ,请自由地享受和参与开源。
120121

121122

123+
124+
<!-- {% endraw %} -->

zh-cn/react-native-animate-number.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
模板版本:v0.2.0
23

34
<p align="center">
@@ -159,3 +160,5 @@ export default App;
159160
## 遗留问题
160161

161162
## 其他
163+
164+
<!-- {% endraw %} -->

zh-cn/react-native-aria.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- {% raw %} -->
12
> 模板版本:v0.1.3
23
34
<p align="center">
@@ -566,3 +567,5 @@ const styles = StyleSheet.create({
566567
## 开源协议
567568

568569
本项目基于 [The MIT License (MIT)](https://github.com/gluestack/react-native-aria/blob/main/LICENSE),请自由地享受和参与开源。
570+
571+
<!-- {% endraw %} -->

0 commit comments

Comments
 (0)