Erlang -- Erl_Docgen Release Notes

Erl_Docgen

Release Notes

Version 1.0

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Chapters

- Erl_Docgen Release Notes
  - Top of chapter
  - Erl_Docgen 1.0
  - Erl_Docgen 0.11
  - Erl_Docgen 0.10
  - Erl_Docgen 0.9.1
  - Erl_Docgen 0.9
  - Erl_Docgen 0.8.1
  - Erl_Docgen 0.8
  - Erl_Docgen 0.7.3
  - Erl_Docgen 0.7.2
  - Erl_Docgen 0.7.1
  - Erl_Docgen 0.7
  - Erl_Docgen 0.6.1
  - Erl_Docgen 0.6
  - Erl_Docgen 0.5
  - Erl_Docgen 0.4.2
  - Erl_Docgen 0.4.1
  - Erl_Docgen 0.4
  - Erl_Docgen 0.3.7
  - Erl_Docgen 0.3.6
  - Erl_Docgen 0.3.5
  - Erl_Docgen 0.3.4.1
  - Erl_Docgen 0.3.4
  - Erl_Docgen 0.3.3
  - Erl_Docgen 0.3.2
  - Erl_Docgen 0.3.1
  - Erl_Docgen 0.3
  - Erl_Docgen 0.2.6
  - Erl_Docgen 0.2.5
  - erl_docgen 0.2.4
  - erl_docgen 0.2.3
  - erl_docgen 0.2.2
  - erl_docgen 0.2.1
  - erl_docgen 0.2
  - erl_docgen 0.1

# 1 Erl_Docgen Release Notes

This document describes the changes made to the erl_docgen application.

### 1.1 Erl_Docgen 1.0

#### Improvements and New Features

- Embedded documentation (also known as Documentation Chunks) is now also available in the form of files according to EEP-48. The Documentation Chunks are produced by default when building the other Erlang/OTP documentation. If you want to only build the embedded documentation you can pass the DOC_TARGETS=chunks environment variable to make.

  Own Id: OTP-16406

- Minor DTD additions.

  Own Id: OTP-16497

- The seealso tag has been replaced with type aware tags instead. The new tags are: seemfa|seeerl|seetype|seeapp|seecom|seecref|seefile|seeguide.

  fsdescription has been added for adding a title to groups of functions, for instance Module Callbacks.

  The dtds of all documentation files have been trimmed from all unused or rarely-used tags.

  Unused dtds have been removed.

  *** POTENTIAL INCOMPATIBILITY ***

  Own Id: OTP-16503

### 1.2 Erl_Docgen 0.11

#### Fixed Bugs and Malfunctions

- Fixed a cosmetic formatting bug in the data types section of generated HTML documentation.

  Own Id: OTP-15940

#### Improvements and New Features

- Added support for specifying what language a code snippet should be highlighted as.

  Updated the code examples syntax highlighting library.

  Own Id: OTP-16209

### 1.3 Erl_Docgen 0.10

#### Improvements and New Features

- Update the documentation build support to handle FOP 2.1 .

  Own Id: OTP-16051

### 1.4 Erl_Docgen 0.9.1

#### Fixed Bugs and Malfunctions

- All incorrect (that is, all) uses of "can not" has been corrected to "cannot" in source code comments, documentation, examples, and so on.

  Own Id: OTP-14282 Aux Id: PR-1891

### 1.5 Erl_Docgen 0.9

#### Improvements and New Features

- The HTML reference documentation shows the OTP version where modules and functions were first introduced. Versions older than R13B04 are not shown.

  Own Id: OTP-15460

- Make html documentation of C functions with many arguments more readable.

  Own Id: OTP-15637 Aux Id: PR-2160

### 1.6 Erl_Docgen 0.8.1

#### Fixed Bugs and Malfunctions

- Indexing for the online search function has been corrected for CREF documents.

  Own Id: OTP-14406

### 1.7 Erl_Docgen 0.8

#### Improvements and New Features

- Add a hoverable element to the titles in the html documentation with a link to github where the documentation can be edited.

  Make the anchors in the html User's Guide and system documentation use the title of the sections instead of a generated id.

  Own Id: OTP-14979

### 1.8 Erl_Docgen 0.7.3

#### Fixed Bugs and Malfunctions

- Update makefile so db_funcs.xsl is a part of the installed application.

  Own Id: OTP-15091

### 1.9 Erl_Docgen 0.7.2

#### Fixed Bugs and Malfunctions

