Git Product home page Git Product logo

flow-and-components-documentation's Introduction

Vaadin Flow and Component Java APIs Documentation

This is the documentation for Vaadin Flow, the new Java web framework available in Vaadin platform. It also contains documentation on the Java APIs for Vaadin's web components.

This documentation is available in vaadin.com/docs. Any issues and contributions can be added here, or in vaadin.com/docs via the report issues or edit page actions.

Branching scheme for different platform and Flow versions:

  • master branch is for the latest Flow version in the platform snapshot
  • V13 branch is for Flow version 1.4 (Vaadin 13)
  • V12 branch is for Flow version 1.2 (Vaadin 12, deprecated)
  • V10 branch is for Flow version 1.0 (Vaadin 10 LTS & 11(deprecated))

Structure

The documentation is split into the following modules:

  • docs-helpers - sources for validating the code snippets to match the documentation
  • tutorial-* - standalone tutorial projects that can be run individually
  • documentation - the documentation files written in .asciidoc and tests

For verifying the changes made to the documentation, run mvn verify on the root level project.

Adding new tutorials

When a new tutorial is added, the end result should be included as a new module that needs to be built before the documentation module. The tutorial should use the @CodeFor("path/file.asciidoc") annotation available from the docs-helpers dependency to map the source files to the tutorial code snippets in the documentation module. If a tutorial needs extra helper classes to create, those should be added into TestTutorialCodeCoverage#HELPER_CLASSES field as exclusions so that the checks won't fail on unused class.

Any added tutorial module can be included as a dependency to the documentation module, so that the code snippets from the documentation can be verified. This requires couple steps:

  • For web app projects with war packaging:
    • the <appendClasses> configuration must be enabled for the maven-war-plugin
    • The dependency should be to documentation added with <classifier>classes</classifier>
  • The TestTutorialCodeCoverage class needs to know the source folder location (see static variables)

flow-and-components-documentation's People

Contributors

ruthstocks avatar caalador avatar pleku avatar someonetoignore avatar zhesun88 avatar gilberto-torrezan avatar legioth avatar mehdi-vaadin avatar ujoni avatar diegosanzvi avatar pekam avatar shadikhani avatar haiwan avatar bogdanudrescu avatar mstahv avatar ahie avatar mvysny avatar ollitietavainenvaadin avatar manolo avatar ansku avatar alvarezguille avatar asashour avatar jouni avatar wnt avatar gatanaso avatar binbalenci avatar alejandro-du avatar artur- avatar torok-peter avatar samie avatar

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.