Skip to content

Commit c0171a2

Browse files
committed
contrib: restructure Getting Started - Setup and Building into a Workflows section
The Getting Started section has a lot of technical detail. I thought it would be better moved to the end, and referenced from the contribution paths earlier in the guide. I haven't updated the paths yet. Also: - I added a central links.rst that can be included anywhere. - I omitted the "Editors and tools" section. It doesn't provide any useful information. - Perhaps the Workflows section could be further categorized. - The `c_blah_start` and `c_blah_end` comments are only for the temporary inclusions being used to demonstrate the new organization.
1 parent fbd82b4 commit c0171a2

File tree

13 files changed

+208
-10
lines changed

13 files changed

+208
-10
lines changed

contrib/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ these common sections:
5252

5353
* :ref:`c_intro`
5454
* :ref:`c_project`
55-
* :ref:`c_gettingstarted`
5655

5756
Then choose a path based on your type of activity:
5857

@@ -107,13 +106,13 @@ Contents
107106
contrib-plan
108107
intro/index
109108
project/index
110-
get-started/index
111109
triage/index
112110
doc/index
113111
code/index
114112
core-team/index
115113
user-success
116114
security
115+
workflows/index
117116

118117

119118
.. _Python: https://www.python.org/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_directory_structure:
8+
9+
===================
10+
Directory structure
11+
===================
12+
13+
[This is the :ref:`build_directory_structure` section from the devguide.]
14+
15+
.. include:: ../../getting-started/setup-building.rst
16+
:start-after: c_directory_structure_start
17+
:end-before: c_directory_structure_end

contrib/project/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ moving parts, who is involved, how do they interact?]
2424
governance
2525
generative-ai.rst
2626
github
27+
directory-structure.rst
2728
channels
2829
outreach

contrib/workflows/codespaces.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_using_codespaces:
8+
9+
=======================
10+
Using GitHub Codespaces
11+
=======================
12+
13+
[This is the :ref:`using-codespaces` section from the devguide.]
14+
15+
.. include:: ../../getting-started/setup-building.rst
16+
:start-after: c_codespaces_start
17+
:end-before: c_codespaces_end

contrib/workflows/compile.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_compiling:
8+
9+
=================
10+
Compile and build
11+
=================
12+
13+
.. note::
14+
[This is the :ref:`compiling` section from the devguide. I think this page
15+
is too long and could be split by build target, but we can leave that for a
16+
later time.]
17+
18+
.. include:: ../../getting-started/setup-building.rst
19+
:start-after: c_compile_and_build_start
20+
:end-before: c_compile_and_build_end
21+
22+
.. include:: ../../links.rst

contrib/workflows/get-source.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_checkout:
8+
9+
===================
10+
Get the source code
11+
===================
12+
13+
.. note::
14+
[This is the :ref:`checkout` section from the devguide. We might need to edit
15+
it to clarify that some steps are only needed for code contribution.]
16+
17+
.. include:: ../../getting-started/setup-building.rst
18+
:start-after: c_get_source_code_start
19+
:end-before: c_get_source_code_end

contrib/workflows/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ Workflows
1313

1414
This section contains details of workflows needed for all kinds of
1515
contribution.
16+
17+
.. toctree::
18+
19+
install-git.rst
20+
get-source.rst
21+
install-dependencies.rst
22+
compile.rst
23+
regenerate.rst
24+
troubleshooting.rst
25+
codespaces.rst
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_build-dependencies:
8+
9+
====================
10+
Install Dependencies
11+
====================
12+
13+
[This is the :ref:`build-dependencies` section from the devguide.]
14+
15+
.. include:: ../../getting-started/setup-building.rst
16+
:start-after: c_install_dependencies_start
17+
:end-before: c_install_dependencies_end

contrib/workflows/install-git.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_vcsetup:
8+
9+
===========
10+
Install Git
11+
===========
12+
13+
[This is the :ref:`vcsetup` section from the devguide.]
14+
15+
.. include:: ../../getting-started/setup-building.rst
16+
:start-after: c_install_git_start
17+
:end-before: c_install_git_end

contrib/workflows/regenerate.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. important::
2+
3+
|draft|
4+
5+
|purpose|
6+
7+
.. _c_regenerating:
8+
9+
===============================
10+
Regenerating auto-created files
11+
===============================
12+
13+
.. note::
14+
[These are two similar sections from the is the :ref:`setup-building` section from the devguide.]
15+
16+
Regenerate ``configure``
17+
========================
18+
19+
.. include:: ../../getting-started/setup-building.rst
20+
:start-after: c_regenerate_configure_start
21+
:end-before: c_regenerate_configure_end
22+
23+
Regenerate the ABI dump
24+
=======================
25+
26+
.. include:: ../../getting-started/setup-building.rst
27+
:start-after: c_regenerate_abi_start
28+
:end-before: c_regenerate_abi_end

0 commit comments

Comments
 (0)