- The style for code, warning and note tags in the pdf have been changed so they look like the html version.
  The spacing around code blocks have been changed for both html and pdf so it's the same regardless if the user have a newline after the start tag (or before the end tag) or not.

  Own Id: OTP-14674

### 1.10 Erl_Docgen 0.7.1

#### Improvements and New Features

- General Unicode improvements.

  Own Id: OTP-14462

### 1.11 Erl_Docgen 0.7

#### Fixed Bugs and Malfunctions

- Sort index of C functions alphabetically in the sidebar.

  Own Id: OTP-14333 Aux Id: ERL-393

- The right side index of functions now handle functions with same name but different arity.

  Own Id: OTP-14431

#### Improvements and New Features

- Improvements in the OTP documentation style.

  (Thanks to Mariano Guerra)

  Own Id: OTP-14371 Aux Id: PR-1215

### 1.12 Erl_Docgen 0.6.1

#### Fixed Bugs and Malfunctions

- Docgen would previously emit "utf8" as the default encoding in xml. This has now been remedied by emitting the correct string "UTF-8" instead.

  Own Id: OTP-13971

### 1.13 Erl_Docgen 0.6

#### Improvements and New Features

- Improve types and specs in OTP documentation generated from Erlang source files.

  Own Id: OTP-13720 Aux Id: ERL-120

### 1.14 Erl_Docgen 0.5

#### Fixed Bugs and Malfunctions

- Generate HTML anchors for data types without name attribute.

  Own Id: OTP-13600 Aux Id: Jira: ERL-141

- Updated make rules so it's possible to use the xmllint target for checking the system documentation.
  Removed usage of non defined DTD tag (output) from the system documentation and corrected a number of xml faults.

  Added support for quote tag and a new level of header formatting in erl_docgen.

  A fault when generating html for manual set markers for section headings is corrected so now is the title visible after hyperlink jump.

  Own Id: OTP-13638

- Corrected the space handling for the seealso tag.

  Own Id: OTP-13639

#### Improvements and New Features

- Sort the modules function index alphabetically.

  Own Id: OTP-13668 Aux Id: PR-543

### 1.15 Erl_Docgen 0.4.2

#### Fixed Bugs and Malfunctions

- Correctly generate anno tags for maps keys

  Own Id: OTP-12955

### 1.16 Erl_Docgen 0.4.1

#### Improvements and New Features

- Updated the xmllint target to just check the xml files with real documentation content.
  Corrected some errors and added some missing target in the DTD's.

  Own Id: OTP-13026

### 1.17 Erl_Docgen 0.4

#### Improvements and New Features

- Add possibility to add extra information on documentation front pages.

  Own Id: OTP-12722

### 1.18 Erl_Docgen 0.3.7

#### Fixed Bugs and Malfunctions

- Maps: Properly align union typed assoc values in documentation

  Own Id: OTP-12190

### 1.19 Erl_Docgen 0.3.6

#### Fixed Bugs and Malfunctions

- Fix spec to doc generation from erl_docgen and edoc for maps

  Own Id: OTP-12058

### 1.20 Erl_Docgen 0.3.5

#### Fixed Bugs and Malfunctions

- Application upgrade (appup) files are corrected for the following applications:

  asn1, common_test, compiler, crypto, debugger, dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe, inets, observer, odbc, os_mon, otp_mibs, parsetools, percept, public_key, reltool, runtime_tools, ssh, syntax_tools, test_server, tools, typer, webtool, wx, xmerl

  A new test utility for testing appup files is added to test_server. This is now used by most applications in OTP.

  (Thanks to Tobias Schlager)

  Own Id: OTP-11744

#### Improvements and New Features

- Handle map types in docgen_edoc_xml_cb

  Own Id: OTP-11776

### 1.21 Erl_Docgen 0.3.4.1

#### Improvements and New Features

- The encoding of the notes.xml file has been changed from latin1 to utf-8 to avoid future merge problems.

  Own Id: OTP-11310

### 1.22 Erl_Docgen 0.3.4

#### Fixed Bugs and Malfunctions

- Correct a PDF indentation bug for tagged lists in tagged lists and added some missing tags to the DTD.

  Own Id: OTP-10725

#### Improvements and New Features

- Support for Unicode has been implemented.

  Own Id: OTP-10302

- Where necessary a comment stating encoding has been added to Erlang files. The comment is meant to be removed in Erlang/OTP R17B when UTF-8 becomes the default encoding.

  Own Id: OTP-10630

- Some examples overflowing the width of PDF pages have been corrected.

  Own Id: OTP-10665

### 1.23 Erl_Docgen 0.3.3

#### Improvements and New Features

