From 2faff242ffd4faf7c8c53e4a9317d5d9c930ad09 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 12 Nov 2023 12:45:23 -0500 Subject: Remove obsolete website. The official Haunt page is hosted on my blog now. --- website/manual/Pages.html | 114 ---------------------------------------------- 1 file changed, 114 deletions(-) delete mode 100644 website/manual/Pages.html (limited to 'website/manual/Pages.html') diff --git a/website/manual/Pages.html b/website/manual/Pages.html deleted file mode 100644 index 5089622..0000000 --- a/website/manual/Pages.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - -Haunt Reference Manual: Pages - - - - - - - - - - - - - - - - - - - - -
-

-Next: , Previous: , Up: Programming Interface   [Contents][Index]

-
-
- -

5.4 Pages

- -
-
(use-modules (haunt page))
-
- -

Page objects represent files that have yet to be written to disk. -Their contents may be any arbitrary object that their writer procedure -knows how to serialize. In practice, pages are almost always written -to disk as HTML or XML. -

-
-
Scheme Procedure: make-page file-name contents writer
-

Create a new page object. The string file-name specifies where -the page should be written to in the file system. The procedure -writer is responsible for serializing contents. -

- -
-
Scheme Procedure: page? object
-

Return #t if object is a page object. -

- -
-
Scheme Procedure: page-file-name page
-

Return the file name string for page. -

- -
-
Scheme Procedure: page-contents page
-

Return the contents of page. -

- -
-
Scheme Procedure: page-writer page
-

Return the writer procedure page. -

- -
-
Scheme Procedure: write-page page output-directory
-

Write page to output-directory. -

- - - - - - -- cgit v1.2.3