|
71 | 71 | <label class="md-overlay" for="__drawer"></label> |
72 | 72 | <div data-md-component="skip"> |
73 | 73 |
|
| 74 | + |
| 75 | + <a href="#contributing-guide" class="md-skip"> |
| 76 | + Skip to content |
| 77 | + </a> |
| 78 | + |
74 | 79 | </div> |
75 | 80 | <div data-md-component="announce"> |
76 | 81 |
|
|
1513 | 1518 | <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc"> |
1514 | 1519 |
|
1515 | 1520 |
|
| 1521 | + |
| 1522 | + |
| 1523 | + |
| 1524 | + <label class="md-nav__link md-nav__link--active" for="__toc"> |
| 1525 | + |
| 1526 | + |
| 1527 | + |
| 1528 | + <span class="md-ellipsis"> |
| 1529 | + Contributing |
| 1530 | + |
| 1531 | + </span> |
| 1532 | + |
| 1533 | + |
| 1534 | + <span class="md-nav__icon md-icon"></span> |
| 1535 | + </label> |
1516 | 1536 |
|
1517 | 1537 | <a href="./" class="md-nav__link md-nav__link--active"> |
1518 | 1538 |
|
|
1526 | 1546 |
|
1527 | 1547 | </a> |
1528 | 1548 |
|
| 1549 | + |
| 1550 | + |
| 1551 | +<nav class="md-nav md-nav--secondary" aria-label="Table of contents"> |
| 1552 | + |
| 1553 | + |
| 1554 | + |
| 1555 | + |
| 1556 | + |
| 1557 | + |
| 1558 | + <label class="md-nav__title" for="__toc"> |
| 1559 | + <span class="md-nav__icon md-icon"></span> |
| 1560 | + Table of contents |
| 1561 | + </label> |
| 1562 | + <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> |
| 1563 | + |
| 1564 | + <li class="md-nav__item"> |
| 1565 | + <a href="#reporting-a-bug" class="md-nav__link"> |
| 1566 | + <span class="md-ellipsis"> |
| 1567 | + 🐞 Reporting a Bug |
| 1568 | + </span> |
| 1569 | + </a> |
| 1570 | + |
| 1571 | +</li> |
| 1572 | + |
| 1573 | + <li class="md-nav__item"> |
| 1574 | + <a href="#how-to-contribute-pull-request" class="md-nav__link"> |
| 1575 | + <span class="md-ellipsis"> |
| 1576 | + 🔄 How to Contribute (Pull Request) |
| 1577 | + </span> |
| 1578 | + </a> |
| 1579 | + |
| 1580 | +</li> |
| 1581 | + |
| 1582 | + <li class="md-nav__item"> |
| 1583 | + <a href="#code-requirements" class="md-nav__link"> |
| 1584 | + <span class="md-ellipsis"> |
| 1585 | + ✅ Code Requirements |
| 1586 | + </span> |
| 1587 | + </a> |
| 1588 | + |
| 1589 | +</li> |
| 1590 | + |
| 1591 | + <li class="md-nav__item"> |
| 1592 | + <a href="#questions" class="md-nav__link"> |
| 1593 | + <span class="md-ellipsis"> |
| 1594 | + ❓ Questions |
| 1595 | + </span> |
| 1596 | + </a> |
| 1597 | + |
| 1598 | +</li> |
| 1599 | + |
| 1600 | + </ul> |
| 1601 | + |
| 1602 | +</nav> |
| 1603 | + |
1529 | 1604 | </li> |
1530 | 1605 |
|
1531 | 1606 |
|
|
2314 | 2389 |
|
2315 | 2390 |
|
2316 | 2391 |
|
| 2392 | + |
| 2393 | + |
| 2394 | + |
| 2395 | + <label class="md-nav__title" for="__toc"> |
| 2396 | + <span class="md-nav__icon md-icon"></span> |
| 2397 | + Table of contents |
| 2398 | + </label> |
| 2399 | + <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> |
| 2400 | + |
| 2401 | + <li class="md-nav__item"> |
| 2402 | + <a href="#reporting-a-bug" class="md-nav__link"> |
| 2403 | + <span class="md-ellipsis"> |
| 2404 | + 🐞 Reporting a Bug |
| 2405 | + </span> |
| 2406 | + </a> |
| 2407 | + |
| 2408 | +</li> |
| 2409 | + |
| 2410 | + <li class="md-nav__item"> |
| 2411 | + <a href="#how-to-contribute-pull-request" class="md-nav__link"> |
| 2412 | + <span class="md-ellipsis"> |
| 2413 | + 🔄 How to Contribute (Pull Request) |
| 2414 | + </span> |
| 2415 | + </a> |
| 2416 | + |
| 2417 | +</li> |
| 2418 | + |
| 2419 | + <li class="md-nav__item"> |
| 2420 | + <a href="#code-requirements" class="md-nav__link"> |
| 2421 | + <span class="md-ellipsis"> |
| 2422 | + ✅ Code Requirements |
| 2423 | + </span> |
| 2424 | + </a> |
| 2425 | + |
| 2426 | +</li> |
| 2427 | + |
| 2428 | + <li class="md-nav__item"> |
| 2429 | + <a href="#questions" class="md-nav__link"> |
| 2430 | + <span class="md-ellipsis"> |
| 2431 | + ❓ Questions |
| 2432 | + </span> |
| 2433 | + </a> |
| 2434 | + |
| 2435 | +</li> |
| 2436 | + |
| 2437 | + </ul> |
2317 | 2438 |
|
2318 | 2439 | </nav> |
2319 | 2440 | </div> |
|
2332 | 2453 |
|
2333 | 2454 |
|
2334 | 2455 |
|
2335 | | - <h1>Contributing</h1> |
2336 | | - |
2337 | | -<p>123</p> |
| 2456 | +<h1 id="contributing-guide">Contributing Guide</h1> |
| 2457 | +<p>Welcome! |
| 2458 | +Thank you for your interest in improving <strong>python-boilerplate/poetry-template</strong>. This project is my personal template, and <strong>only bug fixes are accepted</strong>.</p> |
| 2459 | +<hr /> |
| 2460 | +<h2 id="reporting-a-bug">🐞 Reporting a Bug</h2> |
| 2461 | +<p>Before submitting a bug report:</p> |
| 2462 | +<ul> |
| 2463 | +<li><strong>Check</strong> that the issue hasn’t already been reported in the <a href="https://github.com/python-boilerplate/poetry-template/issues">Issues</a> section.</li> |
| 2464 | +</ul> |
| 2465 | +<p>When reporting a bug, please include:</p> |
| 2466 | +<ul> |
| 2467 | +<li><strong>Steps to reproduce</strong> the bug</li> |
| 2468 | +<li><strong>Expected</strong> vs <strong>actual</strong> behavior</li> |
| 2469 | +<li>Any <strong>logs, error traces, or screenshots</strong> (if applicable)</li> |
| 2470 | +<li>Details about your <strong>Python version</strong>, <strong>OS</strong>, and any relevant environment info</li> |
| 2471 | +</ul> |
| 2472 | +<blockquote> |
| 2473 | +<p>Clear, detailed bug reports or feature descriptions help address problems faster.</p> |
| 2474 | +</blockquote> |
| 2475 | +<hr /> |
| 2476 | +<h2 id="how-to-contribute-pull-request">🔄 How to Contribute (Pull Request)</h2> |
| 2477 | +<ol> |
| 2478 | +<li><strong>Fork</strong> this repository to your own GitHub account.</li> |
| 2479 | +<li><strong>Create a branch</strong> for your fix.<br /> |
| 2480 | +<em>Branch naming suggestion:</em> <code>fix/short-bug-description</code></li> |
| 2481 | +<li><strong>Apply your changes</strong> on that branch (<strong><em>if it's a bug</em></strong>).</li> |
| 2482 | +<li><strong>Test your code</strong>:<ul> |
| 2483 | +<li>Run the test suite:<br /> |
| 2484 | + <div class="language-bash highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>make<span class="w"> </span><span class="nb">test</span> |
| 2485 | +</span></code></pre></div></li> |
| 2486 | +<li>Run the linter:<br /> |
| 2487 | + <div class="language-bash highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>make<span class="w"> </span>lint<span class="w"> </span><span class="o">&&</span><span class="w"> </span>make<span class="w"> </span>format |
| 2488 | +</span></code></pre></div></li> |
| 2489 | +</ul> |
| 2490 | +</li> |
| 2491 | +<li><strong>Describe your PR</strong> clearly and informatively.</li> |
| 2492 | +<li><strong>Open a Pull Request</strong> from your branch to this repository.</li> |
| 2493 | +</ol> |
| 2494 | +<hr /> |
| 2495 | +<h2 id="code-requirements">✅ Code Requirements</h2> |
| 2496 | +<div class="admonition success"> |
| 2497 | +<p class="admonition-title">!</p> |
| 2498 | +<ul> |
| 2499 | +<li><strong>Follow the existing code style.</strong></li> |
| 2500 | +<li><strong>Make sure all tests pass</strong> (<code>pytest</code>) (if needed).</li> |
| 2501 | +<li><strong>Lint and Format your code</strong> with <code>ruff</code> before submitting (if needed).</li> |
| 2502 | +<li><strong>Do not</strong> add new features or change existing functionality without agreement.</li> |
| 2503 | +</ul> |
| 2504 | +</div> |
| 2505 | +<hr /> |
| 2506 | +<h2 id="questions">❓ Questions</h2> |
| 2507 | +<div class="admonition question"> |
| 2508 | +<p class="admonition-title">!</p> |
| 2509 | +<p>If you have questions about contributing,<br /> |
| 2510 | +please <a href="https://github.com/python-boilerplate/poetry-template/issues/new">open an issue</a> or comment on an existing one.</p> |
| 2511 | +</div> |
| 2512 | +<hr /> |
| 2513 | +<p>Thank you for helping make this template better!</p> |
2338 | 2514 |
|
2339 | 2515 |
|
2340 | 2516 |
|
|
0 commit comments