diff --git a/docs.vxserver.dev/static/fes.html b/docs.vxserver.dev/static/fes.html index 43212e1..26a9b1f 100644 --- a/docs.vxserver.dev/static/fes.html +++ b/docs.vxserver.dev/static/fes.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.
    @@ -586,7 +627,7 @@ return hello This can be called from another with,