Mercurial > hg-website
comparison templates/frontpage.html @ 462:5ca151c7a4e6
frontpage: remove autowidth class, wrap words in quick start example
Right now this means that the first line (with the repo URL) will get
word-wrapped, and it doesn't look too good:
"""
$ hg clone
https://selenic.com/repo/hello
"""
The next patch will use a different URL for a different effect.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 22 Jul 2016 18:42:51 +0800 |
parents | 19ea041943ed |
children | 4ec689699207 |
comparison
equal
deleted
inserted
replaced
461:7b96d719f9a7 | 462:5ca151c7a4e6 |
---|---|
33 <p>Mercurial strives to deliver on each of its promises. Most tasks simply work on the first try and without requiring arcane knowledge. <!--(If one doesn't, that's most likely no feature but a <a href="https://bz.mercurial-scm.org/">bug</a>. Please <a href="https://bz.mercurial-scm.org/">tell us about it</a>!) | 33 <p>Mercurial strives to deliver on each of its promises. Most tasks simply work on the first try and without requiring arcane knowledge. <!--(If one doesn't, that's most likely no feature but a <a href="https://bz.mercurial-scm.org/">bug</a>. Please <a href="https://bz.mercurial-scm.org/">tell us about it</a>!) |
34 commented out because it feels awkward.--></p> | 34 commented out because it feels awkward.--></p> |
35 </li> | 35 </li> |
36 </ol> | 36 </ol> |
37 </div> | 37 </div> |
38 <div class="col autowidth"> | 38 <div class="col"> |
39 <h3>Quick Start</h3> | 39 <h3>Quick Start</h3> |
40 | 40 |
41 <p><em>Clone a project and push changes</em> | 41 <p><em>Clone a project and push changes</em> |
42 <pre>$ hg clone https://selenic.com/repo/hello | 42 <pre class="wrap">$ hg clone https://selenic.com/repo/hello |
43 $ cd hello | 43 $ cd hello |
44 $ (edit files) | 44 $ (edit files) |
45 $ hg add (new files) | 45 $ hg add (new files) |
46 $ hg commit -m 'My changes' | 46 $ hg commit -m 'My changes' |
47 $ hg push | 47 $ hg push |
48 | 48 |
49 </pre> | 49 </pre> |
50 </p> | 50 </p> |
51 | 51 |
52 <p><em>Create a project and commit</em> | 52 <p><em>Create a project and commit</em> |
53 <pre>$ hg init (project-directory) | 53 <pre class="wrap">$ hg init (project-directory) |
54 $ cd (project-directory) | 54 $ cd (project-directory) |
55 $ (add some files) | 55 $ (add some files) |
56 $ hg add | 56 $ hg add |
57 $ hg commit -m 'Initial commit' | 57 $ hg commit -m 'Initial commit' |
58 </pre> | 58 </pre> |