docs/website: simplify section on Git repo

Now that the snapshot tarball section is gone, the "Source code" block
has only one sub-block "Repository" which makes it look odd. So bring
the sub-block content into the parent block, and rename this parent
block "Git repository".

As this requires re-indenting the whole HTML soup, take advantage of
this to use <p>...</p> in a more correct manner.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: fix "git pull" layout]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Thomas Petazzoni 2023-09-30 10:25:05 +02:00 committed by Yann E. MORIN
parent 72c9362103
commit ea8fc31827

View File

@ -116,18 +116,13 @@
</div>
<div class="panel panel-primary">
<div class="panel-heading">Source code</div>
<div class="panel-heading">Git repository</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-7">
<div class="panel panel-success">
<div class="panel-heading">Repository</div>
<div class="panel-body">
<P>The buildroot repository can be browsed online at
<a href="https://gitlab.com/buildroot.org/buildroot/">https://gitlab.com/buildroot.org/buildroot/</a>.
To grab a copy of the repository use</p>
<p>The buildroot repository can be browsed online at
<a href="https://gitlab.com/buildroot.org/buildroot/">https://gitlab.com/buildroot.org/buildroot/</a>.</p>
<p>To grab a copy of the repository use</p>
<div class="input-group" style="width: 100%;">
<input class="form-control" style="width: 85%;" id="giturl"
@ -140,29 +135,22 @@
</span>
</div><br>
<p>
<p>If you are not already familiar with using Git, we recommend
you visit <a href="http://git-scm.org">the Git
website</a>.</p>
If you are not already familiar with using Git, we recommend you visit <a
href="http://git-scm.org">the Git website</a>.
<p>Once you've checked out a copy of the source tree, you can
update your source tree at any time so it is in sync with the
latest and greatest by entering your buildroot directory and
running the command:</p>
<p>
<pre>git pull</pre>
Once you've checked out a copy of the source tree, you can update your source
tree at any time so it is in sync with the latest and greatest by entering your
buildroot directory and running the command:
<p>Because you've only been granted anonymous access to the
tree, you won't be able to push your changes to the
repo. Changes can instead be submitted for inclusion by
posting them to the buildroot mailing list.</p>
<pre>
git pull
</pre>
Because you've only been granted anonymous access to the tree, you won't be
able to push your changes to the repo. Changes can instead be submitted for
inclusion by posting them to the buildroot mailing list.
</div>
</div>
</div>
</div>
</div>
</div>