This is the example Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Jan 25 10:54:41 2021 GMT+0.
• Copying: | The MIT License | |
• Introduction: | What example is all about | |
• Systems: | The systems documentation | |
• Files: | The files documentation | |
• Packages: | The packages documentation | |
• Definitions: | The symbols documentation | |
• Conclusion: | Time to go | |
• Indexes: | Concepts, functions, variables and data types |
Copyright © 2021 Alexander Artemenko
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the section entitled “Copying” is included exactly as in the original.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be translated as well.
Next: Introduction, Previous: Top, Up: Top [Contents][Index]
Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
This is the introduction to Declt example project. Declt is a documentation system used to build a Quickref — API reference for all libraries, included into the Quicklisp.
This project is a part of the CL Doc Systems — attempt to create a comprehensive set of examples of different Common Lisp documentation systems.
single-page-p
variable in docs/scripts/builder.lisp.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The example system: | ||
• The example/app system: | ||
• The example/utils system: | ||
• The example/class system: |
Next: The example/app system, Previous: Systems, Up: Systems [Contents][Index]
Alexander Artemenko
MIT
This description will be used only if long-description is missing
Test long description. Both descriptions will be shown in the docs.
example/app (system)
example.asd (file)
Next: The example/utils system, Previous: The example system, Up: Systems [Contents][Index]
Alexander Artemenko
MIT
example.asd (file)
file-type.lisp (file)
Next: The example/class system, Previous: The example/app system, Up: Systems [Contents][Index]
Alexander Artemenko
MIT
example.asd (file)
file-type.lisp (file)
Previous: The example/utils system, Up: Systems [Contents][Index]
Alexander Artemenko
MIT
example.asd (file)
file-type.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files: |
• The example.asd file: | ||
• The example/app/file-type.lisp file: | ||
• The example/utils/file-type.lisp file: | ||
• The example/class/file-type.lisp file: |
Next: The example/app/file-type․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
Next: The example/utils/file-type․lisp file, Previous: The example․asd file, Up: Lisp files [Contents][Index]
example/app (system)
foo (function)
Next: The example/class/file-type․lisp file, Previous: The example/app/file-type․lisp file, Up: Lisp files [Contents][Index]
example/utils (system)
do-the-job (function)
concat (function)
Previous: The example/utils/file-type․lisp file, Up: Lisp files [Contents][Index]
example/class (system)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The example/app package: | ||
• The example/utils package: | ||
• The example/class package: |
Next: The example/utils package, Previous: Packages, Up: Packages [Contents][Index]
This is docstring for the EXAMPLE/APP package.
The package contains a FOO function which does it’s job by applying transformation to the first and second arguments.
file-type.lisp (file)
common-lisp
foo (function)
Next: The example/class package, Previous: The example/app package, Up: Packages [Contents][Index]
The utils package.
The only exported function DO-THE-JOB will be show in a separate section "Exported Definitions".
file-type.lisp (file)
common-lisp
do-the-job (function)
concat (function)
Previous: The example/utils package, Up: Packages [Contents][Index]
This package demonstrates how Declt displays classes and generic functions.
The key consept is USER class
It is possible to check if user has admin privileges, using this IS-ADMIN function.
Right now, IS-ADMIN returns T only for objects of class ADMIN.
file-type.lisp (file)
common-lisp
Next: Conclusion, Previous: Packages, Up: Top [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions: | ||
• Internal definitions: |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions: | ||
• Exported classes: |
Next: Exported classes, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
The function does the job.
It CONCATENATES first and second arguments
calling internal function concat.
On this multiline we’ll check how does documentation
system processes docstrings.
NOTE: pay attention the Texinfo markup in the second paragraph does not supported in docstrings and I was not able to make CONCATENATES word bold :(
file-type.lisp (file)
This is example function.
* FIRST - Just a first argument.
* OTHER - Optional keyword argument. Default is 100500.
Returns: A string with first and other concatenated.
Internally it calls EXAMPLE/UTILS:DO-THE-JOB
to do the real job.
Note, that the link above is broken, but Coo does not warn us when building the docs. Sphinx issues a warning inn such case.
file-type.lisp (file)
Previous: Exported functions, Up: Exported definitions [Contents][Index]
Admins should have additional priveleges.
file-type.lisp (file)
user (class)
is-admin (method)
file-type.lisp (file)
user (class)
All users in the system have this class.
Last login slot is updated automatically.
file-type.lisp (file)
standard-object (class)
A full username.
string
:name
name (generic function)
Correct email address.
string
email (generic function)
last-login-at (generic function)
(setf last-login-at) (generic function)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions: | ||
• Internal generic functions: | ||
• Internal classes: |
Next: Internal generic functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
This function is not exported and should not be showed in the API reference.
file-type.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
Correct email address.
file-type.lisp (file)
Returns t if user can modify the system.
file-type.lisp (file)
automatically generated reader method
file-type.lisp (file)
automatically generated writer method
file-type.lisp (file)
A full username.
file-type.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
This class only to demostrate how Declt’s separates exported
symbols from internal.
It will not be shown in the separate section "Internal Definitions".
file-type.lisp (file)
user (class)
Next: Indexes, Previous: Definitions, Up: Top [Contents][Index]
Declt can be used be used when you need to generate API reference for third-party libraries as Quickref does for all Quicklisp libraries.
Ability to generate docs in different formats also might be interesting.
But the lack of markup support for docstrings and cross-reference helpers along with limited ability to create free form documentation chapters makes Declt useless for documenting 40Ants projects.
Previous: Conclusion, Up: Top [Contents][Index]
• Concept index: | ||
• Function index: | ||
• Variable index: | ||
• Data type index: |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | E F L |
---|
Jump to: | E F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
C D E F G I L M N |
---|
Jump to: | (
C D E F G I L M N |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | E L N S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
E | |||
email : | Exported classes | ||
| |||
L | |||
last-login-at : | Exported classes | ||
| |||
N | |||
name : | Exported classes | ||
| |||
S | |||
Slot, email : | Exported classes | ||
Slot, last-login-at : | Exported classes | ||
Slot, name : | Exported classes | ||
|
Jump to: | E L N S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | A C E I N P S U |
---|
Jump to: | A C E I N P S U |
---|