From c92f4ceaccd51cedee417f4634f14b24d6f0df80 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 12 May 2021 16:50:40 +0200 Subject: refactor(web/atward): translate index page to markdown Change-Id: I03ccbec1dd8ba58d80bd97eb40148dd395e500b2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3115 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/atward/indexHtml/default.nix | 104 ++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 56 deletions(-) (limited to 'web/atward/indexHtml') diff --git a/web/atward/indexHtml/default.nix b/web/atward/indexHtml/default.nix index acb7b6acc7..56e2f0e1b5 100644 --- a/web/atward/indexHtml/default.nix +++ b/web/atward/indexHtml/default.nix @@ -4,56 +4,49 @@ depot.web.tvl.template { useUrls = true; title = "atward"; content = '' -

- atward is TVL's 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 t b/42 in your URL bar to get to the bug with ID - 42. -

- -

Supported queries

-

- The following query types are supported in atward: -

-

- -

Configuration

-

- Some behaviour of atward can be configured by adding query - parameters to the search string: -

-

-

- In some browsers (like Firefox) users can not edit query - parameters for search engines. As an alternative configuration can - be supplied via cookies with the same names as the configuration - parameters. -

-

- The form below can set this configuration: -

- Use Sourcegraph instead of cgit -
-

+ **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 t b/42 in your URL bar to get to the bug with ID + 42. + + + ### Supported queries + + The following query types are supported in atward: + + * b/42 - access bugs with ID 42 + * cl/3087 - access changelist with ID 3087 + * //web/atward - open the **//web/atward** path in TVLs monorepo + + ### Configuration + + Some behaviour of atward can be configured by adding query + parameters to the search string: + + * cs=true - use Sourcegraph instead of cgit to view code + + + In some browsers (like Firefox) users can not edit query + parameters for search engines. As an alternative configuration can + be supplied via cookies with the same names as the configuration + parameters. + + The form below can set this configuration: +
+ Use Sourcegraph instead of cgit +
+ -

Source code

-

- atward's source code lives - at //web/atward. -

- ''; + ### Source code + + atward's source code lives at + [//web/atward](https://atward.tvl.fyi/?q=%2F%2Fweb%2Fatward). + ''; extraHead = ''