arrow
Return

Non-Linear Software Documentation with Interactive Code Examples

delete2025-01-20
delete0
delete
OA
AI
M
Mathieu Nassif *
M
Martin P. Robillard
DOI:10.1145/3702976delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Documentation enables sharing knowledge between the developers of a technology and its users. Creating quality documents, however, is challenging: Documents must satisfy the needs of a large audience without being overwhelming for individuals. We address this challenge with a new document format named Casdoc. Casdoc documents are interactive resources centered around code examples for programmers. Explanations of the code elements are presented as annotations that the readers reveal based on their needs. We evaluated Casdoc in a field study with over 300 participants who used 126 documents as part of a software design course. During the study, the majority of participants adopted Casdoc instead of a baseline format and used interactive annotations to reveal additional information about the code example. Although participants collectively viewed the majority of the documents' content, they individually revealed a minority of the annotations they saw. We gathered insights into five aspects of Casdoc that can be applied to other formats and highlighted five lessons learned to improve navigability in online documents.
Keywords:
field study
software documentation
documentation format
interactive documents
code examples

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

No organization information available
Cited Papers

Cited Papers

errShare
errSave
Unilateral Parenchymatous Kidney Disease and Hypertension: Results of Nephrectomy and Medical Treatment
err2008-12-04
err0
PREAI
errC. Wanner; T. Lüscher; H. Groth; D. Hauri; H.R. Burger; P. Greminger; U. Kuhlmann; W. Siegenthaler; W. Vetter
errShare
errSave
Upregulation of the angiotensin-converting enzyme 2/angiotensin-(1–7)/Mas receptor axis in the heart and the kidney of growth hormone receptor knock-out mice
err2012-12-01
err0
errOAAI
errJorge F. Giani; Johanna G. Miquet; Marina C. Muñoz; Valeria Burghi; Jorge E. Toblli; Michal M. Masternak; John J. Kopchick; Andrzej Bartke; Daniel Turyn; Fernando P. Dominici
errShare
errSave
How API Documentation Fails
err2015-07-01
err136
PREAI
errUddin, Gias; Robillard, Martin P.
errShare
errSave
Cognitive load in hypertext reading: A review
err2007-05-01
err309
PREAI
errDeStefano, Diana; LeFevre, Jo-Anne
errShare
errSave
Documenting and sharing software knowledge using screencasts
err2017-03-30
err27
PREAI
errMacLeod, Laura; Bergen, Andreas; Storey, Margaret-Anne
errShare
errSave
Mesonephroid Adenocarcinoma of the Bladder and Urethra: A Case Report
err2014-03-02
err0
PREAI
errD. Doddamani; M. S. Ansari; N. P. Gupta; M. Aron; I Singh; S. Datta Gupta
errShare
errSave
errShare
errSave
Treatment Outcome and Relevance of Palliative Chemotherapy in Urachal Cancer
err2014-11-29
err0
PREAI
errHyun Ae Jung; Jong-Mu Sun; Se Hoon Park; Ghee Young Kwon; Ho Yeong Lim
errShare
errSave
researcher View more