From b593aa26f05c230c550c0bdb6e5e7f4eaefae1f2 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Sat, 27 Dec 2025 19:16:59 -0500 Subject: [PATCH] doc: update documentation --- index.html | 65 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 43212e1..4028272 100644 --- a/index.html +++ b/index.html @@ -183,6 +183,7 @@ footer {
  • Introduction
  • Installation
  • Usage
  • +
  • Quick Start
  • Cli Reference
  • Reference
  • @@ -210,6 +211,34 @@ footer { +
    +

    Quick Start

    +
    fes new hello
    +

    This creates a new project under the name hello.

    +
    fes run hello
    +

    This runs your project hello, by default at localhost:3000.

    +

    Extensions

    +

    Let's add a paragraph to this simple site. Right now you have the following page:

    +
    local fes = require("fes")
    +local site = fes.fes()
    +
    +-- site.copyright = fes.util.copyright("https://fsd.vxserver.dev", "vx-clutch")
    +
    +site:h1("Hello, World!")
    +
    +return site
    +

    To add a simple paragraph modify like so:

    +
    local fes = require("fes")
    +local site = fes.fes()
    +
    +-- site.copyright = fes.util.copyright("https://fsd.vxserver.dev", "vx-clutch")
    +
    +site:h1("Hello, World!")
    +site:p("This is a paragraph")
    +
    +return site
    +
    +

    Cli Reference

    @@ -219,18 +248,6 @@ footer { - - - - - - - - - - - - @@ -243,6 +260,30 @@ footer { + + + + + + + + + + + + + + + + + + + + + + + +
    --helpDisplay help information
    --no-colorDisable color output
    -p <port>Set the server port
    new <project> Create a new projet called <project>run <project> Run the projet called <project>
    -helpDisplay help information.
    -V1Print extended version information, this is very helpful when it comes to bug reporting.
    -no-colorDisable color output.
    -p <port>Set the server port.
    -staticRender and save all pages. (this feature is yet to be implemented)
    -versionPrint the version.