How do I use docs
command?
If I run roc docs
inside examples/hello-world/
directory, generated-docs
is generated.
But this directory does not have root index.html. Does this work correctly? or is docs
under developing?
generated-docs/
├── Effect
│ └── index.html
├── favicon.svg
├── search.js
└── styles.css
Yes, the docs are still a work in progress, I'll make sure to include this in the CLI help.
Thanks!
I just expected that this doc command might be useful for me to learn some basic knowledge of roc. (I'm a beginner)
So I will revisit in the future.
I'm working on writing up a tutorial on how the language works...hoping to be done with it later in November! :big_smile:
Takeshi Sato has marked this topic as resolved.
Can I give you a hand with a tutorial?
I'd like to do a first draft myself, but I'd love feedback on it once it's at that point!
Don't know if this is in the same category, but I really liked roc-for-elm-programmers, would be nice to have similar files for other languages. I'm happy write up the c++ one once I get a little more used to Roc.
good idea
We may want to try and make it more generic so we don't end up adding 1 for many many languages. So maybe instead of just C++ focused, maybe focus on the C syntax style languages (C, C++, C#, Java, etc). Though I guess we could make many of these guides and just throw them all in a folder.
Roc for Imperative Programmers @Brendan Hansknecht
Last updated: Jul 06 2025 at 12:14 UTC