This repository contains the official documentation for ERC-4337 (Account Abstraction).
-
Clone the repository:
git clone https://github.com/eth-infinitism/aa-mkdocs.git cd aa-mkdocs -
Set up Python virtual environment:
python3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Serve locally:
mkdocs serve
Open http://127.0.0.1:8000 in your browser.
To build the static site:
mkdocs buildThe built site will be in the site/ directory.
This documentation is automatically built and deployed using:
- Cloudflare Pages for hosting
- GitHub Actions for CI/CD
- MkDocs Material for the documentation framework
- Build command:
pip install -r requirements.txt && mkdocs build - Output directory:
site - Python version: 3.11
- PR Previews: Enabled (automatic preview deployments for pull requests)
The repository includes GitHub Actions workflow (.github/workflows/mkdocs-ci.yml) that:
- Runs on every pull request to
main - Installs dependencies
- Builds the documentation with strict mode
- Blocks PRs if build fails
- Fork the repository and create a feature branch
- Make your changes to the documentation
- Test locally with
mkdocs serve - Create a pull request - this will trigger:
- CI build validation
- Cloudflare Pages preview deployment
- Review and merge - changes will be automatically deployed to production
- No web editor - all changes must be made via pull requests
- Test locally before submitting PRs
- Follow Markdown best practices
- Update navigation in
mkdocs.ymlif adding new sections - Use descriptive commit messages
- Production site: https://docs.erc4337.io
- Repository: https://github.com/eth-infinitism/aa-mkdocs
- Issues: https://github.com/eth-infinitism/aa-mkdocs/issues
- MkDocs - Static site generator
- Material for MkDocs - Theme and features
- Python 3.11 - Runtime environment
- Cloudflare Pages - Hosting and CDN
- GitHub Actions - CI/CD pipeline