docs(appium): add scripts for building html docs
MODIFY
packages/appium/docs/.gitignore
packages/appium/docs/.gitignore
en/assets
ja/assets
+site

MODIFY
packages/appium/docs/mkdocs-en.yml
packages/appium/docs/mkdocs-en.yml
@@ -4,6 +4,7 @@ edit_uri: edit/2.0/packages/appium/docs/en
site_description: The Appium automation project documentation
docs_dir: en
+site_dir: site/docs/en
theme:
language: en

MODIFY
packages/appium/docs/mkdocs-ja.yml
packages/appium/docs/mkdocs-ja.yml
@@ -4,6 +4,7 @@ edit_uri: edit/2.0/packages/appium/docs/ja
site_description: The Appium automation project documentation
docs_dir: ja
+site_dir: site/docs/ja
theme:
language: ja

MODIFY
packages/appium/package.json
packages/appium/package.json
"build": "babel lib --root-mode=upward --out-dir=build/lib",
"dev": "npm run build -- --watch",
"fix": "npm run lint -- --fix",
- "build:docs": "run-s build:docs:*",
+ "clean:docs": "rimraf ./docs/site",
+ "build:docs": "npm run clean:docs && run-s build:docs:*",
"build:docs:assets": "node docs/copy-assets.js",
"build:docs:en": "mkdocs build -f ./docs/mkdocs-en.yml",
+ "build:docs:ja": "mkdocs build -f ./docs/mkdocs-ja.yml",
"dev:docs": "npm run build:docs:assets && npm run dev:docs:en",
"dev:docs:en": "mkdocs serve -f ./docs/mkdocs-en.yml",
"dev:docs:ja": "mkdocs serve -f ./docs/mkdocs-ja.yml",

docs(appium): add scripts for building html docs