Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation #14

Open
6 of 9 tasks
HugoGranstrom opened this issue Mar 5, 2023 · 1 comment
Open
6 of 9 tasks

Improve documentation #14

HugoGranstrom opened this issue Mar 5, 2023 · 1 comment

Comments

@HugoGranstrom
Copy link
Owner

HugoGranstrom commented Mar 5, 2023

Currently the documentation consists of the README and the example slides in docs/. This could be improved, both by having a compiler-generated API docs and more specific example slides in the style of NimConf, where a piece of code is shown next to what it renders. Ideas for what these small tutorials should cover are welcomed.

This was brought up by @srozb .

  • Compiler-generated docs
    • Add doc-comments to all important procs/templates.
    • Add a short introduction at the top.
  • Landing page for documentation that links to the docs and all available tutorials.
    • Rename index.nim to something else. Or should I just remove it? It is quite messy and showcase.nim already covers everything it does.
    • Move content from README to here instead to de-clutter the README.
  • Make a nimiBook for the tutorials instead! Then it will be easier to find stuff!
  • Embedded slideshows like Reveal.js has in their docs

Ideas thus far:

  • Basics (nbText, nbCode, nbImage, columns)
@HugoGranstrom
Copy link
Owner Author

HugoGranstrom commented Mar 19, 2023

Write about gotchas:

  • If too many slides is create a [GC] cannot register global variable; too many global variables error will be obtained. The solution is to split the slides into multiple slideshows or help make nimib use less global variables.
  • Exporting to PDF requires Chromium and the export has a few odd behaviors like embedding a file multiple times. So cornerImages and background images can explode the exported file size.

@HugoGranstrom HugoGranstrom mentioned this issue Jun 11, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant