Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erqk committed Jun 25, 2024
1 parent f0b679f commit e723736
Show file tree
Hide file tree
Showing 37 changed files with 5,104 additions and 137 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Base href rewriter
uses: kannansuresh/ghaction-base-href-rewriter@v1.0.0
with:
base_href: '/ng-dynamic-json-form/'
html_path: '**/index.html'
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down
169 changes: 166 additions & 3 deletions docs/docs/conditions/conditions_en.md/index.html

Large diffs are not rendered by default.

169 changes: 166 additions & 3 deletions docs/docs/conditions/conditions_zh-TW.md/index.html

Large diffs are not rendered by default.

90 changes: 87 additions & 3 deletions docs/docs/configs/configs_en.md/index.html

Large diffs are not rendered by default.

90 changes: 87 additions & 3 deletions docs/docs/configs/configs_zh-TW.md/index.html

Large diffs are not rendered by default.

212 changes: 209 additions & 3 deletions docs/docs/custom-components/custom-components_en.md/index.html

Large diffs are not rendered by default.

216 changes: 213 additions & 3 deletions docs/docs/custom-components/custom-components_zh-TW.md/index.html

Large diffs are not rendered by default.

148 changes: 145 additions & 3 deletions docs/docs/custom-error/custom-error_en.md/index.html

Large diffs are not rendered by default.

148 changes: 145 additions & 3 deletions docs/docs/custom-error/custom-error_zh-TW.md/index.html

Large diffs are not rendered by default.

163 changes: 160 additions & 3 deletions docs/docs/custom-label/custom-label_en.md/index.html

Large diffs are not rendered by default.

163 changes: 160 additions & 3 deletions docs/docs/custom-label/custom-label_zh-TW.md/index.html

Large diffs are not rendered by default.

83 changes: 80 additions & 3 deletions docs/docs/custom-loading/custom-loading_en.md/index.html

Large diffs are not rendered by default.

83 changes: 80 additions & 3 deletions docs/docs/custom-loading/custom-loading_zh-TW.md/index.html

Large diffs are not rendered by default.

126 changes: 123 additions & 3 deletions docs/docs/form-component/form-component_en.md/index.html

Large diffs are not rendered by default.

126 changes: 123 additions & 3 deletions docs/docs/form-component/form-component_zh-TW.md/index.html

Large diffs are not rendered by default.

166 changes: 163 additions & 3 deletions docs/docs/getting-started/getting-started_en.md/index.html

Large diffs are not rendered by default.

166 changes: 163 additions & 3 deletions docs/docs/getting-started/getting-started_zh-TW.md/index.html

Large diffs are not rendered by default.

97 changes: 94 additions & 3 deletions docs/docs/input-mask/input-mask_en.md/index.html

Large diffs are not rendered by default.

98 changes: 95 additions & 3 deletions docs/docs/input-mask/input-mask_zh-TW.md/index.html

Large diffs are not rendered by default.

117 changes: 114 additions & 3 deletions docs/docs/input-types/input-types_en.md/index.html

Large diffs are not rendered by default.

117 changes: 114 additions & 3 deletions docs/docs/input-types/input-types_zh-TW.md/index.html

Large diffs are not rendered by default.

99 changes: 96 additions & 3 deletions docs/docs/layout/layout_en.md/index.html

Large diffs are not rendered by default.

98 changes: 95 additions & 3 deletions docs/docs/layout/layout_zh-TW.md/index.html

Large diffs are not rendered by default.

654 changes: 651 additions & 3 deletions docs/docs/options/options_en.md/index.html

Large diffs are not rendered by default.

653 changes: 650 additions & 3 deletions docs/docs/options/options_zh-TW.md/index.html

Large diffs are not rendered by default.

108 changes: 105 additions & 3 deletions docs/docs/props/props_en.md/index.html

Large diffs are not rendered by default.

108 changes: 105 additions & 3 deletions docs/docs/props/props_zh-TW.md/index.html

Large diffs are not rendered by default.

114 changes: 111 additions & 3 deletions docs/docs/styling/styling_en.md/index.html

Large diffs are not rendered by default.

114 changes: 111 additions & 3 deletions docs/docs/styling/styling_zh-TW.md/index.html

Large diffs are not rendered by default.

105 changes: 102 additions & 3 deletions docs/docs/ui-components/ui-components_en.md/index.html

Large diffs are not rendered by default.

105 changes: 102 additions & 3 deletions docs/docs/ui-components/ui-components_zh-TW.md/index.html

Large diffs are not rendered by default.

125 changes: 122 additions & 3 deletions docs/docs/validators/validators_en.md/index.html

Large diffs are not rendered by default.

125 changes: 122 additions & 3 deletions docs/docs/validators/validators_zh-TW.md/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/playground/index.html

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions get-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ const hostOrigin = "http://localhost:4201";
const docsPath = `${hostOrigin}/assets/docs`;
const routesFile = "./routes.txt";
const endOfLine = require("os").EOL;
const BASE_HREF = "/ng-dynamic-json-form/";
const staticRoutes = ["/", `${BASE_HREF}playground`];
const staticRoutes = ["/", "/playground"];

fetch(`${docsPath}/index.md`).then(async (res) => {
if (!res.ok) return;
Expand All @@ -32,7 +31,7 @@ fetch(`${docsPath}/index.md`).then(async (res) => {
const result = fileList
.match(/v{1,}.+\.md/g)
.map((x) => x.replace(/v{1,}\d*\//, ""))
.map((x) => `${BASE_HREF}docs/${x}`);
.map((x) => `/docs/${x}`);

(await acc).push(...result);
return acc;
Expand Down
66 changes: 33 additions & 33 deletions routes.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
/
/ng-dynamic-json-form/playground
/ng-dynamic-json-form/docs/getting-started/getting-started_en.md
/ng-dynamic-json-form/docs/configs/configs_en.md
/ng-dynamic-json-form/docs/form-component/form-component_en.md
/ng-dynamic-json-form/docs/input-types/input-types_en.md
/ng-dynamic-json-form/docs/custom-components/custom-components_en.md
/ng-dynamic-json-form/docs/ui-components/ui-components_en.md
/ng-dynamic-json-form/docs/validators/validators_en.md
/ng-dynamic-json-form/docs/options/options_en.md
/ng-dynamic-json-form/docs/conditions/conditions_en.md
/ng-dynamic-json-form/docs/input-mask/input-mask_en.md
/ng-dynamic-json-form/docs/props/props_en.md
/ng-dynamic-json-form/docs/layout/layout_en.md
/ng-dynamic-json-form/docs/custom-label/custom-label_en.md
/ng-dynamic-json-form/docs/custom-error/custom-error_en.md
/ng-dynamic-json-form/docs/custom-loading/custom-loading_en.md
/ng-dynamic-json-form/docs/styling/styling_en.md
/ng-dynamic-json-form/docs/getting-started/getting-started_zh-TW.md
/ng-dynamic-json-form/docs/configs/configs_zh-TW.md
/ng-dynamic-json-form/docs/form-component/form-component_zh-TW.md
/ng-dynamic-json-form/docs/input-types/input-types_zh-TW.md
/ng-dynamic-json-form/docs/custom-components/custom-components_zh-TW.md
/ng-dynamic-json-form/docs/ui-components/ui-components_zh-TW.md
/ng-dynamic-json-form/docs/validators/validators_zh-TW.md
/ng-dynamic-json-form/docs/options/options_zh-TW.md
/ng-dynamic-json-form/docs/conditions/conditions_zh-TW.md
/ng-dynamic-json-form/docs/input-mask/input-mask_zh-TW.md
/ng-dynamic-json-form/docs/props/props_zh-TW.md
/ng-dynamic-json-form/docs/layout/layout_zh-TW.md
/ng-dynamic-json-form/docs/custom-label/custom-label_zh-TW.md
/ng-dynamic-json-form/docs/custom-error/custom-error_zh-TW.md
/ng-dynamic-json-form/docs/custom-loading/custom-loading_zh-TW.md
/ng-dynamic-json-form/docs/styling/styling_zh-TW.md
/playground
/docs/getting-started/getting-started_en.md
/docs/configs/configs_en.md
/docs/form-component/form-component_en.md
/docs/input-types/input-types_en.md
/docs/custom-components/custom-components_en.md
/docs/ui-components/ui-components_en.md
/docs/validators/validators_en.md
/docs/options/options_en.md
/docs/conditions/conditions_en.md
/docs/input-mask/input-mask_en.md
/docs/props/props_en.md
/docs/layout/layout_en.md
/docs/custom-label/custom-label_en.md
/docs/custom-error/custom-error_en.md
/docs/custom-loading/custom-loading_en.md
/docs/styling/styling_en.md
/docs/getting-started/getting-started_zh-TW.md
/docs/configs/configs_zh-TW.md
/docs/form-component/form-component_zh-TW.md
/docs/input-types/input-types_zh-TW.md
/docs/custom-components/custom-components_zh-TW.md
/docs/ui-components/ui-components_zh-TW.md
/docs/validators/validators_zh-TW.md
/docs/options/options_zh-TW.md
/docs/conditions/conditions_zh-TW.md
/docs/input-mask/input-mask_zh-TW.md
/docs/props/props_zh-TW.md
/docs/layout/layout_zh-TW.md
/docs/custom-label/custom-label_zh-TW.md
/docs/custom-error/custom-error_zh-TW.md
/docs/custom-loading/custom-loading_zh-TW.md
/docs/styling/styling_zh-TW.md

0 comments on commit e723736

Please sign in to comment.