on master help sign in
Merge pull request #2001 from urbit/gen-doccord
commit4bcf2b56179a8bb0d581e8c4301a24c81f1b280f authorAnthony Arroyo <anthony@tlon.io> dateFri 3 Feb 2023, 10:17 (4 years ago) parent69b45ec4b0871c
1 file changed+46
content/grants/2023/generator-doccords.md+46
content/grants/2023/generator-doccords.mdnew file+46
@@ -0,0 +1,46 @@
1++++
2+title = "Doccord Compliant Comments in all Generators"
3+date = "2023-01-31"
4+
5+[taxonomies]
6+grant_type = ["Bounty"]
7+grant_category = ["Core Dev"]
8+
9+[extra]
10+image = ""
11+assignee = [""]
12+description = "Adapt the comments in the default generators to take advantage of the new doccord features."
13+reward = "1 star"
14+grant_id = "B0231"
15+completed = false
16+canceled = false
17+work_request_link = "https://airtable.com/shr4qt9t9kz7RaOIa?prefill_Grant+ID=B0231&prefill_Grant+Name=Doccord%20Compliant%20Comments%20for%20All%20Generators"
18++++
19+
20+## Overview
21+
22+The base desk comes with a variety of generators and threads that are useful for debugging and development. Documentation and usage guidance for these is scattered between inline comments (accessible via the `+help` generator) and [operators.urbit.org](https://operators.urbit.org/manual/os/dojo-tools) We propose to take advantage of the [newly released doccords](https://groups.google.com/a/urbit.org/g/dev/c/iqT0wgbFkPA) feature to consolidate the documentation and provide an introduction to the doccords utility for users.
23+
24+## Implementation
25+
26+For every "dojo tool" covered in [the docs](https://github.com/urbit/operators.urbit.org/blob/master/content/manual/os/dojo-tools.md), move the documentation into the source code in accordance with the doccord [style guide](https://github.com/urbit/urbit/blob/develop/pkg/arvo/lib/deco.hoon).
27+
28+Rewrite the `+help` generator to display the relevant doccords.
29+
30+Currently you need to do the following to see inline doccords.
31+
32+```
33+=file -build-file %/path/to/file/hoon
34+# file
35+```
36+
37+This should be improved to be:
38+
39+```
40++help %example-generator
41+> formatted comments
42+```
43+
44+## Payment
45+
46+1 Star