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:
parent
72c9362103
commit
ea8fc31827
@ -116,53 +116,41 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel panel-primary">
|
<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="panel-body">
|
||||||
|
|
||||||
<div class="row">
|
<p>The buildroot repository can be browsed online at
|
||||||
<div class="col-sm-7">
|
<a href="https://gitlab.com/buildroot.org/buildroot/">https://gitlab.com/buildroot.org/buildroot/</a>.</p>
|
||||||
<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>To grab a copy of the repository use</p>
|
||||||
|
|
||||||
<div class="input-group" style="width: 100%;">
|
<div class="input-group" style="width: 100%;">
|
||||||
<input class="form-control" style="width: 85%;" id="giturl"
|
<input class="form-control" style="width: 85%;" id="giturl"
|
||||||
value="git clone https://gitlab.com/buildroot.org/buildroot.git" type="text" readonly></input>
|
value="git clone https://gitlab.com/buildroot.org/buildroot.git" type="text" readonly></input>
|
||||||
<span class="input-group-button">
|
<span class="input-group-button">
|
||||||
<button class="btn pull-right" type="button" data-clipboard-target="#giturl"
|
<button class="btn pull-right" type="button" data-clipboard-target="#giturl"
|
||||||
data-toggle="tooltip" data-placement="bottom" data-trigger="manual" title="Copied!">
|
data-toggle="tooltip" data-placement="bottom" data-trigger="manual" title="Copied!">
|
||||||
<img class="clippy" src="images/clippy.svg" alt="Copy to clipboard" width="13">
|
<img class="clippy" src="images/clippy.svg" alt="Copy to clipboard" width="13">
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div><br>
|
</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
|
<p>Once you've checked out a copy of the source tree, you can
|
||||||
href="http://git-scm.org">the Git website</a>.
|
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
|
<p>Because you've only been granted anonymous access to the
|
||||||
tree at any time so it is in sync with the latest and greatest by entering your
|
tree, you won't be able to push your changes to the
|
||||||
buildroot directory and running the command:
|
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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user