Mercurial > hg-website
annotate original/hgscm/templates/frontpage.html @ 283:b7d5f97e1034
simplify urls: point to mercurial.selenic.com, remove index.cgi from wiki urls
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 02 Nov 2009 15:39:20 +0100 |
parents | ecfc61c5759a |
children |
rev | line source |
---|---|
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
1 {% extends "base.html" %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
2 |
78
8d25e34c21c2
templatetags: Add DownloadButton tag to display a download button according to operating system
David Soria Parra <dsp@php.net>
parents:
70
diff
changeset
|
3 {% load extras %} |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
4 {% block content %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
5 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
6 <div class="row"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
7 <div class="col big"> |
270
dd996b16c742
frontpage slogan reworking
Arne Babenhauserheide <bab@draketo.de>
parents:
207
diff
changeset
|
8 <h1>Distributed SCM <br> Made easy</h1> |
dd996b16c742
frontpage slogan reworking
Arne Babenhauserheide <bab@draketo.de>
parents:
207
diff
changeset
|
9 <h2>Mercurial is a free, <a href="{% url about %}">distributed source control management tool</a>. It efficiently handles projects of any size and offers an easy and intuitive interface.</h2> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
10 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
11 <div class="col"> |
78
8d25e34c21c2
templatetags: Add DownloadButton tag to display a download button according to operating system
David Soria Parra <dsp@php.net>
parents:
70
diff
changeset
|
12 {% download_button 'true' %} |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
13 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
14 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
15 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
16 <div class="row"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
17 <div class="col big"> |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
18 <h3>How you can benefit from Mercurial</h3> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
19 <ol> |
69
a7dceecdbd46
Added more specific information to the benefit section.
Arne Babenhauserheide <bab@draketo.de>
parents:
67
diff
changeset
|
20 <!-- The three sections should now grow more compact as you go down, with power and speed the longest and just works only two simple, clean sentences. --> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
21 <li class="i-1"> |
60
37a0375fbddc
templates: Use url helper to provide the link to about page
David Soria Parra <dsp@php.net>
parents:
59
diff
changeset
|
22 <h4>It is <a href="{% url about %}">fast and powerful</a></h4> |
283
b7d5f97e1034
simplify urls: point to mercurial.selenic.com, remove index.cgi from wiki urls
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
272
diff
changeset
|
23 <p>Mercurial offers you the power and speed to efficiently handle <a href="{% url who_uses %}">projects of any size and kind</a><!--Reference: http://mercurial.selenic.com/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so committing, branching, tagging and merging are local operations which makes them fast and convenient. You can use a multitude of <a href="http://mercurial.selenic.com/wiki/Workflows">workflows</a> and easily enhance its functionality with <a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a>.</p> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
24 </li> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
25 <li class="i-2"> |
207
c1c9a4f809ba
integrated quick_start and learn_mercurial into the django project (with links).
Arne Babenhauserheide <bab@draketo.de>
parents:
182
diff
changeset
|
26 <h4>It is <a href="{% url learn_mercurial %}">easy to learn</a></h4> <!-- point to a site which begins with a random "easy to learn" testimonial and then shows ways to learn Mercurial, from quick start to indepth --> |
c1c9a4f809ba
integrated quick_start and learn_mercurial into the django project (with links).
Arne Babenhauserheide <bab@draketo.de>
parents:
182
diff
changeset
|
27 <p>You can follow our simple <a href="{% url workflow_guide %}">guide</a> to learn how to revision your documents with Mercurial, or just use the <a href="{% url quick_start %}">quick start</a> to get going instantly. <!--If you already know Subversion, please see <a href="mercurial_for_svn_users">Mercurial for svn users</a>.--></p> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
28 </li> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
29 <li class="i-3"> |
207
c1c9a4f809ba
integrated quick_start and learn_mercurial into the django project (with links).
Arne Babenhauserheide <bab@draketo.de>
parents:
182
diff
changeset
|
30 <h4>And it just works</h4> |
94
55590dd8b231
Added commented out section which could be used for quotes about usability -> show that Mercurial just works as opposed to only saying that it intends to do so.
Arne Babenhauserheide <bab@draketo.de>
parents:
93
diff
changeset
|
31 <!--<p><em>Random quote about usability.</em></p>--> |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
32 <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="http://selenic.com/mercurial/bugs/">bug</a>. Please <a href="http://selenic.com/mercurial/bugs/">tell us about it</a>!) |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
33 commented out because it feels awkward.--></p> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
34 </li> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
35 </ol> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
36 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
37 <div class="col"> |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
38 <h3>Quick Start</h3> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
39 |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
40 <p><em>Clone a project and create a patch</em> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
41 <pre>$ hg clone http://hg-scm.org/hello |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
42 $ cd hello |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
43 $ (edit files) |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
44 $ hg add (new files) |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
45 $ hg commit -m 'My changes' |
109
73cc830ff069
FIX Quickstart: 'hg export tip'
Arne Babenhauserheide <bab@draketo.de>
parents:
94
diff
changeset
|
46 $ hg export tip > patch.diff |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
47 |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
48 </pre> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
49 </p> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
50 |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
51 <p><em>Create a project and commit</em> |
92
6aa30181ae14
Fixed quickstart: First init, then cd.
Arne Babenhauserheide <bab@draketo.de>
parents:
48
diff
changeset
|
52 <pre>$ hg init (project-directory) |
6aa30181ae14
Fixed quickstart: First init, then cd.
Arne Babenhauserheide <bab@draketo.de>
parents:
48
diff
changeset
|
53 $ cd (project-directory) |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
54 $ (add some files) |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
55 $ hg add |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
56 $ hg commit -m 'Initial commit' |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
57 </pre> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
58 </p> |
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
59 <!--Change into project dir before initiating repo to avoid a possible stumbling point.--> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
60 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
61 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
62 |
48
360d682148ce
frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
63 {% endblock %} |