4 Scribbling Documentation

► |  | Scribble: The Racket Documentation Tool

1 | Getting Started
2 | @ Syntax
3 | High-Level Scribble API
4 | Scribbling Documentation
5 | Literate Programming
6 | Low-Level Scribble API
7 | Running scribble
| Index

▼ | 4 | Scribbling Documentation

4.1 | Getting Started with Documentation
4.2 | Manual Forms
4.3 | Racket
4.4 | Evaluation and Examples
4.5 | In-Source Documentation
4.6 | BNF Grammars
4.7 | Compatibility Libraries

9.2
Racket
top contents ← prev up next →

## 4 Scribbling Documentation🔗ℹ

The scribble/manual language and associated libraries provide extensive support for documenting Racket libraries. The most significant aspect of support for documentation is the way that source-code bindings are connected to documentation sites through the module namespace—a connection that is facilitated by the fact that Scribble documents are themselves modules that reside in the same namespace. Getting Started with Documentation provides an introduction to using Scribble for documentation, and the remaining sections document the relevant libraries and APIs in detail.

4.1 Getting Started with Documentation
4.1.1 Setting Up Library Documentation
4.1.2 Racket Typesetting and Hyperlinks
4.1.3 Section Hyperlinks
4.1.4 Defining Racket Bindings
4.1.5 Showing Racket Examples
4.1.6 Multi-Page Sections
4.2 Manual Forms
4.2.1 Typesetting Code
4.2.1.1 #lang-Specified Code
4.2.1.2 Racket Code
4.2.1.3 Preserving Comments
4.2.1.4 Code Fonts and Styles
4.2.2 Documenting Modules
4.2.3 Documenting Forms, Functions, Structure Types, and Values
4.2.4 Documenting Classes and Interfaces
4.2.5 Documenting Signatures
4.2.6 Defining Documentation Forms
4.2.7 Various String Forms
4.2.8 Links
4.2.9 Indexing
4.2.10 Bibliography
4.2.11 Version History
4.2.12 Miscellaneous
4.2.13 Index-Entry Descriptions
4.2.14 Manual Rendering Style
4.3 Racket
4.4 Evaluation and Examples
4.4.1 Legacy Evaluation
4.5 In-Source Documentation
4.5.1 Source Annotations for Documentation
4.5.2 Extracting Documentation from Source
4.6 BNF Grammars
4.7 Compatibility Libraries
4.7.1 Compatibility Structures And Processing
4.7.2 Compatibility Basic Functions

top contents ← prev up next →