emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 41/119: including examples in documentation


From: Eric Schulte
Subject: [elpa] 41/119: including examples in documentation
Date: Mon, 10 Mar 2014 16:57:16 +0000

eschulte pushed a commit to branch master
in repository elpa.

commit ba6ce5d4cff1c7f06bea01fd4ca4076e0295304c
Author: Eric Schulte <address@hidden>
Date:   Mon Dec 23 19:46:47 2013 -0700

    including examples in documentation
---
 doc/emacs-web-server.texi |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/doc/emacs-web-server.texi b/doc/emacs-web-server.texi
index 0a834c4..3d792c5 100644
--- a/doc/emacs-web-server.texi
+++ b/doc/emacs-web-server.texi
@@ -79,11 +79,45 @@ A handler looks like this and does this.
 
 Request headers have this information.
 
address@hidden Usage Examples, Function Index, Request Headers, Top
address@hidden Usage Examples, Hello World, Request Headers, Top
 @chapter Usage Examples
 @cindex usage examples
 
 These examples demonstrate usage.
address@hidden
+* Hello World::                 Serve ``Hello World'' to every request
+* Hello World UTF8::            Serve ``Hello World'' w/UTF8 encoding
+* Hello World HTML::            Serve ``Hello World'' in HTML
+* File Server::                 Serve files from a document root
+* URL Parameter Echo::          Echo Parameters from a URL query string
+* POST Echo::                   Echo POST parameters back
address@hidden menu
+
address@hidden Hello World, Hello World UTF8, Usage Examples, Usage Examples
address@hidden Hello World
address@hidden ../examples/0-hello-world.el
+
address@hidden Hello World UTF8, Hello World HTML, Hello World, Usage Examples
address@hidden Hello World UTF8
address@hidden ../examples/1-hello-world-utf8.el
+
address@hidden Hello World HTML, File Server, Hello World UTF8, Usage Examples
address@hidden Hello World HTML
address@hidden ../examples/2-hello-world-html.el
+
address@hidden File Server, URL Parameter Echo, Hello World HTML, Usage Examples
address@hidden File Server
address@hidden ../examples/3-file-server.el
+
address@hidden URL Parameter Echo, POST Echo, File Server, Usage Examples
address@hidden URL Parameter Echo
address@hidden ../examples/4-url-param-echo.el
+
address@hidden POST Echo, Function Index, URL Parameter Echo, Usage Examples
address@hidden POST Echo
+POST parameters are used for example when HTML forms are submitted.
+
address@hidden ../examples/5-post-echo.el
 
 @node Function Index, Copying, Usage Examples, Top
 @chapter Function Index



reply via email to

[Prev in Thread] Current Thread [Next in Thread]