diff --git a/resources/docs/user-guide/session-file.md b/resources/docs/user-guide/session-file.md
index 526c1930..9565fc10 100644
--- a/resources/docs/user-guide/session-file.md
+++ b/resources/docs/user-guide/session-file.md
@@ -1,13 +1,13 @@
# Session file
-A valid session file is a javascript file that returns, when eval'd, an array of tab objects. It can be written as a javascript object :
+A valid session file is a javascript file that returns an array of [tab objects](#tab-object). It can be written as a javascript `array` :
```js
-[
- {
+[// array
+ {// tab object
label:"A tab containing widgets",
- widgets: [
- {
+ widgets: [// array
+ {// widget object
// widget properties
},
{
@@ -18,7 +18,7 @@ A valid session file is a javascript file that returns, when eval'd, an array of
{
label:"A tab containing tabs",
tabs: [
- {
+ {// tab object
// tab properties
},
{
@@ -32,7 +32,7 @@ A valid session file is a javascript file that returns, when eval'd, an array of
]
```
-It can also be a self invoking function that returns an array of tab objects :
+It can also be a javascript self invoking function that returns an array of [tab objects](#tab-object) :
```js
(function(){
@@ -58,6 +58,13 @@ It can also be a self invoking function that returns an array of tab objects :
## Tab object
+A tab object is a javascript object which properties are described below.
+
+```js
+{
+ // tab properties
+}
+```
#### `label`
- type: `string`
diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md
index c6cae848..b64f1e7b 100644
--- a/resources/docs/user-guide/widgets-generics.md
+++ b/resources/docs/user-guide/widgets-generics.md
@@ -1,6 +1,6 @@
## Widgets generics
-Widget objects share a set of generic properties described below. Each widget type comes with an additional set of specific properties which are documented in these pages:
+A widget object is a javascript object. All widgets share a set of generic properties described below. Each widget type comes with an additional set of specific properties which are documented in these pages:
- [Sliders](widgets-specifics/sliders.md)
- [Buttons](widgets-specifics/buttons.md)
@@ -9,6 +9,12 @@ Widget objects share a set of generic properties described below. Each widget ty
- [Plots](widgets-specifics/plots.md)
- [Containers](widgets-specifics/containers.md)
+```js
+{
+ // widget properties
+}
+```
+
----
### Basics
@@ -85,7 +91,7 @@ Widget objects share a set of generic properties described below. Each widget ty
- values can be defined as objects if the type needs to be specified (ie different from the default implied by the `precision`)
- example:
```js
-[
+preArgs: [
"1", // this will always be sent as a string
0.5, // this will be sent as an integer if precision equals 0
1, // this will be sent as float if precision is different from 0
diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml
index 7800af41..a28065a2 100644
--- a/resources/mkdocs.yml
+++ b/resources/mkdocs.yml
@@ -1,3 +1,4 @@
site_name: Open Stage Control
repo_url: https://github.com/jean-emmanuel/open-stage-control
theme: cinder
+copyright: "Open Stage Control is an AMMD software licensed under the GNU/GPLv3 License"