| 1 | =============================================================================== |
|---|
| 2 | = Pugs Docs Directory |
|---|
| 3 | =============================================================================== |
|---|
| 4 | |
|---|
| 5 | - What is this directory? |
|---|
| 6 | |
|---|
| 7 | This directory is meant to contain documentation, links to related papers |
|---|
| 8 | and sites, design notes, etc. |
|---|
| 9 | |
|---|
| 10 | - How can I contribute? |
|---|
| 11 | |
|---|
| 12 | Pick a topic, document it, ask for a commiter bit, and upload it. If there |
|---|
| 13 | are relevant papers or talks that we don't already have, please convert the |
|---|
| 14 | documents to one of our preferred documentation formats (see below) and |
|---|
| 15 | commit, or link to them from READTHEM or docs/talks/README. |
|---|
| 16 | |
|---|
| 17 | - What should I document? |
|---|
| 18 | |
|---|
| 19 | Whatever you like. There are no restrictions or expectations, and the more |
|---|
| 20 | the merrier. |
|---|
| 21 | |
|---|
| 22 | - What document format is preferred? |
|---|
| 23 | |
|---|
| 24 | Plain text/minimal markup document formats are preferred, such as POD, |
|---|
| 25 | Kwid, Spork, and so on. There seems to be a preference for Kwid for most |
|---|
| 26 | general documents, POD for AES drafts, Spork for slides, and completely |
|---|
| 27 | raw text for quickrefs. |
|---|
| 28 | |
|---|
| 29 | - What directory is appropriate for a new document? |
|---|
| 30 | |
|---|
| 31 | The documentation tree is in a state of flux at the moment, but a few rules |
|---|
| 32 | seem to have rough consensus: |
|---|
| 33 | |
|---|
| 34 | ** Documentation for Perl 6 modules belongs with the relevant module. |
|---|
| 35 | |
|---|
| 36 | ** Perl 5 modules providing Perl 6 functionality or Pugs interoperability |
|---|
| 37 | belong in lib/, together with their documentation. |
|---|
| 38 | |
|---|
| 39 | ** Don't create personalized directories, such as docs/billgates_thoughts. |
|---|
| 40 | This fragments the tree too much, makes others uneasy about fixing |
|---|
| 41 | documents in that directory, and sorts by author instead of category. |
|---|
| 42 | |
|---|
| 43 | ** Sort by category within docs/, if possible. Create a new category if |
|---|
| 44 | none of the existing ones apply, but see below. |
|---|
| 45 | |
|---|
| 46 | ** A few document types have standard docs/ locations already: |
|---|
| 47 | *** docs/quickref for quick reference pages |
|---|
| 48 | *** docs/talks for talks/slides |
|---|
| 49 | *** docs/AES for AES drafts |
|---|
| 50 | |
|---|
| 51 | ** docs/notes/ is for general Perl 6 or Pugs design notes, but please |
|---|
| 52 | don't use this as a catch-all. It's much better to create a useful |
|---|
| 53 | category and begin to fill it in. Documents created here anyway are |
|---|
| 54 | likely to be moved once appropriate categories do exist. |
|---|
| 55 | |
|---|
| 56 | If none of these apply, and you're still not sure where your document |
|---|
| 57 | belongs, ask on #perl6, or put it in docs/other/ and email perl6-compiler |
|---|
| 58 | to let us know. |
|---|