We welcome contributions from the community! Follow these guidelines to help us improve the Awesome Ads repository.
├── docs/
│ ├── channels/ # One guide per advertising channel
│ ├── resources/ # Cross-cutting topics (analytics, legal, FAQ, …)
│ ├── ad-templates/ # Template and design resources
│ ├── meta/ # Repo documentation and community policy
│ ├── assets/ # Social preview card
│ └── stylesheets/ # Site theme (extra.css)
├── .github/ # CI, issue/PR templates
├── scripts/ # Build and validation scripts
└── overrides/ # Theme template overrides (social tags, page actions)
Add new channel guides under docs/channels/. Add cross-cutting topics under docs/resources/. The site nav is generated at build time from those folders. Start each page with an H1. Optional <!-- nav_order: 20 --> on the next line controls sidebar order.
After reviewing a guide and its sources, add or update <!-- reviewed: YYYY-MM-DD --> on a separate line after the H1, beside any nav_order comment. The site shows that date as “Last reviewed.” Missing, invalid, future and more-than-12-month-old review dates produce build preparation warnings.
To run the checks in step 5 you need:
- Python 3.12 (the version CI uses)
- Node.js, for
npx markdownlint-cli2 - The site build tools:
pip install -r requirements-docs.txt -c constraints-docs.txt - Git, because the link checker reads the list of tracked files
- Fork the repository — TMHSDigital/Awesome-Ads
- Clone your fork
git clone https://github.com/your-username/Awesome-Ads.git cd Awesome-Ads - Create a branch
git checkout -b your-branch-name
- Make your changes — follow existing markdown style; keep links relative.
- Verify locally. These are the same checks CI runs on your pull request. See Prerequisites if a command is missing.
npx markdownlint-cli2@0.24.0 "**/*.md" python -m unittest scripts.test_catalog scripts.test_check_internal_links python scripts/check-public-repo-hygiene.py python scripts/check-internal-links.py python scripts/prepare-mkdocs.py zensical build --strict -f mkdocs.gen.yml - Commit and push
git commit -m "Description of your changes" git push origin your-branch-name - Open a pull request against
main.
The site is built with Zensical. Install it and serve the docs site:
pip install -r requirements-docs.txt -c constraints-docs.txt
python scripts/prepare-mkdocs.py
zensical serve -f mkdocs.gen.ymlOpen the local URL printed by zensical serve (typically port 8000). Run prepare-mkdocs.py again after you add or rename a guide.
- Write clear, accurate prose aimed at small-business readers.
- Publish a statistic, price, or benchmark only with a primary source (the platform, a regulator or the law, a company filing, or a dated report with a stated method), linked next to the figure with its date. If no primary source exists, give the guidance in words without a number. Put cost benchmarks in the table in
docs/resources/BUDGETING.mdand link to it. - Use relative links so pages work on GitHub and GitHub Pages.
- End markdown files with a single trailing newline.
- The published site catalog is generated from the docs folders. Do not maintain another page list. The one exception is the guide tables in the root README, which a unit test keeps in sync: add a row there when you add a guide.
Use Issues for bugs and content gaps. Reference issue numbers in commits when fixing them:
git commit -m "Fixes #123: Description of the fix"Follow our Community Guidelines.