Skip to content

Commit

Permalink
fix: doc url (#37)
Browse files Browse the repository at this point in the history
* fix: address error in document

* feat: update docs error

* refactor: update obook

---------

Co-authored-by: huang yao <[email protected]>
  • Loading branch information
kirakiray and kirakiray authored Nov 9, 2023
1 parent 8cb86ab commit 52d0d54
Show file tree
Hide file tree
Showing 27 changed files with 113 additions and 113 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- [tag](./others/tag.md): Get the tag name of the target.
- [ele](./instance/ele.md): Get the actual native element of the instance.
- [index](./others/index.md): Get the index of the target element within its parent element.
- [tag](../../api/others/tag.md): Get the tag name of the target.
- [ele](../../api/instance/ele.md): Get the actual native element of the instance.
- [index](../../api/others/index.md): Get the index of the target element under its parent element.
- [text](../../api/props/text.md): Get or set the text of the target element.
- [html](../../api/props/html.md): Get or set the HTML code of the target element.
- [css](../../api/props/css.md): Get or set the style of the target element.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [before](../../api/operation/before.md): Add elements before the target instance.
- [after](../../api/operation/after.md): Add elements after the target instance.
- [remove](../../api/operation/remove.md): Remove the target element.
- [attr](../../api/props/attr.md): Get or set the [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes) of the target element.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- [tag](../../api/others/tag.md): Obtén el nombre de la etiqueta del objetivo
- [ele](../../api/instance/ele.md): Obtén el elemento nativo real de la instancia
- [index](../../api/others/index.md): Obtén el orden del elemento objetivo en su elemento padre
- [text](../../api/props/text.md): Obtén o establece el texto del elemento objetivo
- [html](../../api/props/html.md): Obtén o establece el código HTML del elemento objetivo
- [css](../../api/props/css.md): Obtén o establece el estilo del elemento objetivo
- [style](../../api/props/style.md): Obtén el estilo nativo del elemento objetivo
- [classList](../../api/props/class-list.md): Obtén la lista de clases nativas del elemento objetivo
- [data](../../api/props/data.md): Obtén el conjunto de datos nativos del elemento objetivo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [before](../../api/operación/before.md): agregar un elemento antes de la instancia objetivo
- [after](../../api/operación/after.md): agregar un elemento después de la instancia objetivo
- [remove](../../api/operación/remove.md): eliminar el elemento objetivo
- [attr](../../api/props/attr.md): obtener o establecer los [atributos](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes) del elemento objetivo

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- [tag](../../api/others/tag.md):目標のタグ名を取得します
- [ele](../../api/instance/ele.md):インスタンスの実際のネイティブ要素を取得します
- [index](../../api/others/index.md):ターゲット要素が親要素内での順序を取得します
- [text](../../api/props/text.md):ターゲット要素のテキストを取得または設定します
- [html](../../api/props/html.md):ターゲット要素のHTMLコードを取得または設定します
- [css](../../api/props/css.md):ターゲット要素のスタイルを取得または設定します
- [style](../../api/props/style.md):ターゲット要素のネイティブスタイルを取得します
- [classList](../../api/props/class-list.md):ターゲット要素のネイティブクラスリストを取得します
- [data](../../api/props/data.md):ターゲット要素のネイティブデータセットを取得します
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [before](../../api/operation/before.md):ターゲットインスタンスの前に要素を追加します
- [after](../../api/operation/after.md):ターゲットインスタンスの後に要素を追加します
- [remove](../../api/operation/remove.md):ターゲット要素を削除します
- [attr](../../api/props/attr.md):ターゲット要素の[attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)を取得または設定します

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- [tag](../../api/others/tag.md): 대상의 태그 이름 가져오기
- [ele](../../api/instance/ele.md): 인스턴스의 실제 원시 요소 가져오기
- [index](../../api/others/index.md): 대상 요소가 부모 요소 내에서의 순서 가져오기
- [text](../../api/props/text.md): 대상 요소의 텍스트 가져오기 또는 설정하기
- [html](../../api/props/html.md): 대상 요소의 HTML 코드 가져오기 또는 설정하기
- [css](../../api/props/css.md): 대상 요소의 스타일 가져오기 또는 설정하기
- [style](../../api/props/style.md): 대상 요소의 원시 스타일 가져오기
- [classList](../../api/props/class-list.md): 대상 요소의 원시 class 목록 가져오기
- [data](../../api/props/data.md): 대상 요소의 원시 데이터 집합 가져오기
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [before](../../api/operation/before.md):대상 인스턴스의 앞에 요소 추가
- [after](../../api/operation/after.md):대상 인스턴스의 뒤에 요소 추가
- [remove](../../api/operation/remove.md):대상 요소 삭제
- [attr](../../api/props/attr.md):대상 요소의 [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)를 가져오거나 설정

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- [tag](./others/tag.md):獲取目標的標簽名
- [ele](./instance/ele.md):獲取實例的實際原生元素
- [index](./others/index.md):獲取目標元素在其父元素下的排序
- [tag](../../api/others/tag.md):獲取目標的標簽名
- [ele](../../api/instance/ele.md):獲取實例的實際原生元素
- [index](../../api/others/index.md):獲取目標元素在其父元素下的排序
- [text](../../api/props/text.md):獲取或設置目標元素的文本
- [html](../../api/props/html.md):獲取或設置目標元素的 HTML 代碼
- [css](../../api/props/css.md):獲取或設置目標元素的樣式
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [before](../../api/operation/before.md):在目標實例的前面添加元素
- [after](../../api/operation/after.md):在目標實例的後面添加元素
- [remove](../../api/operation/remove.md):刪除目標元素
- [attr](../../api/props/attr.md):獲取或設置目標元素的 [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)

This file was deleted.

2 changes: 1 addition & 1 deletion docs/_preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<!-- <l-m src="http://127.0.0.1:5512/src/book-tool.html"></l-m> -->
<l-m
src="https://cdn.jsdelivr.net/npm/[email protected].39/src/book-tool.html"
src="https://cdn.jsdelivr.net/npm/[email protected].41/src/book-tool.html"
></l-m>
<book-tool sw="./doc-sw.js" sitemap-root="https://ofajs.com">
<source src="./en/config.json" lang="en" />
Expand Down
12 changes: 6 additions & 6 deletions docs/cn/docs/get-started/common-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

## 常用的属性

- [tag](./others/tag.md):获取目标的标签名
- [ele](./instance/ele.md):获取实例的实际原生元素
- [index](./others/index.md):获取目标元素在其父元素下的排序
- [tag](../../api/others/tag.md):获取目标的标签名
- [ele](../../api/instance/ele.md):获取实例的实际原生元素
- [index](../../api/others/index.md):获取目标元素在其父元素下的排序
- [text](../../api/props/text.md):获取或设置目标元素的文本
- [html](../../api/props/html.md):获取或设置目标元素的 HTML 代码
- [css](../../api/props/css.md):获取或设置目标元素的样式
Expand All @@ -18,9 +18,9 @@

### 节点操作

- [before](./operation/before.md):在目标实例的前面添加元素
- [after](./operation/after.md):在目标实例的后面添加元素
- [remove](./operation/remove.md):删除目标元素
- [before](../../api/operation/before.md):在目标实例的前面添加元素
- [after](../../api/operation/after.md):在目标实例的后面添加元素
- [remove](../../api/operation/remove.md):删除目标元素
- [attr](../../api/props/attr.md):获取或设置目标元素的 [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)

## 重要特性
Expand Down
2 changes: 1 addition & 1 deletion docs/doc-sw.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
importScripts(`https://cdn.jsdelivr.net/npm/[email protected].39/src/sw/base.js`);
importScripts(`https://cdn.jsdelivr.net/npm/[email protected].41/src/sw/base.js`);
// importScripts(`http://127.0.0.1:5512/src/sw/base.js`);
12 changes: 6 additions & 6 deletions docs/en/docs/get-started/common-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ You can take a brief look at it, and refer to the API documentation whenever nee

## Common Properties

- [tag](./others/tag.md): Get the tag name of the target.
- [ele](./instance/ele.md): Get the actual native element of the instance.
- [index](./others/index.md): Get the index of the target element within its parent element.
- [tag](../../api/others/tag.md): Get the tag name of the target.
- [ele](../../api/instance/ele.md): Get the actual native element of the instance.
- [index](../../api/others/index.md): Get the index of the target element under its parent element.
- [text](../../api/props/text.md): Get or set the text of the target element.
- [html](../../api/props/html.md): Get or set the HTML code of the target element.
- [css](../../api/props/css.md): Get or set the style of the target element.
Expand All @@ -18,9 +18,9 @@ You can take a brief look at it, and refer to the API documentation whenever nee

### Node Operations

- [before](./operation/before.md): Add an element before the target instance.
- [after](./operation/after.md): Add an element after the target instance.
- [remove](./operation/remove.md): Remove the target element.
- [before](../../api/operation/before.md): Add elements before the target instance.
- [after](../../api/operation/after.md): Add elements after the target instance.
- [remove](../../api/operation/remove.md): Remove the target element.
- [attr](../../api/props/attr.md): Get or set the [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes) of the target element.

## Key Features
Expand Down
26 changes: 13 additions & 13 deletions docs/es/docs/get-started/common-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ Puede echar un vistazo rápido y, en el futuro, consultar la documentación de l

## Atributos comunes

- [tag](./others/tag.md): obtener el nombre de la etiqueta del objetivo
- [ele](./instance/ele.md): obtener el elemento nativo real de la instancia
- [index](./others/index.md): obtener el orden del elemento objetivo dentro de su elemento padre
- [text](../../api/props/text.md): obtener o establecer el texto del elemento objetivo
- [html](../../api/props/html.md): obtener o establecer el código HTML del elemento objetivo
- [css](../../api/props/css.md): obtener o establecer los estilos del elemento objetivo
- [style](../../api/props/style.md): obtener los estilos nativos del elemento objetivo
- [classList](../../api/props/class-list.md): obtener la lista de clases nativas del elemento objetivo
- [data](../../api/props/data.md): obtener el conjunto de datos nativos del elemento objetivo
- [tag](../../api/others/tag.md): Obtén el nombre de la etiqueta del objetivo
- [ele](../../api/instance/ele.md): Obtén el elemento nativo real de la instancia
- [index](../../api/others/index.md): Obtén el orden del elemento objetivo en su elemento padre
- [text](../../api/props/text.md): Obtén o establece el texto del elemento objetivo
- [html](../../api/props/html.md): Obtén o establece el código HTML del elemento objetivo
- [css](../../api/props/css.md): Obtén o establece el estilo del elemento objetivo
- [style](../../api/props/style.md): Obtén el estilo nativo del elemento objetivo
- [classList](../../api/props/class-list.md): Obtén la lista de clases nativas del elemento objetivo
- [data](../../api/props/data.md): Obtén el conjunto de datos nativos del elemento objetivo

### Operaciones de nodos

- [before](./operation/before.md): Agregar un elemento antes de la instancia objetivo
- [after](./operation/after.md): Agregar un elemento después de la instancia objetivo
- [remove](./operation/remove.md): Eliminar el elemento objetivo
- [attr](../../api/props/attr.md): Obtener o establecer los atributos del elemento objetivo [attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)
- [before](../../api/operación/before.md): agregar un elemento antes de la instancia objetivo
- [after](../../api/operación/after.md): agregar un elemento después de la instancia objetivo
- [remove](../../api/operación/remove.md): eliminar el elemento objetivo
- [attr](../../api/props/attr.md): obtener o establecer los [atributos](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes) del elemento objetivo

## Características importantes

Expand Down
26 changes: 13 additions & 13 deletions docs/ja/docs/get-started/common-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@

## 常用の属性

- [tag](./others/tag.md):目標のタグ名を取得します
- [ele](./instance/ele.md):インスタンスの実際のネイティブ要素を取得します
- [index](./others/index.md)対象要素の親要素内での順序を取得します
- [text](../../api/props/text.md)対象要素のテキストを取得または設定します
- [html](../../api/props/html.md)対象要素のHTMLコードを取得または設定します
- [css](../../api/props/css.md)対象要素のスタイルを取得または設定します
- [style](../../api/props/style.md)対象要素のネイティブスタイルを取得します
- [classList](../../api/props/class-list.md)対象要素のネイティブクラスリストを取得します
- [data](../../api/props/data.md)対象要素のネイティブデータセットを取得します
- [tag](../../api/others/tag.md):目標のタグ名を取得します
- [ele](../../api/instance/ele.md):インスタンスの実際のネイティブ要素を取得します
- [index](../../api/others/index.md)ターゲット要素が親要素内での順序を取得します
- [text](../../api/props/text.md)ターゲット要素のテキストを取得または設定します
- [html](../../api/props/html.md)ターゲット要素のHTMLコードを取得または設定します
- [css](../../api/props/css.md)ターゲット要素のスタイルを取得または設定します
- [style](../../api/props/style.md)ターゲット要素のネイティブスタイルを取得します
- [classList](../../api/props/class-list.md)ターゲット要素のネイティブクラスリストを取得します
- [data](../../api/props/data.md)ターゲット要素のネイティブデータセットを取得します

### ノードの操作

- [before](./operation/before.md)ターゲットインスタンスの前に要素を追加する
- [after](./operation/after.md)ターゲットインスタンスの後ろに要素を追加する
- [remove](./operation/remove.md)ターゲット要素を削除する
- [attr](../../api/props/attr.md):ターゲット要素の[attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)を取得または設定する
- [before](../../api/operation/before.md)ターゲットインスタンスの前に要素を追加します
- [after](../../api/operation/after.md)ターゲットインスタンスの後に要素を追加します
- [remove](../../api/operation/remove.md)ターゲット要素を削除します
- [attr](../../api/props/attr.md):ターゲット要素の[attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)を取得または設定します

## 重要な機能

Expand Down
Loading

0 comments on commit 52d0d54

Please sign in to comment.