|
| 1 | +--- |
| 2 | +title: "Contribute to PipeCD Blogs" |
| 3 | +linkTitle: "Contribute to PipeCD Blogs" |
| 4 | +weight: 3 |
| 5 | +description: > |
| 6 | + This page describes how to contribute blog posts to PipeCD. |
| 7 | +--- |
| 8 | + |
| 9 | +We welcome blog contributions from the community! Blog posts are a great way to share your experiences, tutorials, and insights about PipeCD with other users. |
| 10 | + |
| 11 | +## What makes a good blog post? |
| 12 | + |
| 13 | +Blog posts can cover a variety of topics, including: |
| 14 | + |
| 15 | +- **Announcements**: New features, releases, or project updates |
| 16 | +- **Tutorials**: Step-by-step guides on using PipeCD features |
| 17 | +- **Use cases**: How you or your organization uses PipeCD |
| 18 | +- **Best practices**: Tips and tricks for getting the most out of PipeCD |
| 19 | +- **Integrations**: How to integrate PipeCD with other tools |
| 20 | + |
| 21 | +## Where blog posts live |
| 22 | + |
| 23 | +Blog posts are located in the `/docs/content/en/blog/` directory within the [pipe-cd/pipecd repository](https://github.com/pipe-cd/pipecd). |
| 24 | + |
| 25 | +## Blog post format |
| 26 | + |
| 27 | +Each blog post is a Markdown file with YAML front matter. Here's the structure: |
| 28 | + |
| 29 | +```yaml |
| 30 | +--- |
| 31 | +date: 2025-01-03 |
| 32 | +title: "Your Blog Post Title" |
| 33 | +linkTitle: "Short Title for Navigation" |
| 34 | +weight: 980 |
| 35 | +description: "A brief description of your post" |
| 36 | +author: Your Name ([@your-github-handle](https://github.com/your-github-handle)) |
| 37 | +categories: ["Announcement"] |
| 38 | +tags: ["Tag1", "Tag2"] |
| 39 | +--- |
| 40 | + |
| 41 | +Your content here... |
| 42 | +``` |
| 43 | + |
| 44 | +### Front matter fields |
| 45 | + |
| 46 | +| Field | Required | Description | |
| 47 | +|-------|----------|-------------| |
| 48 | +| `date` | Yes | Publication date in `YYYY-MM-DD` format | |
| 49 | +| `title` | Yes | Full title of your blog post | |
| 50 | +| `linkTitle` | Yes | Shorter title used in navigation menus | |
| 51 | +| `weight` | Yes | Controls ordering (lower = newer, typically use ~980-990) | |
| 52 | +| `description` | No | Brief summary for SEO and previews | |
| 53 | +| `author` | Yes | Your name with GitHub profile link | |
| 54 | +| `categories` | Yes | One of: `Announcement`, `Tutorial`, `Release` | |
| 55 | +| `tags` | No | Relevant keywords for your post | |
| 56 | + |
| 57 | +### Content guidelines |
| 58 | + |
| 59 | +- Use clear, concise language |
| 60 | +- Include code examples where appropriate (use fenced code blocks with language identifiers) |
| 61 | +- Add images to `/docs/static/images/` and reference them as `` |
| 62 | +- Structure your post with headings (`##`, `###`) for readability |
| 63 | +- Include a conclusion or summary section |
| 64 | + |
| 65 | +## How to submit your blog post |
| 66 | + |
| 67 | +1. **Fork and clone** the [pipecd repository](https://github.com/pipe-cd/pipecd) |
| 68 | + |
| 69 | +2. **Create a branch** for your blog post: |
| 70 | + ```bash |
| 71 | + git checkout -b blog/your-post-title |
| 72 | + ``` |
| 73 | + |
| 74 | +3. **Create your blog post** file in `/docs/content/en/blog/`: |
| 75 | + ```bash |
| 76 | + touch docs/content/en/blog/your-post-title.md |
| 77 | + ``` |
| 78 | + |
| 79 | +4. **Add any images** to `/docs/static/images/` |
| 80 | + |
| 81 | +5. **Preview locally** by running: |
| 82 | + ```bash |
| 83 | + make run/site |
| 84 | + ``` |
| 85 | + Then visit `http://localhost:1313/blog/` to see your post. |
| 86 | + |
| 87 | +6. **Commit and push** your changes: |
| 88 | + ```bash |
| 89 | + git add . |
| 90 | + git commit -s -m "blog: add post about your-topic" |
| 91 | + git push origin blog/your-post-title |
| 92 | + ``` |
| 93 | + |
| 94 | +7. **Open a Pull Request** against the `master` branch |
| 95 | + |
| 96 | +## Review process |
| 97 | + |
| 98 | +A maintainer will review your blog post for: |
| 99 | + |
| 100 | +- Technical accuracy |
| 101 | +- Clarity and readability |
| 102 | +- Adherence to the format guidelines |
| 103 | +- Appropriate use of images and code examples |
| 104 | + |
| 105 | +Feel free to reach out on the [#pipecd Slack channel](https://cloud-native.slack.com/) if you have questions or want feedback on your draft before submitting. |
| 106 | + |
| 107 | +Thank you for contributing to the PipeCD blog! |
0 commit comments