Skip to content

Commit

Permalink
Forgot some JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Feb 25, 2015
1 parent 6ab9282 commit 4052e63
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions themes/create_theme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,26 @@ So once you duplicated and renamed *DefaultTheme* with your own sweet name, do n
methods: [GET]
* Create your own theme ``config.json`` file, this file is needed by Roadiz to parse correctly your theme
when you will add it to the backoffice. If your theme does not show up, you may check this JSON file
* Create your own theme ``config.yml`` file, this file is needed by Roadiz to parse correctly your theme
when you will add it to the backoffice. If your theme does not show up, you may check this YAML file
syntax:

.. code-block:: json
.. code-block:: yaml
name: My awesome theme
author: Ambroise Maupate
copyright: REZO ZERO
themeDir: MyAwesomeTheme
supportedLocale: ["en"]
versionRequire: 1.0.0
importFiles: {
roles: []
groups: []
settings: []
nodetypes: []
tags: []
nodes: []
{
"name": "My awesome theme",
"author": "Ambroise Maupate",
"copyright": "REZO ZERO",
"themeDir": "MyAwesomeTheme",
"supportedLocale": ["en"],
"versionRequire": "1.0.0",
"importFiles": {
"roles": [],
"groups": [],
"settings": [],
"nodetypes": [],
"tags": [],
"nodes": []
}
}
* Edit your main class informations (``MyAwesomeThemeApp.php``)

Expand Down

0 comments on commit 4052e63

Please sign in to comment.