Documentation Source Text

Artifact Content
Login

Artifact 3796aad6b5dd7f154d85fb82bdea5470303e315e:


<title>SQLite Documentation</title>

<h1 align="center">Document Categories</h1>
<script>
function toggle_docs(n){
  var w = document.getElementById("doclist_ul"+n);
  var a = document.getElementById("doclist_a"+n);
  if( w.style.display=="none" ){
    w.style.display = "block";
    a.innerHTML = "-";
  }else{
    w.style.display = "none";
    a.innerHTML = "+";
  }
}
</script>
<style>
.onoff {
  text-decoration:none;
  border: 2px solid black;
  border-radius: 8px;
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 150%;
}
</style>
<ol>
<tcl>
hd_keywords {categorical listing of SQLite documents} {documents by category}
set prevHead {}
set lDoc {}
set cnt 0
proc doc {name url desc} {
  global lDoc
  lappend lDoc $name $url
}
proc heading {text tag {caption {}}} {
  end_heading
  set ::prevHead $text
}
proc end_heading {} {
  global lDoc cnt prevHead
  if {$prevHead==""} return
  incr cnt
  hd_putsnl "<li><b>$prevHead</b>"
  hd_puts "<a id='doclist_a$cnt' href='javascript:void(0)'"
  hd_puts " class='onoff' onclick='toggle_docs($cnt)'>+</a>"
  hd_putsnl "<ul id='doclist_ul$cnt' style='display:none;'>"
  foreach {name url} $lDoc {
    hd_putsnl "<li><a href='$url'>$name</a>"
  }
  hd_putsnl </ul>
  set lDoc {}
}
source [file join $::DOC pages docsdata.tcl]
end_heading
</tcl>
</ol>