ponylang / pony-tutorial

:horse: Tutorial for the Pony programming language
http://tutorial.ponylang.io
BSD 2-Clause "Simplified" License
310 stars 111 forks source link

No "Code documentation" section/chapter #320

Open EpicEric opened 6 years ago

EpicEric commented 6 years ago

Currently, all information there is on creating code documentation is hidden in appendices/whitespace.md, and only mentions how to add docstrings.

This should either be a new section in "Appendices", or an entirely new chapter, as it makes it easier to use and contribute to Pony libraries. Some information I'd expect to find:

EpicEric commented 5 years ago

Updated to reflect the addition of main.actor

SeanTAllen commented 5 years ago

@EpicEric would you be up for taking this on?

EpicEric commented 5 years ago

As I see it, documentation generation is not stable for non-stdlib use as of right now (ponylang/ponyc#2774), and the (partial) solution to that through main.actor is also not done, so I'd hold out on this part of the issue.

What can be done as a starting point for now is refactoring out the docstrings part from the Whitespace section, possibly as a new Appendix section for the time, thus improving its visibility.

SeanTAllen commented 5 years ago

Sounds reasonable @EpicEric

rhagenson commented 3 years ago

For anyone tackling this as their first issue, feel free to move the Whitespace section into an Appendix (as Eric suggests). If you are feeling extra helpful, expanding that new "documentation" appendix to include steps on building documentation locally might be a nice addition.

rhagenson commented 3 years ago

There are documentation-related matters in the Appendix here.