Important
Automatic Deployment Filter: This site only builds and deploys to GitHub Pages when commit messages start with the build: prefix (e.g., build: fixed typo). Other commits bypass deployment to save run minutes.
This repository contains the source code for the AnimeTV Developer Documentation, built using VitePress.
It serves as the central hub for developers to understand the project architecture, access build commands, configure TV D-pad navigation, write webview scrapers, and follow guidelines.
-
Install Dependencies
npm install
-
Run Development Server
npm run docs:dev
-
Build Static Site
npm run docs:build
-
Preview Build Locally
npm run docs:preview
This documentation is deployed automatically to GitHub Pages.
To save CI run minutes and prevent unnecessary builds, the GitHub Actions deployment workflow is restricted. It will only run if:
- The workflow is triggered manually via Workflow Dispatch.
- The head commit message starts with the
build:prefix (e.g.build: update architecture docs).
Other commits will skip the build and deployment process.
.github/workflows/deploy.yml— GitHub Actions deployment pipeline..vitepress/— VitePress routing, sidebars, search configuration, and purple branding theme files.guide/— The markdown source files for developer documentation:getting-started.md— Setup, prerequisites, and developer guide.build-guide.md— Building for Android TV/Mobile and Windows.architecture.md— Clean architecture pattern breakdown.dpad-navigation.md— Spatial grid remote control algorithms.webview-scraping.md— CronetEngine and JS injection scraper systems.naming-refactor.md— Naming conventions and deprecation roadmaps.contributing.md— Branch policies and commit formats.governance.md— RFC process and community governance.roadmap.md— Roadmap priorities and remaining checklist tasks.
We welcome contributions to keep these docs comprehensive and accurate.
- Create a Branch: Use prefixes like
docs/(e.g.,docs/add-android-tips). - Make Changes: Follow formatting standards. Verify compilation locally using
npm run docs:buildbefore pushing. - Commit Message Format: If your changes should be deployed immediately to the public site, ensure your commit message is prefixed with
build:. - Submit a PR: Open a Pull Request targeting the
mainbranch.