-
Notifications
You must be signed in to change notification settings - Fork 26
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
Documentation split-up #112
Conversation
moved the compiler options and made some minor changes Changed names of files to make life less confusing minor things
|
||
build/pdf/encore.pdf: $(SCRBLS) | ||
@scribble --pdf --dest $(BUILD)/pdf $(DEST) $(INIT); | ||
@scribble --info-out getting-started.sxref --dest $(BUILD)/html/getting-started --dest-name getting-started lang/getting-started/getting-started.scrbl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this correct? Shouldn't it be $(BUILD)/pdf/getting-started
? Or do you want to build both whenever we generate the html?
Reordered sections Fixed pdf build (although still slightly broken) spell check Make now only does HTML by deafult since PDF is slightly broken Fixed PDF build Fixed pdf build again
it works fine; I'll get back to you tomorrow. There are some things that I am not sure we want to keep, such as the Somehow I thought that documentation should cover all aspects of the language, starting with the installation and finishing with a tutorial / examples. If you have agreed with someone into doing this change, that's fine but I need to check it with that person. |
Honestly, I found it odd that the installation process was the first thing that the reader saw. |
@kikofernandez Which I have vague memory of discussing this with someone but i might have dreamed it. The reason i wanted to split it up was that I found the documentation to be hard to navigate and lacking in structure. I see absolutely no reason to have both the installation guide and the language documentation on the same page. One will have no need for the documentation of the language when installing the compiler and vise versa. Yes i agree that the documentation should cover the entire encore language, but that does not mean that the documentation has to be one big wall of text. |
I believe it makes sense to have a link to the installation process at the beginning, not the whole section as we had. I thought that a good example is the Go language docs. They have different sections, and is not in a single page. The first section is a link to install the language, the second how to write Go code, etc. The Clojure and Ruby community have something similar... in general we can see a pattern: use an index and not a single page. @TheGrandmother
I believe this is great, just not sure that it should be a margin note. |
I think we are being too picky here. |
Sure, I never said it wasn't good, but what I would like to see :) |
@kikofernandez That was what i was trying to do. I tried to find a way to do it in a nice way with an index and things like that but i couldn't figure out how to do it in scribble/racket. I moved that part into a margin note since its something that will be fixed. |
Hello!
I have split up the documentation and reordered it a bit to make it somewhat more readable.
I moved the
getting started
section to its own page since it is just in the way for some one who has already installed the compiler.I also moved the
Loops
,Primitive Types
, andArrays
subsections to the ``Syntax` section.I reordered the subsections of the
Semantics
section to put the basic stuff about active/passive object and methods first.