◊(Local Yarn Code "View Ticket")

Ticket Hash: d8b9f6f7b4f1cd24e05efae196810415c8f75660
Title: Cross-ref links broken in scribble docs for sqlite-tools
Status: Closed Type: Documentation Broken
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2019-03-20 01:06:00
Version Found In:
User Comments:
joel added on 2019-03-20 00:59:43: (text/x-fossil-wiki)
The file <code>code-docs/sqlite-tools.scrbl</code> lacks a <code>(require "../sqlite-tools.rkt")</code>, hence the functions documented in that file are not hyperlinked to their definitions.

However, adding the <code>require</code> results in an error:

<blockquote><pre><code>code-docs/sqlite-tools.scrbl:15:21: module: identifier already required for label
  at: sqlite3-connect
  in: db
  location...:
   code-docs/sqlite-tools.scrbl:15:21
contect...: ...
</code></pre></blockquote>

The [/artifact/4c85eb42?ln=20|line in question] calls the same <code>require</code> from within the examples evaluator. So there is some problem with <code>sqlite-tools.rkt</code> [/artifact/044c6c3e?ln=39|re-providing everything from <code>db/base</code> and <code>db/sqlite3</code>] when it comes to the labels and examples in Scribble docs.

joel added on 2019-03-20 01:06:00: (text/x-fossil-wiki)
Fixed in [d439b95f].