Adjust doc.
This commit is contained in:
parent
2df0a03a4f
commit
c7d8701860
1 changed files with 6 additions and 8 deletions
14
README.md
14
README.md
|
|
@ -1,4 +1,4 @@
|
||||||
# trovu-user
|
# trovu-data-user
|
||||||
|
|
||||||
Template for creating and managing our own user shortcuts.
|
Template for creating and managing our own user shortcuts.
|
||||||
|
|
||||||
|
|
@ -6,14 +6,12 @@ To get started, fork this repository.
|
||||||
|
|
||||||
## Adding shortcuts
|
## Adding shortcuts
|
||||||
|
|
||||||
To add a new shortcut, follow the example in [shortcuts/g/1.txt](shortcuts/g/1.txt):
|
To add a new shortcut, follow the example in [g.1.txt](g.1.txt):
|
||||||
|
|
||||||
- create a new directory using the keyword for its name,
|
- create a file with the keyword and the argument number,
|
||||||
- for instance create `shortcuts/e/` to have a new shortcut with the keyword `e`.
|
- for instance create `g.1.txt` for a shortcut with the keyword g and 1 argument.
|
||||||
- create a file inside the directory with the argument number,
|
|
||||||
- for instance create `1.txt` for a shortcut with 1 argument.
|
|
||||||
- inside the created file, place the template url,
|
- inside the created file, place the template url,
|
||||||
- like in the [given example](shortcuts/g/1.txt).
|
- like in the [given example](g.1.txt).
|
||||||
|
|
||||||
## Using the shortcuts
|
## Using the shortcuts
|
||||||
|
|
||||||
|
|
@ -28,5 +26,5 @@ then call Trovu with:
|
||||||
|
|
||||||
https://trovu.github.io/trovu-web/?#
|
https://trovu.github.io/trovu-web/?#
|
||||||
namespaces=o,john
|
namespaces=o,john
|
||||||
&namespace[john]=https://raw.githubusercontent.com/john-doe/trovu-user/master/shortcuts/{keyword}/{argumentCount}.txt
|
&namespace[john]=https://raw.githubusercontent.com/john-doe/trovu-user/master/shortcuts/{%keyword}/{%argumentCount}.txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue