Releases: aplteam/ADOC
Version 7.1.2
Bug fixes:
- In case there is a
Public
function and it returns an empty vector, nothing should be listed as public, but that was not the case. ADOC_Doc
is not case sensitive anymore:adoc_doc
andADOC_DOC
etc 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 aPublic
function 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:
ADOC
is now a Tatin package, and depends on Tatin packages - Breaking change:
IncludeCss
removed from the default parameter space (CreateBrowseDefaults
) ]ADoc
accepts now several arguments pointing to a Tatin package and works out what to do with it:- A reference pointing to a package in either
#._tatin
or⎕SE._tatin
- A reference pointing to a
code
namespace 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
]ADoc
now investigates the namespace it was called from - New parameter
htmlFilename
added to the parameter space ADOC_Doc
may not be a function anymore: it must be a variable (vector of char vectors)- Needs
APLTreeUtils2
but does not:Include APLTreeUtils
anymore - The reserved names
History
,Version
andCopyright
may (still) be functions, but they can now also be variables - The deprecated function
List
was removed - Bug fixes
- In case
ADOC_Doc
did not carry any header...- no TOC was injected into the HTML
- any
Version
function was ignored
- Sort sequence was wrong (
Hello
should 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.