- A possibility to configure erl_docgen so it can generate documentation for other products than Erlang/OTP.

  Own Id: OTP-9040

### 1.24 Erl_Docgen 0.3.2

#### Fixed Bugs and Malfunctions

- A bug regarding spaces in C function prototypes has been fixed. (Thanks to Richard O'Keefe.)

  Own Id: OTP-10138

### 1.25 Erl_Docgen 0.3.1

#### Fixed Bugs and Malfunctions

- Some links in C libraries were not generated correctly. This bug has been fixed.

  Own Id: OTP-9832

- Set `font-family: Courier, monospace' in OTP doc CSS

  left Courier as the primary original font and also added monospace as secondary for people which in Linux does not have it installed.

  Also adds minor cosmetic changes to the CSS. (Thanks to Ricardo Catalinas Jiménez)

  Own Id: OTP-9918

- When generating from edoc it is now possible to use ranges in specs and <img> tags in the description.

  Own Id: OTP-9970

#### Improvements and New Features

- Optimize and improve handling of multiple func:s.

  Own Id: OTP-9877

- The generation of the libraries' HTML documentation has been optimized.

  Own Id: OTP-9893

### 1.26 Erl_Docgen 0.3

#### Fixed Bugs and Malfunctions

- Bug fixes concerning the generation of manpages.

  Own Id: OTP-9614

- Fix syntax bug in eix files.

  Own Id: OTP-9617

- Bug fix concerning the generation of manpages.

  Own Id: OTP-9759

- Fixed an arity calculation bug for erlang functions in the documentation index for html and pdf.

  Own Id: OTP-9772

#### Improvements and New Features

- The docbuilder application is removed in R15 and parts still used in the OTP documentation build process and the DTD documentation is moved to erl_docgen.

  Own Id: OTP-9721

### 1.27 Erl_Docgen 0.2.6

#### Fixed Bugs and Malfunctions

- Bug fixes.

  Own Id: OTP-9360

- The manpage generation has been improved.

  Own Id: OTP-9541 Aux Id: OTP-9550

- Fix eix file generation for new function spec references.

  Own Id: OTP-9562

- The function signatures in the pdf files was not in a fixed font.

  Own Id: OTP-9563

- The parts level in the system documentation was missing in the bookmarks menu for the pdf and the copyright year generation for PDF was not correct.

  Own Id: OTP-9576

- The indentation after Warning: and Note: in manpages has been improved.

  Own Id: OTP-9588

### 1.28 Erl_Docgen 0.2.5

#### Improvements and New Features

- The support for using Erlang specifications and types has been improved.

  Own Id: OTP-9261

### 1.29 erl_docgen 0.2.4

#### Fixed Bugs and Malfunctions

- Subsections below level 2 where not handled correct when generating html and pdf.

  Own Id: OTP-90730

### 1.30 erl_docgen 0.2.3

#### Fixed Bugs and Malfunctions

- Fix format_man_pages so it handles all man sections and remove warnings/errors in various man pages.

  Own Id: OTP-8600

#### Improvements and New Features

- Support for using Dialyzer specifications and types has been added. This is an experimental release; changes are expected before the new functionality is used when building the OTP documentation.

  Own Id: OTP-8720

### 1.31 erl_docgen 0.2.2

#### Fixed Bugs and Malfunctions

- Fixed the transformation from xml to html of the funcs block in comref pages.

  Own Id: OTP-8792

### 1.32 erl_docgen 0.2.1

#### Fixed Bugs and Malfunctions

- The text within code examples (CODE and PRE tags) will not be space normalized for man pages.

  Own Id: OTP-8476

### 1.33 erl_docgen 0.2

#### Improvements and New Features

- Added an xsl transform from OTP xml documentation to a file (.eix) of erlang terms that can be read by the erldoc application. Erldoc handles the documentation search mechanism at erlang.org. Added generation of eix files to otp_release_targets.mk. Fixed a copyright date error in db_html.xsl .

  Own Id: OTP-8308

- The documentation is now possible to build in an open source environment after a number of bugs are fixed and some features are added in the documentation build process.

  - The arity calculation is updated.

  - The module prefix used in the function names for bif's are removed in the generated links so the links will look like "http://www.erlang.org/doc/man/erlang.html#append_element-2" instead of "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".

  - Enhanced the menu positioning in the html documentation when a new page is loaded.

  - A number of corrections in the generation of man pages (thanks to Sergei Golovan)

  - The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications.

  Own Id: OTP-8343

### 1.34 erl_docgen 0.1

#### Improvements and new features

This is the first release of erl_docgen for internal use.