Documentation Source Text

Check-in [f3445c7d01]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the sessions documentation generator so that code snippets are indented correctly.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f3445c7d01fc1d79969823dc7bcfd1a92f8a847a4bf3b36176f56e17ac4c5fc0
User & Date: drh 2018-02-28 21:50:34.515
Context
2018-02-28
22:21
Enhance the sessions documentation to show the methods of objects. (check-in: a0b50e2c3d user: drh tags: trunk)
21:50
Fix the sessions documentation generator so that code snippets are indented correctly. (check-in: f3445c7d01 user: drh tags: trunk)
2018-02-27
22:16
Updates to the althttpd documentation. (check-in: 5a87c618a8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to pages/session.in.
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
  } elseif {$phase==1} {
    if {[string range $line 0 1]=="**"} {
      # Record all lines of column following the CAPI3REF keyword as the
      # description of the interface.  Except, look for special keywords
      # CATEGORY, KEYWORDS, INVARIANTS, and ASSUMPTIONS and process them
      # separately.
      #
      set lx [string trim [string range $line 3 end]]
      if {[regexp {^CATEGORY: +([a-z]*)} $lx all cx]} {
        set type $cx
      } elseif {[regexp {^KEYWORDS: +(.*)} $lx all kx]} {
        foreach k $kx {
          set keyword($k) 1
        }
      } elseif {[regexp {^EXPERIMENTAL} $lx]} {







|







78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
  } elseif {$phase==1} {
    if {[string range $line 0 1]=="**"} {
      # Record all lines of column following the CAPI3REF keyword as the
      # description of the interface.  Except, look for special keywords
      # CATEGORY, KEYWORDS, INVARIANTS, and ASSUMPTIONS and process them
      # separately.
      #
      set lx [string range $line 3 end]
      if {[regexp {^CATEGORY: +([a-z]*)} $lx all cx]} {
        set type $cx
      } elseif {[regexp {^KEYWORDS: +(.*)} $lx all kx]} {
        foreach k $kx {
          set keyword($k) 1
        }
      } elseif {[regexp {^EXPERIMENTAL} $lx]} {