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 {
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.
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
+ --help |
- Display help information | -||
--no-color |
- Disable color output | -||
-p <port> |
- Set the server port | -||
new <project> |
Create a new projet called <project> | @@ -243,6 +260,30 @@ footer {run <project> |
Run the projet called <project> |
-help |
+ Display help information. | +||
-V1 |
+ Print extended version information, this is very helpful when it comes to bug reporting. | +||
-no-color |
+ Disable color output. | +||
-p <port> |
+ Set the server port. | +||
-static |
+ Render and save all pages. (this feature is yet to be implemented) | +||
-version |
+ Print the version. | +