Getting started
Set up your environment and choose which project to start with.
Choose your project
This repository contains two automation examples:
Release notes automation - Automate release notes creation from GitHub commits
Go to release notes tutorial
Doc site portfolio - Build a professional portfolio site with AI assistance
Go to portfolio tutorial
Both projects share similar setup requirements.
Prerequisites
Verify you have:
Required
- Python 3.8 or higher (check with
python --versionorpython3 --version) - Git installed (check with
git --version) - AI API access (Anthropic Claude or OpenAI account)
- Text editor (VS Code, Cursor, Sublime Text, or similar)
- Command line comfort (ability to run terminal commands)
Project-specific
For release notes automation: - GitHub account for API access (or GitLab or Bitbucket equivalent) - Existing docs-as-code workflow (makes adaptation easier)
For doc site portfolio: - GitHub account for deployment - Portfolio content (projects, writing samples, experience)
Recommended
- Cursor or AI coding tool for asking questions and iterating
- Write the Docs community membership for sharing and learning
Installation
1. Clone the repository
2. Choose your project directory
Navigate to the project you want to start with:
For release notes automation:
For doc site portfolio:
3. Create virtual environment
On macOS or Linux:
On Windows:
The terminal prompt shows (venv).
4. Install dependencies
For release notes automation:
This installs:
anthropicoropenai- AI provider SDKsPyGithub- GitHub API clientpyyaml- Configuration file parsing
For doc site portfolio:
This installs:
mkdocs- Static site generatormkdocs-material- Material themepymdown-extensions- Markdown extensions
5. Verify installation
For release notes automation:
For doc site portfolio:
Output without errors indicates successful setup.
Configuration
Get AI API keys
Both projects use AI for content generation. You need API access from one of these providers:
Option A: Anthropic (Claude)
- Go to console.anthropic.com
- Sign up or log in
- Navigate to API Keys
- Create a new key
- Copy the key (starts with
sk-ant-...)
Option B: OpenAI (ChatGPT)
- Go to platform.openai.com
- Sign up or log in
- Navigate to API Keys
- Create a new key
- Copy the key (starts with
sk-...)
Project-specific configuration
Each project has its own configuration requirements. Follow the tutorial for your chosen project for detailed setup:
Release notes automation:
Tutorial step 1: Setup environment
Doc site portfolio:
Tutorial step 1: Setup environment
Next steps
After setting up your environment:
For release notes automation:
- Document your process - Write down your manual release notes workflow
- Configure APIs - Add your API keys
- Run first time - Generate your first draft
For doc site portfolio:
- Plan your site - Define your portfolio goals
- Generate structure - Create your site navigation
- Write content - Draft your portfolio pages
Troubleshooting
If you encounter issues during setup:
- Python not found - Install Python from python.org
- Virtual environment issues - Try
python3 -m venv venvinstead ofpython -m venv venv - Dependency installation fails - Update pip with
pip install --upgrade pip - Import errors - Make sure your virtual environment is activated
For project-specific issues, see the troubleshooting guides:
Choose your project: