Coder Social home page Coder Social logo

zardoz89 / ftldoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from funnelbackptyltd/ftldoc

1.0 1.0 0.0 959 KB

FreeMarker template language (FTL) HTML documentation generator

Home Page: https://zardoz89.github.io/ftldoc/

License: MIT License

Java 33.43% FreeMarker 14.30% CSS 5.65% Groovy 6.99% HTML 39.64%
documentation-generator freemarker maven-plugin

ftldoc's Introduction

Hey! ๐Ÿ‘‹


โœจ I'm a Full-Stack Developer working in Madrid, Spain. I mainly work with Java for backend, and JavaScript (and HTML&CSS/SCSS) for frontend. Sometimes I do other stuff for fun in C, Dlang and other languages.

  • ๐Ÿณ๏ธโ€๐ŸŒˆโ™  My Pronouns: Any
  • ๐Ÿ“ซ How to reach me: https://linktr.ee/fantasmitaasex
  • ๐Ÿ‘ Hobbies : ๐Ÿ”ญ Astronomy, ๐Ÿค– sci-fi, ๐Ÿš‚ trains, ๐Ÿ’พ retrocomputing, playing ๐Ÿ‘พ videogames & ๐ŸŽฒ boardgames, ๐Ÿช„ RPG (D&D mainly)
My GitHub Stats

Top Langs

ftldoc's People

Contributors

chaquotay avatar mattsheppard avatar nguillaumin avatar smu01 avatar zardoz89 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ftldoc's Issues

Switch to semantic versioning

https://semver.org/

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards compatible manner, and
PATCH version when you make backwards compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Study supporting markdown inside comments

Study supporting markdown inside comments

Other languages (DLang for example), has begun to support Markdown inside his document processor, and allows to make links, listsn, including images, etc... less verbose.

Support repeated annotations

Actually, having the same annotation repeated (ie two @author for example) override the previous. It should list the repeated values.

For example :

<#--
    @author Foo
    @author Baz
-->

Only shows Author Baz.

This happens, because when finds a @ annotation, stored it directly on the output map. Instead, should store it on a list (and the formatting templates should expect to be a sequence of values), so could list repeated annotations.

List and support global defined variables

Actually, any global variable defined on a FTL file, its'n listed. Global vars on the root of a FTL file, should be listed, and if have a FTLDoc comment, show the information of that FTLDoc.

Support on default templates of IntelliJ annotations

https://www.jetbrains.com/help/idea/template-data-languages.html#special-comments

Comment Description
@Implicitly included Any FreeMarker file that starts with this comment is included into all files that are in the same module or its dependencies. Use such a dedicated comments file to define IDE-specific comments, so that they do not pollute your template files.
@ftlvariable Defines a variable. For example, the following comment declares a variable named foo of type String, visible only in the specified file: <#-- @ftlvariable name="foo" type="java.lang.String" file="path/to/file" -->
@ftlroot Defines the path relative to which import and include directives are resolved. The path is specified relative to any of the directories in the current FTL file's package. Paths inside JARs are also supported, for example: <#-- @ftlroot "path/to.jar!/path/inside/jar" -->

Categorize file list

If a project have many FTL files, a plane list of files could be hard to follow. Categorizing the files by path should help.

For example :

  • \foo\bar\lib\globals.ftl
  • \foo\bar\lib\lib.ftl
  • \foo\bar\components\grid.ftl
  • \foo\bar\components\input.ftl

Should generate a file list like this :

lib\
globals.ftl
lib.ftl

components\
grid.ftl
input.ftl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.