History

Tweak help page

Thibaut committed 12 years ago

Commit b79c1621 parent 2ace9f21 file · +5 −5Browse files

Unified · Split

assets/javascripts/templates/pages/help_tmpl.coffee+5−5
@@ -14,9 +14,9 @@ app.templates.helpPage = """ · 13 unmodified lines
14 The search is case-insensitive, ignores spaces, and supports fuzzy matching (for queries longer than two characters).14 The search is case-insensitive, ignores spaces, and supports fuzzy matching (for queries longer than two characters).
15 For example, searching <code class="_label">bgcp</code> brings up <code class="_label">background-clip</code>.15 For example, searching <code class="_label">bgcp</code> brings up <code class="_label">background-clip</code>.
16 <dl>16 <dl>
17 <dt id="doc_search">Searching a specific documentation17 <dt id="doc_search">Searching a single documentation
18 <dd>18 <dd>
19 You can scope the search to a specific documentation by typing its name (or an abbreviation),19 You can scope the search to a single documentation by typing its name (or an abbreviation),
20 and pressing <code class="_label">Tab</code> (<code class="_label">Space</code> on mobile devices).20 and pressing <code class="_label">Tab</code> (<code class="_label">Space</code> on mobile devices).
21 For example, to search the JavaScript documentation, enter <code class="_label">javascript</code>21 For example, to search the JavaScript documentation, enter <code class="_label">javascript</code>
22 or <code class="_label">js</code>, then <code class="_label">Tab</code>.<br>22 or <code class="_label">js</code>, then <code class="_label">Tab</code>.<br>
@@ -25,11 +25,11 @@ app.templates.helpPage = """ · 2 unmodified lines
25 <dd>25 <dd>
26 The search field can be prefilled from the URL by visiting <a href="/#q=keyword" target="_top">devdocs.io/#q=keyword</a>.26 The search field can be prefilled from the URL by visiting <a href="/#q=keyword" target="_top">devdocs.io/#q=keyword</a>.
27 Characters after <code class="_label">#q=</code> will be used as search string.<br>27 Characters after <code class="_label">#q=</code> will be used as search string.<br>
28 To search a specific documentation, add its name and a space before the keyword:28 To search a single documentation, add its name and a space before the keyword:
29 <a href="/#q=js%20date" target="_top">devdocs.io/#q=js date</a>.29 <a href="/#q=js%20date" target="_top">devdocs.io/#q=js date</a>.
30 <dt id="browser_search">Searching using the address bar30 <dt id="browser_search">Searching using the address bar
31 <dd>31 <dd>
32 DevDocs supports OpenSearch, meaning it can easily be installed as a search engine on most web browsers.32 DevDocs supports OpenSearch, meaning that it can easily be installed as a search engine on most web browsers.
33 <ul>33 <ul>
34 <li>On Chrome, the setup is done automatically. Simply press <code class="_label">Tab</code> when devdocs.io is autocompleted34 <li>On Chrome, the setup is done automatically. Simply press <code class="_label">Tab</code> when devdocs.io is autocompleted
35 in the omnibox (to set a custom keyword, click <em>Manage search engines\u2026</em> in Chrome's settings).35 in the omnibox (to set a custom keyword, click <em>Manage search engines\u2026</em> in Chrome's settings).
@@ -94,5 +94,5 @@ app.templates.helpPage = """ · 58 unmodified lines
94 <dd class="_shortcuts-dd">Show this page94 <dd class="_shortcuts-dd">Show this page
95 </dl>95 </dl>
96 <p class="_note">96 <p class="_note">
97 <strong>Tip:</strong> If the cursor is no longer in the search field, just press backspace or97 <strong>Tip:</strong> If the cursor is no longer in the search field, press backspace or
98 continue to type and it will refocus the search field and start showing new results. """98 continue to type and it will refocus the search field and start showing new results. """

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t