Generate web documentation through Scripting Documentation (Scripting App's default script), built with Rspress as a static site.
.
├── .github/workflows # GitHub Actions deployment configuration
├── docs/ # Generated documentation directory
│ ├── App Store/ # App Store version documentation
│ │ ├── en/ # English documentation
│ │ └── zh/ # Chinese documentation
│ └── TestFlight/ # TestFlight version documentation
├── scripting/ # Scripting App script resources
│ ├── App Store/ # App Store version scripts
│ └── TestFlight/ # TestFlight version scripts
├── scripts/ # Documentation generation scripts
│ ├── docs.js # App Store documentation generation script
│ └── docs-tf.js # TestFlight documentation generation script
├── package.json # Project dependencies and scripts
├── rspress.config.ts # Rspress configuration file
└── README.md # Project documentation
- Bun (recommended) or Node.js
- Scripting App's default script "Scripting Documentation"
bun install-
Place
Scripting Documentation(Scripting App's default script) in the project root directory and extract it -
Run the documentation generation command:
bun run generate:docs- Run the build command:
bun run buildbun run devVisit http://localhost:5173 to preview the documentation.
- Extract Script: Extract script files from
scripting/App Store/Scripting Documentation.scripting - Read Configuration: Read document structure configuration from the extracted
doc.jsonfile - Generate Markdown: Generate multilingual (en/zh) Markdown documents based on configuration
- Build Website: Build Markdown files into a static website using Rspress
The project supports two versions of documentation:
- App Store: Official version documentation (default)
- TestFlight: Test version documentation (includes latest features)
bun run generate:docs:tfbun run build:funDocumentation is automatically deployed to GitHub Pages via GitHub Actions. Deployment configuration is located in the .github/workflows/ directory.
bun run deployScripting App supports a skills system that allows extending application functionality. Skills are independent script packages that can:
- Provide native API wrappers
- Create custom UI components
- Integrate third-party services
- Extend automation capabilities
Official skills are maintained in the ScriptingApp/skills repository. This repository contains a collection of ready-to-use skills that extend Scripting App's functionality.
In Scripting App, skills can be used in the following ways:
- Direct Call: Import and use APIs provided by skills in scripts
- AI Integration: AI assistants can automatically call skills to complete complex tasks
- Automation Workflows: Integrate skill functions in Shortcuts
This documentation project is maintained by the Scripting App developer. For bug reports or feature requests related to the documentation, please open an issue in this repository.
If you'd like to contribute new skills or improve existing ones, please visit the ScriptingApp/skills repository and follow the contribution guidelines there.
- ScriptingApp/Community-Scripts - Community script sharing
- ScriptingApp/scripting-app-lib - Scripting App library modules
- ScriptingApp/Package-Manager - Package manager
MIT License