QuantEcon.py icon indicating copy to clipboard operation
QuantEcon.py copied to clipboard

ENH: Example Gallery

Open mmcky opened this issue 2 years ago • 3 comments

The old example gallery is outdated and should be archived.

The QuantEcon Lectures provides lots of examples, and we do have examples in the documentation (i.e. docstrings), perhaps we can construct a demo gallery using those examples to be more directly accessible?

mmcky avatar Jul 12 '23 06:07 mmcky

+1

jstac avatar Jul 12 '23 06:07 jstac

If you are thinking about a general re-organization of the documentation, I would like to suggest this system which I found very helpful in my own projects. It groups documentation in four categories:

  • Reference: This is helpful for experienced users who want to look up a specific syntax. The current documentation is almost exclusively written in reference style (auto-generated from docstrings)
  • Explanation: This is helpful for people who want to learn the economics/numerics and syntax at the same time. This is the style of the quantecon lectures.
  • Tutorials: Tutorials help newbies to discover the functionality of a package. In my experience, tutorials can increase the adoption of a package. The submitted paper is written in tutorial style, Having a notebook with all examples from the paper would be a great getting started tutorial.
  • How-To Guides: How-To Guides show how to achieve a very specific task without explaining any background that is not immediately relevant. I think this is not covered in the current documentation.

A great example of documentation that uses this system is pytask

janosg avatar Jul 12 '23 09:07 janosg

thanks @janosg -- nice suggestion.

mmcky avatar Jul 13 '23 04:07 mmcky