diff --git a/clog.asd b/clog.asd
index dd78260..1cf335d 100644
--- a/clog.asd
+++ b/clog.asd
@@ -11,11 +11,9 @@
:pathname "source/"
:depends-on (#:clack #:websocket-driver #:alexandria #:hunchentoot #:cl-ppcre
#:bordeaux-threads #:trivial-open-browser #:parse-float
- #:3BMD #:colorize
#:sqlite #:lack-middleware-static #:mgl-pax #:quri)
:components ((:file "clog-connection")
(:file "clog")
- (:file "clog-docs")
(:file "clog-utilities")
(:file "clog-base")
(:file "clog-element")
@@ -35,6 +33,11 @@
(:file "clog-web")
(:file "clog-helpers")))
+(asdf:defsystem #:clog/docs
+ :depends-on (#:clog #:3BMD #:colorize)
+ :pathname "source/"
+ :components ((:file "clog-docs")))
+
(asdf:defsystem #:clog/tools
:depends-on (#:clog)
:pathname "tools/"
diff --git a/doc/clog-manual.html b/doc/clog-manual.html
index 3e80250..7d0ea2b 100644
--- a/doc/clog-manual.html
+++ b/doc/clog-manual.html
@@ -465,7 +465,7 @@ if str is NIL returns empty string otherwise returns nil.
[function] RGB RED GREEN BLUE
-Return RGB string, red green and blue may be 0-255
Return RGB string, red green and blue may be 0-255
NIL returns empty string otherwise returns nil.
[function] RGBA RED GREEN BLUE ALPHA
-Return RGBA string, red green and blue may be 0-255, alpha 0.0 - 1.0
Return RGBA string, red green and blue may be 0-255, alpha 0.0 - 1.0
NIL returns empty string otherwise returns nil.
[function] HSL HUE SATURATION LIGHTNESS
-Return HSL string, hue 0-360, saturation and lightness 0%-100%
Return HSL string, hue 0-360, saturation and lightness 0%-100%
NIL returns empty string otherwise returns nil.
[function] HSLA HUE SATURATION LIGHTNESS ALPHA
-Return HSLA string, hue 0-360, saturation and lightness 0%-100%,
+
Return HSLA string, hue 0-360, saturation and lightness 0%-100%,
alpha 0.0 - 1.0
CLOG-Element - Styles
- +CLOG-ELEMENT
-
+
CLOG-ELEMENT
Get/Setf direction of flexbox packing.
- +CLOG-ELEMENT
Get/Setf grid-row-end.
- +CLOG-ELEMENT
Get/Setf align items in a flexbox/grid on column axis.
- +CLOG-ELEMENT
in a flexbox/grid.
-
+
Get/Setf justify items in a grid on row axis.
- +Get/Setf override align this item in grid on row axis.
- +Get/Setf opacity.
- +Get/Setf text-shadow.
- +Set font.
- +Get/Setf text-alignment.
- +CLOG-Section - Class for CLOG Inline Sections
CLOG-Phrase - Class for CLOG Inline Phrases
:AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
-
+
:AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
Get/Setf list list-kind.
-
+
-- [type] LIST-LOCATION-TYPE
+- [type] LIST-LOCATION-TYPE
@@ -3239,9 +3239,9 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
Create a new CLOG-Panel as child of
CLOG-OBJ. Optionally you can set the :X, :Y, :WIDTH and :HEIGHT (in
:UNITS defulting to :px, if set to nil unit type must be provided for
-x,y,width and height), BORDER-STYLE (see BORDER-STYLE-TYPE),
+x,y,width and height), BORDER-STYLE (see BORDER-STYLE-TYPE),
BORDER-WIDTH, BORDER-COLOR, :POSITIONING (default is :FIXED) (see
-POSITIONING-TYPE), :OVERFLOW (default is :CLIP) with :CONTENT (default
+POSITIONING-TYPE), :OVERFLOW (default is :CLIP) with :CONTENT (default
"") and :RESIZABLE defaults to :NONE. Additional css styles can be
set in :STYLE (default "") if :AUTO-PLACE (default t)
place-inside-bottom-of CLOG-OBJ. If hidden is true visiblep is set to
@@ -3389,10 +3389,10 @@ selector. For example:
CLOG-Form - Class for organizing Form Elements in to a From
-
+
-- [type] FORM-METHOD-TYPE
+- [type] FORM-METHOD-TYPE
@@ -3498,10 +3498,10 @@ text/plain
elements.
-
+
-- [type] FORM-ELEMENT-TYPE
+- [type] FORM-ELEMENT-TYPE
@@ -3718,10 +3718,10 @@ the File form element type.
Get/Setf form element checkedp.
-
+
-- [type] INPUT-MODE-TYPE
+- [type] INPUT-MODE-TYPE
@@ -4094,10 +4094,10 @@ optionally fill in with contents of data-list.
https://developer.mozilla.org/en-US/docs/Web/CSS/font
-
+
-- [type] TEXT-ALIGN-TYPE
+- [type] TEXT-ALIGN-TYPE
@@ -4108,10 +4108,10 @@ https://developer.mozilla.org/en-US/docs/Web/CSS/font
Set text alignment style
-
+
-- [type] TEXT-BASELINE-TYPE
+- [type] TEXT-BASELINE-TYPE
@@ -5139,7 +5139,7 @@ Calls on-input with t if confirmed or nil if canceled.
:select a-list ((label name)) a third value can be added "selected"
:text value
(any text input types also work :email, :tel, etc.
- see FORM-ELEMENT-TYPE)
+ see FORM-ELEMENT-TYPE)
Calls on-input after OK or Cancel with an a-list of field name to value
if confirmed or nil if canceled.
@@ -5333,10 +5333,10 @@ composit-location is called on the object of that content. If hidden is t then
then the visiblep propetery will be set to nil on creation.
-
+
-- [type] WEB-PADDING-CLASS-TYPE
+- [type] WEB-PADDING-CLASS-TYPE
@@ -5679,7 +5679,7 @@ is placed in DOM at top of OBJ instead of bottom of OBJFORM-ELEMENT-TYPE)
+ see FORM-ELEMENT-TYPE)
Calls on-input after OK or Cancel with an a-list of field name to value
if confirmed or nil if canceled. CANCEL-TEXT is only displayed if modal is t
@@ -5986,10 +5986,10 @@ very limitted to just open a new tab with url unless is a localhost url.Close connection to browser with out closing browser.
-
+
-- [type] STORAGE-TYPE
+- [type] STORAGE-TYPE
@@ -6292,7 +6292,7 @@ If ON-FULL-SCREEN-CHANGE-HANDLER is nil unbind the event.
[generic-function] URL CLOG-LOCATION
-
+Get/Setf full url. Setting the URL causes navgation to URL.
diff --git a/source/clog-docs.lisp b/source/clog-docs.lisp
index 8cc9f68..d650677 100644
--- a/source/clog-docs.lisp
+++ b/source/clog-docs.lisp
@@ -9,7 +9,52 @@
(in-package :clog)
;;; Various defsections defined in clog.lisp that are specific to
-;;; documentation.
+;;; documentation and documentation helpers
+
+;;;;;;;;;;;;;;;;
+;; load-world ;;
+;;;;;;;;;;;;;;;;
+
+(defun load-world ()
+ (load "source/clog.lisp")
+ (load "source/clog-docs.lisp")
+ (load "source/clog-base.lisp")
+ (load "source/clog-element.lisp")
+ (load "source/clog-element-common.lisp")
+ (load "source/clog-canvas.lisp")
+ (load "source/clog-form.lisp")
+ (load "source/clog-window.lisp")
+ (load "source/clog-navigator.lisp")
+ (load "source/clog-document.lisp")
+ (load "source/clog-location.lisp")
+ (load "source/clog-system.lisp")
+ (load "source/clog-utilities.lisp")
+ (load "source/clog-body.lisp")
+ (load "source/clog-helpers.lisp"))
+
+;;;;;;;;;;;;;;;;;;;;
+;; make-mark-down ;;
+;;;;;;;;;;;;;;;;;;;;
+
+(defun make-mark-down ()
+ (load-world)
+ (describe clog:@CLOG-MANUAL))
+
+;;;;;;;;;;;;;;;
+;; make-html ;;
+;;;;;;;;;;;;;;;
+
+(defun make-html ()
+ (load-world)
+ (mgl-pax:update-asdf-system-html-docs clog:@CLOG-MANUAL :clog))
+
+;;;;;;;;;;;;;;;;
+;; make-world ;;
+;;;;;;;;;;;;;;;;
+
+(defun make-world ()
+ (make-html)
+ (asdf:compile-system :clog))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Exports - clog documentation sections
diff --git a/source/clog-form.lisp b/source/clog-form.lisp
index 412559d..398ca44 100644
--- a/source/clog-form.lisp
+++ b/source/clog-form.lisp
@@ -41,7 +41,7 @@
;; create-form ;;
;;;;;;;;;;;;;;;;;
-(deftype from-method-type () '(members :get :post :none))
+(deftype form-method-type () '(members :get :post :none))
(defgeneric create-form (clog-obj
&key action method target class html-id auto-place)
diff --git a/source/clog-helpers.lisp b/source/clog-helpers.lisp
index 35b0a2d..e2eff72 100644
--- a/source/clog-helpers.lisp
+++ b/source/clog-helpers.lisp
@@ -6,7 +6,7 @@
;;;; clog-helpers.lisp ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; Various helpers for learning CLOG
+;;; Various helpers for CLOG
(cl:in-package :clog)
@@ -112,48 +112,3 @@ clog-user:*body* to last window openned to /repl."
:if-does-not-exist if-does-not-exist
:external-format external-format)
t))
-
-;;;;;;;;;;;;;;;;
-;; load-world ;;
-;;;;;;;;;;;;;;;;
-
-(defun load-world ()
- (load "source/clog.lisp")
- (load "source/clog-docs.lisp")
- (load "source/clog-base.lisp")
- (load "source/clog-element.lisp")
- (load "source/clog-element-common.lisp")
- (load "source/clog-canvas.lisp")
- (load "source/clog-form.lisp")
- (load "source/clog-window.lisp")
- (load "source/clog-navigator.lisp")
- (load "source/clog-document.lisp")
- (load "source/clog-location.lisp")
- (load "source/clog-system.lisp")
- (load "source/clog-utilities.lisp")
- (load "source/clog-body.lisp")
- (load "source/clog-helpers.lisp"))
-
-;;;;;;;;;;;;;;;;;;;;
-;; make-mark-down ;;
-;;;;;;;;;;;;;;;;;;;;
-
-(defun make-mark-down ()
- (load-world)
- (describe clog:@CLOG-MANUAL))
-
-;;;;;;;;;;;;;;;
-;; make-html ;;
-;;;;;;;;;;;;;;;
-
-(defun make-html ()
- (load-world)
- (mgl-pax:update-asdf-system-html-docs clog:@CLOG-MANUAL :clog))
-
-;;;;;;;;;;;;;;;;
-;; make-world ;;
-;;;;;;;;;;;;;;;;
-
-(defun make-world ()
- (make-html)
- (asdf:compile-system :clog))
diff --git a/source/clog.lisp b/source/clog.lisp
index 7e28f98..18d7a8f 100644
--- a/source/clog.lisp
+++ b/source/clog.lisp
@@ -261,7 +261,7 @@ embedded in a native template application.)"
(z-index generic-function)
(resizable-type type)
(resizable generic-function)
- (position-type type)
+ (positioning-type type)
(positioning generic-function)
(position-top generic-function)
(position-left generic-function)
@@ -817,6 +817,7 @@ embedded in a native template application.)"
(save-body-to-file function)
"Functions for Compilation and Documentation"
+ ;; contained in clog-docs.lisp
(load-world function)
(make-mark-down function)
(make-html function)