odin-lang / odin-lang.org

http://odin-lang.org
26 stars 80 forks source link

Add pre-defined constants section #112

Closed erjohnson closed 1 year ago

erjohnson commented 1 year ago

Initially added as a subheader under constants declaration + moved constants declaration section below control flow. But I think that sorta throws off the start: how to declare literals, vars, constants then onto control flow. So I made pre-defined constants a separate section then link to it.

For formatting I tried various things but a code block seemed clearest for now.

Also updated the gitignore, I'm on a later version of hugo and building locally adds that file.

erjohnson commented 1 year ago

whoops, looks like https://github.com/odin-lang/odin-lang.org/pull/110 already added this info