-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththemepreview.cfg
69 lines (56 loc) · 1.83 KB
/
themepreview.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
###############################################################################
# Buildout configuration for diazo based Plone themes.
#
# Usage:
# Extend your local buildoput by adding the following line:
#
# [buildout]
# extends = https://raw.githubusercontent.com/it-spirit/buildout.plone/master/themepreview.cfg
#
# Note: parts are automatically extended!
#
###############################################################################
[buildout]
extends =
https://raw.githubusercontent.com/plone/plone.app.robotframework/master/versions.cfg
versions = versions
thempreview-packages = ${buildout:package-name}
themepreview-profile = default
thempreview-profiles = plone.app.theming:default,${buildout:package-name}:${buildout:themepreview-profile}
parts +=
rebuild_themepreview-sh
themepreview_git
themepreview
[rebuild_themepreview-sh]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
export ROBOT_CONFIGURE_PACKAGES=${buildout:thempreview-packages}
export ROBOT_APPLY_PROFILES=${buildout:thempreview-profiles}
export SPHINX_PROJECT=${buildout:package-name}
export SPHINX_COPYRIGHT="it-spirit"
cd docs/themepreview
rm -rf doctrees
rm -rf html
make html
cd ../..
output = ${buildout:directory}/bin/rebuild_themepreview.sh
mode = 755
[themepreview]
recipe = collective.recipe.sphinxbuilder
eggs =
${instance:eggs}
plone.app.robotframework [debug]
Sphinx
sphinx-rtd-theme
sphinxcontrib-robotframework [docs]
${buildout:eggs}
source = ${buildout:directory}/checkouts/plone.themepreview/source
build = ${buildout:directory}/docs/themepreview
[themepreview_git]
recipe = git-recipe
repository = git://github.com/it-spirit/plone.themepreview.git
ref = origin/master
download-directory = ${buildout:directory}/checkouts/
[versions]
collective.recipe.sphinxbuilder = 1.0