You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/12/28 13:32:00 UTC

[jira] [Created] (SIS-565) Remove @module and @preformat taglets

Martin Desruisseaux created SIS-565:
---------------------------------------

             Summary: Remove @module and @preformat taglets
                 Key: SIS-565
                 URL: https://issues.apache.org/jira/browse/SIS-565
             Project: Spatial Information Systems
          Issue Type: Task
          Components: Build process, Documentation
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.4


SIS uses a custom doclet provided in the {{sis-build-helper}} Maven artifact. This doclet provides 3 tags:

* {{\@module}} for telling which module contains a class.
* {{\@preformat}} for code snippet.
* {{\@include}} for inserting an HTML fragment defined in an external file. Used for MathML.

The {{\@module}} tag can be fully removed because Jigsaw modularisation will provide this information. The {{\@preformat}} tag can be replaced by the new {{\@snippet}} standard Javadoc tag introduced in Java 18. We will lost syntax coloration, but there is more benefits to win, in particular the fact that the standard tag will be (hopefully) be recognized by IDE.

Reference: [Programmer's Guide to Snippets|https://docs.oracle.com/en/java/javase/19/code-snippet/index.html].




--
This message was sent by Atlassian Jira
(v8.20.10#820010)