Releases: aplteam/ADOC
Version 7.1.2
Bug fixes:
- In case there is a
Publicfunction and it returns an empty vector, nothing should be listed as public, but that was not the case. ADOC_Docis not case sensitive anymore:adoc_docandADOC_DOCetc are now found as well
To be consumed as a Tatin package from https://tatin.dev
Version 7.1.1
- Safety net added (
:Trap 0) when aPublicfunction is executed - The user command now complains with a useful message when no argument is provided. So far a DOMAIN ERROR was thrown.
- Documentation on Tatin packages corrected
To be consumed as a Tatin package from https://tatin.dev
Version 7.1.0
]ADOC will now process references pointing to a loaded Tatin package in a smart way.
It does not matter whether it is a ref pointing to the package in _tatin, the ref in _tatin itself or even just its API.
To be consumed as a Tatin package from https://tatin.dev
The user command script of version 7.0.0 did not work
Also: under certain circumstances Copyright and/or Version and/or History did not get a caption assigned.
To be consumed as a Tatin package from https://tatin.dev
ADOC is now a Tatin package
- Breaking change: requires 18.0 or better
- Breaking change:
ADOCis now a Tatin package, and depends on Tatin packages - Breaking change:
IncludeCssremoved from the default parameter space (CreateBrowseDefaults) ]ADocaccepts now several arguments pointing to a Tatin package and works out what to do with it:- A reference pointing to a package in either
#._tatinor⎕SE._tatin - A reference pointing to a
codenamespace within a loaded package - A reference pointing to the API of a loaded package
- A reference pointing to a package in either
- Called without an argument
]ADocnow investigates the namespace it was called from - New parameter
htmlFilenameadded to the parameter space ADOC_Docmay not be a function anymore: it must be a variable (vector of char vectors)- Needs
APLTreeUtils2but does not:Include APLTreeUtilsanymore - The reserved names
History,VersionandCopyrightmay (still) be functions, but they can now also be variables - The deprecated function
Listwas removed - Bug fixes
- In case
ADOC_Docdid not carry any header...- no TOC was injected into the HTML
- any
Versionfunction was ignored
- Sort sequence was wrong (
Helloshould be listed beforeHello1)
- In case
To be consumed as a Tatin package from https://tatin.dev
Fix for ]adoc -??? in 18.2
Due to a change in the user command framework the command
]adoc -???
stopped working in 18.2 This is a fix for the problem.
“References” had disappeared from the TOC by accident.
v6.9.2 Fix: The Reference had disappeared from the TOC
Three minor bug fixes
Most importantly, a user function Public, when found in namespace, was executed by ADOC which expected a vector of vectors and crashed on a matrix.
Now simple matrixes are processed as well.
Properties `IncludeReference` and `Toc` added
Bug fix related to external stuff in ordinary namespaces
In case an ordinary namespace contained external stuff (like ⎕NA functions etc.) SALT's Save function (with "convert" as parameter) failed. Now the external stuff is deleted before SALT's Save function is called.