-
Notifications
You must be signed in to change notification settings - Fork 0
/
themepreview.cfg
51 lines (41 loc) · 1.25 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
[buildout]
versions = versions
thempreview-packages = ${buildout:package-name}
thempreview-profiles = plone.app.theming:default,${buildout:package-name}:default
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="Propertyshelf, Inc."
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/plone/plone.themepreview.git
ref = origin/master
download-directory = ${buildout:directory}/checkouts/
[versions]
collective.recipe.sphinxbuilder = 1.0