bocadilloproject / bocadillo

(UNMAINTAINED) Fast, scalable and real-time capable web APIs for everyone
https://bocadilloproject.github.io
MIT License
396 stars 41 forks source link

Generate API reference pages #27

Closed florimondmanca closed 5 years ago

florimondmanca commented 6 years ago

Is your feature request related to a problem? Please describe. Pydoc-Markdown has been added to the repo, we can now start writing API reference documentation. Ideally all public classes, functions and constants in Bocadillo should appear in the API reference. This issue is to describe how to write such API reference docs.

Describe the solution you'd like First, install the repo as described in the CONTRIBUTING guide (including the Documentation section). Then, run the docs server (npm start).

For each module inside the bocadillo package, we need to:

To preview the result (and everytime you want to see changes), run $ pydocmd generate in the terminal. Then open the docs site and check that the formatting is fine. You may have to hack a bit to get it right.

Describe alternatives you've considered I could generate the pages myself, but this is also a great opportunity for new contributors to get started and discover the repo. :blush:

Additional context For more details about Pydoc-Markdown and its formatting rules, check out their docs.

florimondmanca commented 5 years ago

Done!