From 02d607eca48bcbe2ce3ef350e93009cbc9ac81e0 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 13 Oct 2025 00:09:13 +0200 Subject: [PATCH] Some CSS cleanup and content updates. --- _includes/header.html | 3 +-- _sass/_base.scss | 12 ++++++------ handbook/handbook.md | 24 ++++++++++++++++++++++++ index.md | 10 +++++++++- 4 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 handbook/handbook.md diff --git a/_includes/header.html b/_includes/header.html index a11c86a..a75316c 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -15,9 +15,8 @@
  • /documentation/
  • /examples/
  • -->
  • /faq/
  • +
  • /handbook/
  • diff --git a/_sass/_base.scss b/_sass/_base.scss index 58e3e5e..3e55fb2 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -92,7 +92,7 @@ blockquote { } } -pre { +/*pre { background: $grey-color-dark; background-image: -webkit-linear-gradient($grey-color-dark 50%, $grey-color-light 50%); background-image: -moz-linear-gradient($grey-color-dark 50%, $grey-color-light 50%); @@ -101,9 +101,9 @@ pre { background-image: linear-gradient($grey-color-dark 50%, $grey-color-light 50%); background-position: 0 0; background-repeat: repeat; - background-size: 2.8em 2.8em; + background-size: 2.8em 2.8em;*/ //background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='2400' viewBox='0 0 32 2400'%3E%3Cdefs%3E%3Cpath id='n1' fill='%23999' d='M1.31 10.55h2.45V1.63l-2.63.6V.79L3.76.21h1.58v10.34h2.42v1.33H1.31v-1.33z'/%3E%3Cpath id='n2' fill='%23999' d='M.39 10.83c-.01-.19.06-.35.2-.48.79-.83 1.58-1.67 2.36-2.52.51-.55 1.03-1.09 1.5-1.66.4-.48.8-.98 1.06-1.55.38-.85.43-2.04-.3-2.73C3.94.66 1.75 1.61.48 2.37V.77C2.04.02 4.04-.38 5.66.43 7.3 1.26 7.78 3.2 7.05 4.8c-.51 1.16-1.55 2.14-2.4 3.05-.84.93-1.75 1.79-2.61 2.7h5.44v1.33H.39v-1.05z'/%3E%3Cpath id='n3' fill='%23999' d='M3.63 12.1c-1.1 0-2.22-.21-3.26-.58V9.93c1.43.73 3.71 1.43 5.1.26.94-.8.94-2.5.01-3.3-.52-.45-1.23-.6-1.89-.6h-1.2v-1.3h1.2c.82 0 1.78-.23 2.15-1.05.31-.68.16-1.64-.41-2.14-1.17-1-3.36-.34-4.61.15V.5C2.37.08 4.29-.37 5.89.48c1.45.78 2.16 2.89 1.04 4.25-.36.42-.88.72-1.57.9.77.2 1.35.56 1.76 1.08.85 1.08.81 2.86.01 3.96-.81 1.1-2.21 1.43-3.5 1.43z'/%3E%3Cpath id='n4' fill='%23999' d='M4.95 9.09H0V7.6L4.69.21h1.83v7.6h1.55v1.28H6.52v2.78H4.95V9.09zm0-1.28V1.65L1.27 7.81h3.68z'/%3E%3Cpath id='n5' fill='%23999' d='M3.3 12.1c-1.01 0-2.04-.12-2.98-.5V10c1.91 1.03 5.4 1.38 5.64-1.55.25-3-2.98-3.52-5.14-2.38V.21h5.91v1.33H2.26v2.87c2.44-.91 5.02.61 5.27 3.19.26 2.73-1.56 4.5-4.23 4.5z'/%3E%3Cpath id='n6' fill='%23999' d='M4.15 12.1C.34 12.1.01 7.6.32 4.72.48 3.22.95 1.6 2.25.69c1.37-.96 3.22-.82 4.7-.22v1.45C5.81 1.24 4.1 1.01 3 1.88c-1.13.89-1.3 2.58-1.3 3.9.25-.52.6-.92 1.04-1.2 2.1-1.3 4.6.27 4.98 2.5.44 2.55-.75 5.02-3.57 5.02zm0-1.23c.6 0 1.19-.2 1.56-.7.78-1.02.78-3.07 0-4.09-1.16-1.52-3.31-.44-3.66 1.15-.33 1.54.2 3.64 2.1 3.64z'/%3E%3Cpath id='n7' fill='%23999' d='M5.88 1.54H.29V.21h7.34v.67l-4.17 11H1.81L5.88 1.54z'/%3E%3Cpath id='n8' fill='%23999' d='M4.01 12.1c-1.76 0-3.46-.85-3.74-2.73-.26-1.75.61-3.3 2.37-3.69C1 5.28.14 3.67.63 2.06 1.09.58 2.59 0 4.02 0 5.44 0 6.95.58 7.4 2.05c.51 1.62-.36 3.21-2 3.63 1.77.39 2.63 1.93 2.37 3.68-.28 1.9-1.98 2.74-3.76 2.74zm.03-1.23c1.95 0 3.03-2.51 1.61-3.94-.8-.81-2.46-.83-3.26-.01-1.42 1.46-.32 3.95 1.65 3.95zm-.02-5.78c2.59 0 2.58-3.88 0-3.88-2.57.01-2.59 3.88 0 3.88z'/%3E%3Cpath id='n9' fill='%23999' d='M3.33 12.1c-.79 0-1.55-.17-2.28-.47v-1.45c.33.19.68.34 1.05.44 3.01.84 4.2-1.73 4.2-4.3-.22.49-.58.92-1.03 1.2-1.26.8-3.18.46-4.14-.62-1.3-1.47-1.31-4.43.02-5.88C2.57-.52 5.5-.34 6.72 1.35c1.24 1.73 1.2 4.48.91 6.48-.35 2.36-1.74 4.27-4.3 4.27zm.51-5.4c1.91 0 2.43-2.09 2.1-3.64C5.59 1.48 3.44.4 2.28 1.92c-.78 1.02-.78 3.08 0 4.1.37.48.96.68 1.56.68z'/%3E%3Cpath id='n0' fill='%23999' d='M4.02 12.1C1.43 12.1.51 9.66.31 7.45.11 5.33.1 2.12 1.97.65 4.08-1.01 6.7.51 7.4 2.79c.7 2.28.75 5.69-.55 7.78-.65 1.02-1.59 1.53-2.83 1.53zm0-1.25c.78 0 1.34-.5 1.66-1.19.5-1.1.54-2.42.54-3.61s-.03-2.51-.54-3.61C4.98.9 3.08.9 2.38 2.43c-.54 1.15-.56 2.56-.55 3.8.01 1.13.06 2.38.55 3.43.31.68.86 1.19 1.64 1.19zm.01-2.07c-1.08 0-.78-3.72-.64-4.35.05-.27.17-1.05.55-1.1.49-.06.63.8.7 1.13.21 1.06.21 2.13.04 3.19-.06.3-.2 1.13-.65 1.13z'/%3E%3Cpattern id='p' width='16' height='240' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n1'/%3E%3Cuse y='24' href='%23n2'/%3E%3Cuse y='48' href='%23n3'/%3E%3Cuse y='72' href='%23n4'/%3E%3Cuse y='96' href='%23n5'/%3E%3Cuse y='120' href='%23n6'/%3E%3Cuse y='144' href='%23n7'/%3E%3Cuse y='168' href='%23n8'/%3E%3Cuse y='192' href='%23n9'/%3E%3Cuse y='216' href='%23n0'/%3E%3C/pattern%3E%3Cpattern id='p1' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n1'/%3E%3C/pattern%3E%3Cpattern id='p2' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n2'/%3E%3C/pattern%3E%3Cpattern id='p3' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n3'/%3E%3C/pattern%3E%3Cpattern id='p4' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n4'/%3E%3C/pattern%3E%3Cpattern id='p5' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n5'/%3E%3C/pattern%3E%3Cpattern id='p6' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n6'/%3E%3C/pattern%3E%3Cpattern id='p7' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n7'/%3E%3C/pattern%3E%3Cpattern id='p8' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n8'/%3E%3C/pattern%3E%3Cpattern id='p9' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n9'/%3E%3C/pattern%3E%3Cpattern id='p0' width='32' height='24' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23n0'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath fill='url(%23p)' d='M0 0h16v2376H0z' transform='translate(16 5)'/%3E%3Cg transform='translate(6,221)'%3E%3Cpath fill='url(%23p1)' d='M0 0h13v240H0z'/%3E%3Cpath fill='url(%23p2)' d='M0 240h16v240H0z'/%3E%3Cpath fill='url(%23p3)' d='M0 480h16v240H0z'/%3E%3Cpath fill='url(%23p4)' d='M0 720h16v240H0z'/%3E%3Cpath fill='url(%23p5)' d='M0 960h16v240H0z'/%3E%3Cpath fill='url(%23p6)' d='M0 1200h16v240H0z'/%3E%3Cpath fill='url(%23p7)' d='M0 1440h16v240H0z'/%3E%3Cpath fill='url(%23p8)' d='M0 1680h16v240H0z'/%3E%3Cpath fill='url(%23p9)' d='M0 1920h16v240H0z'/%3E%3C/g%3E%3C/svg%3E") no-repeat local 0 0 / 2rem auto, repeating-linear-gradient(to bottom, #fafafa, #fafafa 1.4rem, #f2f2f2 1.4rem, #f2f2f2 3rem) repeat scroll 0 0 / 1px 3rem; - border: 0px $grey-color solid; + /*border: 0px $grey-color solid; counter-reset: line-numbering; font-family: $base-font-family; font-size: $base-font-size; @@ -115,7 +115,7 @@ pre { padding: 0 0 0 0; tab-size: 2; -moz-tab-size: 2; -} +}*/ @@ -128,13 +128,13 @@ pre { opacity: 0.5; }*/ -pre > code { +/*pre > code { font-family: $base-font-family; font-size: $base-font-size; counter-increment: line; margin: 0 0 0 0; padding: 0 0 0 0; -} +}*/ /**pre > code:before{ content: counter(line); diff --git a/handbook/handbook.md b/handbook/handbook.md new file mode 100644 index 0000000..8e327a4 --- /dev/null +++ b/handbook/handbook.md @@ -0,0 +1,24 @@ +--- +layout: page +published: true +noToc: true +noComments: true +title: /handbook/index.fun +subtitle: +description: Handbook +permalink: /handbook/ +lang: en +tags: +- handbook +- installation +- usage +- introduction +- help +- guide +- howto +--- + +## Overview + +Current documentation for Fun is only found in the [Fun Handbook](https://git.xw3.org/fun/fun/src/branch/main/docs/handbook.md){:class="git"} in the Git repository. + diff --git a/index.md b/index.md index b898f40..006b02d 100644 --- a/index.md +++ b/index.md @@ -78,6 +78,8 @@ Fun is not about being the fastest or the most feature-rich. It’s about sharin Like the name says: Fun Unites Nerds. +Please visit the [Fun Community Page](https://fun-lang.xyz/community/) to get in touch. + ## The Goal A language that feels like home for developers who: @@ -90,7 +92,13 @@ Fun may not change the world — but it will make programming a little more fun. ## Documentation -Actually there does not exist any documenation. In the [examples/](https://git.xw3.org/fun/fun/src/branch/main/examples){:class="git"} directory should be an example of most Fun features. +I am writing documentation only actually, but this is work in progress, since debugging and bug fixing includes this task. + +Current documentation is only found in the [Fun Handbook](https://git.xw3.org/fun/fun/src/branch/main/docs/handbook.md){:class="git"}. + +In the [examples/](https://git.xw3.org/fun/fun/src/branch/main/examples){:class="git"} directory should be an example of most Fun features. + +A complete API documentation will follow. ## Code