Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
cmake/modules/ | H | 18-Dec-2019 | - | 389 | 360 | |
dox/ | H | 03-May-2022 | - | 2,819 | 2,032 | |
examples/ | H | 03-May-2022 | - | 7,389 | 5,152 | |
scripts/ | H | 18-Dec-2019 | - | 1,159 | 758 | |
templates/ | H | 03-May-2022 | - | 28,711 | 18,548 | |
textdocument/ | H | 03-May-2022 | - | 4,827 | 3,072 | |
.clang-format | H A D | 18-Dec-2019 | 177 | 9 | 8 | |
.travis.yml | H A D | 18-Dec-2019 | 5.2 KiB | 155 | 145 | |
AUTHORS | H A D | 18-Dec-2019 | 65 | 6 | 2 | |
CHANGELOG | H A D | 18-Dec-2019 | 6.4 KiB | 176 | 152 | |
Mainpage.dox | H A D | 18-Dec-2019 | 2.5 KiB | 97 | 80 | |
README.md | H A D | 18-Dec-2019 | 2.1 KiB | 63 | 44 | |
appveyor.yml | H A D | 18-Dec-2019 | 3.8 KiB | 106 | 96 |
README.md
1 2The Grantlee Libraries 3====================== 4 5[![OSX/Linux Build Status](https://travis-ci.org/steveire/grantlee.svg?branch=master)](https://travis-ci.org/steveire/grantlee) 6[![Windows Build status](https://ci.appveyor.com/api/projects/status/github/steveire/grantlee?branch=master&svg=true)](https://ci.appveyor.com/project/steveire/grantlee/branch/master) 7 8* About Grantlee 9* Installation 10* Licensing 11* Contributing 12 13About Grantlee 14-------------- 15 16Grantlee is a set of Free Software libraries written using the [Qt framework](http://code.qt.io). 17Currently two libraries are shipped with Grantlee: Grantlee Templates and Grantlee 18TextDocument. 19 20The goal of Grantlee Templates is to make it easier for application developers to 21separate the structure of documents from the data they contain, opening the door 22for theming and advanced generation of other text such as code. 23 24The syntax uses the syntax of the [Django template system](https://docs.djangoproject.com/en/1.9/ref/templates/language/), and 25the core design of Django is reused in Grantlee. 26 27 <ul> 28 {% for athlete in athlete_list %} 29 <li>{{ athlete.name }}{% if athlete.isCaptain %} (C){% endif %}</li> 30 {% endfor %} 31 </ul> 32 33Part of the design of both template systems is that application developers can 34extend the syntax by implementing their own tags and filters. For details of how 35to do that, see the [API documentation](http://www.grantlee.org/apidox/extension.html). 36 37Installation 38------------ 39 40To build Grantlee, you need at least Qt5.3 (with development packages) and CMake 3.1. 41Out-of-source builds are recommended: 42 43 mkdir build 44 cd build 45 cmake -DCMAKE_INSTALL_PREFIX=$prefix .. 46 cmake --build . 47 cmake --build . --target install 48 49Licensing 50--------- 51 52Grantlee is covered by the GNU Lesser General Public License Version 2.1, or 53at your option, any later version. All contributions to Grantlee must be 54covered by the same license. 55 56The details of the license are in the COPYING file in the source distribution. 57 58Contributing 59------------ 60 61Grantlee is hosted on github, and welcomes pull requests and issues. 62 63