blob: 801faf57dcf218d8a64c0cf2a91c54d07657a867 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ depot, ... }:
depot.web.tvl.template {
title = "atward";
content = ''
atward
======
----------
**atward** is [TVL's](https://tvl.fyi/) search
service. It can be configured as a browser search engine for easy
access to TVL bugs, code reviews, code paths and more.
### Setting up atward
To configure atward, add a search engine to your browser with the
following search string: `https://at.tvl.fyi/?q=%s`
Consider setting a shortcut, for example **t** or **tvl**.
You can now quickly access TVL resources by typing something
like <kbd>t b/42</kbd> in your URL bar to get to the bug with ID
42.
### Supported queries
The following query types are supported in atward:
* <kbd>b/42</kbd> - access bugs with ID 42
* <kbd>cl/3087</kbd> - access changelist with ID 3087
* <kbd>//web/atward</kbd> - open the **//web/atward** path in TVLs monorepo
* <kbd>r/3002</kbd> - access revision 3002 in cgit
When given a short host name (e.g. <kbd>todo</kbd> or
<kbd>cl</kbd>), atward will redirect to the appropriate `tvl.fyi`
domain.
### Source code
atward's source code lives at
[//web/atward](https://at.tvl.fyi/?q=%2F%2Fweb%2Fatward).
'';
extraHead = ''
<link rel="search" type="application/opensearchdescription+xml" title="TVL Search" href="https://at.tvl.fyi/opensearch.xml">
'';
}
|