2.4 KiB
Tech Context
Technologies Used
-
phpDocumentor 3.7.1: The primary documentation generation tool that parses PHP source code and generates structured documentation.
-
GitHub Actions: CI/CD platform used to automate the documentation generation and deployment process.
-
GitHub Pages: Hosting platform for the generated documentation.
-
PHP: The primary programming language of the MainWP ecosystem being documented.
-
HTML/CSS/JavaScript: Used for the custom home page and additional developer resources.
-
Markdown: Used for supplementary documentation and README files.
-
XML: Used for phpDocumentor configuration files.
-
Git: Version control system for managing source code and documentation.
Development Setup
-
Local Environment:
- PHP 7.4+ installed locally for testing phpDocumentor
- Git for version control
- Text editor or IDE (e.g., VSCode, PHPStorm)
-
GitHub Repository:
- Repository for the MainWP.dev documentation project
- Access to the two MainWP source repositories
-
phpDocumentor Configuration:
- Configuration files for each source repository
- Custom templates if needed
-
GitHub Actions Configuration:
- Workflow files for automating documentation generation
- Secrets and permissions configured for repository access
Technical Constraints
-
phpDocumentor Limitations:
- Requires properly documented code with PHPDoc comments
- May have issues with certain PHP language features
- Performance considerations for large codebases
-
GitHub Pages Constraints:
- Limited to static content
- No server-side processing
- Size limitations for repositories
-
GitHub Actions Constraints:
- Limited execution time for workflows
- Limited storage for artifacts
- Rate limiting for API calls
-
Documentation Completeness:
- Dependent on the quality of source code documentation
- May require manual supplementation for poorly documented areas
Dependencies
-
External Services:
- GitHub (for repository hosting, GitHub Actions, and GitHub Pages)
-
Software Dependencies:
- phpDocumentor 3.7.1
- PHP 7.4+ (for running phpDocumentor)
- Git (for version control)
-
Source Code Dependencies:
- Access to the two MainWP source repositories
- Properly documented source code with PHPDoc comments
-
Workflow Dependencies:
- GitHub Actions runners
- Repository permissions and secrets