Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib: restructure Getting Started - Setup and Building into a Workflows section #1466

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contrib/core-team/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
|purpose|


.. _c_coreteam:

=========
Core team
=========
Expand Down
15 changes: 0 additions & 15 deletions contrib/get-started/index.rst

This file was deleted.

9 changes: 6 additions & 3 deletions contrib/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ these common sections:

* :ref:`c_intro`
* :ref:`c_project`
* :ref:`c_gettingstarted`

Then choose a path based on your type of activity:

Expand Down Expand Up @@ -96,20 +95,24 @@ major section at the top of each column.]*
* :ref:`gitbootcamp`
* :ref:`devcycle`

Core team members will find guidance in the :ref:`c_coreteam` section.

Contents
========

.. toctree::
:maxdepth: 3

contrib-plan
intro/index
project/index
get-started/index
triage/index
code/index
doc/index
code/index
core-team/index
user-success
security
workflows/index


.. _Python: https://www.python.org/
Expand Down
17 changes: 17 additions & 0 deletions contrib/project/directory-structure.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. important::

|draft|

|purpose|

.. _c_directory_structure:

===================
Directory structure
===================

[This is the :ref:`build_directory_structure` section from the devguide.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_directory_structure_start
:end-before: c_directory_structure_end
1 change: 1 addition & 0 deletions contrib/project/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ moving parts, who is involved, how do they interact?]
governance
generative-ai.rst
github
directory-structure.rst
channels
outreach
17 changes: 17 additions & 0 deletions contrib/workflows/codespaces.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. important::

|draft|

|purpose|

.. _c_using_codespaces:

=======================
Using GitHub Codespaces
=======================

[This is the :ref:`using-codespaces` section from the devguide.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_codespaces_start
:end-before: c_codespaces_end
22 changes: 22 additions & 0 deletions contrib/workflows/compile.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. important::

|draft|

|purpose|

.. _c_compiling:

=================
Compile and build
=================

.. note::
[This is the :ref:`compiling` section from the devguide. I think this page
is too long and could be split by build target, but we can leave that for a
later time.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_compile_and_build_start
:end-before: c_compile_and_build_end

.. include:: ../../links.rst
19 changes: 19 additions & 0 deletions contrib/workflows/get-source.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.. important::

|draft|

|purpose|

.. _c_checkout:

===================
Get the source code
===================

.. note::
[This is the :ref:`checkout` section from the devguide. We might need to edit
it to clarify that some steps are only needed for code contribution.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_get_source_code_start
:end-before: c_get_source_code_end
25 changes: 25 additions & 0 deletions contrib/workflows/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.. _c_workflows:

=========
Workflows
=========

.. important::

|draft|

|purpose|


This section contains details of workflows needed for all kinds of
contribution.

.. toctree::

install-git.rst
get-source.rst
install-dependencies.rst
compile.rst
regenerate.rst
troubleshooting.rst
codespaces.rst
17 changes: 17 additions & 0 deletions contrib/workflows/install-dependencies.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. important::

|draft|

|purpose|

.. _c_build-dependencies:

====================
Install Dependencies
====================

[This is the :ref:`build-dependencies` section from the devguide.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_install_dependencies_start
:end-before: c_install_dependencies_end
17 changes: 17 additions & 0 deletions contrib/workflows/install-git.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. important::

|draft|

|purpose|

.. _c_vcsetup:

===========
Install Git
===========

[This is the :ref:`vcsetup` section from the devguide.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_install_git_start
:end-before: c_install_git_end
28 changes: 28 additions & 0 deletions contrib/workflows/regenerate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. important::

|draft|

|purpose|

.. _c_regenerating:

===============================
Regenerating auto-created files
===============================

.. note::
[These are two similar sections from the is the :ref:`setup-building` section from the devguide.]

Regenerate ``configure``
========================

.. include:: ../../getting-started/setup-building.rst
:start-after: c_regenerate_configure_start
:end-before: c_regenerate_configure_end

Regenerate the ABI dump
=======================

.. include:: ../../getting-started/setup-building.rst
:start-after: c_regenerate_abi_start
:end-before: c_regenerate_abi_end
17 changes: 17 additions & 0 deletions contrib/workflows/troubleshooting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. important::

|draft|

|purpose|

.. _c_build_troubleshooting:

===========
Install Git
===========

[This is the :ref:`build_troubleshooting` section from the devguide.]

.. include:: ../../getting-started/setup-building.rst
:start-after: c_build_troubleshooting_start
:end-before: c_build_troubleshooting_end
3 changes: 3 additions & 0 deletions documentation/markup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,9 @@ units as well as normal text:
Table-of-contents markup
------------------------

.. TODO: This is a copy of the Sphinx description of the toctree directive.
Why duplicate it here?

Since reST does not have facilities to interconnect several documents, or split
documents into multiple output files, Sphinx uses a custom directive to add
relations between the single files the documentation is made of, as well as
Expand Down
Loading
Loading