Skip to content

Commit d20061f

Browse files
nedbathugovk
andauthored
contrib guide: populate the Code section (#1450)
There is a warning about a duplicate target, but it doesn't seem to cause issues in the built project. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 0ad84cd commit d20061f

File tree

11 files changed

+114
-8
lines changed

11 files changed

+114
-8
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
====================
2+
Development workflow
3+
====================
4+
5+
.. important::
6+
7+
|draft|
8+
9+
|purpose|
10+
11+
[This is the existing :ref:`dev-workflow` page from the devguide]
12+
13+
.. toctree::
14+
:maxdepth: 5
15+
16+
../../developer-workflow/communication-channels
17+
../../developer-workflow/development-cycle
18+
../../developer-workflow/stdlib
19+
../../developer-workflow/extension-modules
20+
../../developer-workflow/c-api
21+
../../developer-workflow/lang-changes
22+
../../developer-workflow/grammar
23+
../../developer-workflow/porting
24+
../../developer-workflow/sbom
25+
../../developer-workflow/psrt

contrib/code/development-tools.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
=================
2+
Development tools
3+
=================
4+
5+
.. important::
6+
7+
|draft|
8+
9+
|purpose|
10+
11+
[This is the existing :ref:`development-tools` page from the devguide.]
12+
13+
.. toctree::
14+
:maxdepth: 5
15+
16+
../../development-tools/clinic
17+
../../development-tools/gdb
18+
../../development-tools/clang
19+
../../development-tools/warnings

contrib/code/git.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
========
2+
Git tips
3+
========
4+
5+
.. important::
6+
7+
|draft|
8+
9+
|purpose|
10+
11+
[More git help for advanced things needed by code contributors.]

contrib/code/index.rst

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,20 @@ Code contributions
88

99
|purpose|
1010

11-
* Code setup and building (more complex stuff, delta from basic setup above)
12-
* More Git bootcamp (pull requests, etc)
13-
* Lifecycle of a code pull request
14-
* Development workflow (from devguide)
15-
* Testing and buildbots (from devguide)
16-
* Development tools (from devguide)
17-
* CPython’s internals (from devguide)
18-
* Code style guide
11+
[The main page for code contributors.]
12+
13+
[We'll include code-focused content from the :ref:`main devguide page <devguide-main>`: Quick
14+
reference, Quick links, Proposing changes, and so on.]
15+
16+
[The existing "CPython's internals" section of the devguide will be fully
17+
migrated into the Python repo.]
18+
19+
20+
.. toctree::
21+
:maxdepth: 5
22+
23+
setup
24+
git
25+
developer-workflow
26+
testing
27+
development-tools

contrib/code/setup.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
==================
2+
Setup and building
3+
==================
4+
5+
.. important::
6+
7+
|draft|
8+
9+
|purpose|
10+
11+
[More setup and build instructions specifically for code contributors, building
12+
on the basics from the :ref:`Getting Started <getting-started>` section.]

contrib/code/testing.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
=====================
2+
Testing and buildbots
3+
=====================
4+
5+
.. important::
6+
7+
|draft|
8+
9+
|purpose|
10+
11+
[This is the existing :ref:`testing` page from the devguide.]
12+
13+
.. toctree::
14+
:maxdepth: 5
15+
16+
../../testing/run-write-tests
17+
../../testing/silence-warnings
18+
../../testing/coverage
19+
../../testing/buildbots
20+
../../testing/new-buildbot-worker

developer-workflow/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _dev-workflow:
2+
13
====================
24
Development workflow
35
====================

development-tools/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _development-tools:
2+
13
=================
24
Development tools
35
=================

getting-started/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _getting-started:
2+
13
===============
24
Getting started
35
===============

index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _devguide-main:
2+
13
========================
24
Python Developer's Guide
35
========================

0 commit comments

Comments
 (0)