From 700f31aa6fd98491731950b7855a0336a13bd7c1 Mon Sep 17 00:00:00 2001 From: Gil Forcada Date: Fri, 28 Feb 2014 21:42:30 +0100 Subject: [PATCH] Add robotframework dependencies This is a requirement to be able to build documentation with automatic screenshots. --- develop.cfg | 16 ++++++++++++++++ docs/source/conf.py | 3 ++- sphinx.cfg | 12 +++++++----- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/develop.cfg b/develop.cfg index b13970f1..f06a20f1 100644 --- a/develop.cfg +++ b/develop.cfg @@ -8,8 +8,21 @@ versions = versions parts += instance test + robot + develop = . + +[robot] +recipe = zc.recipe.egg +eggs = + ${test:eggs} + robotframework-debuglibrary + plone.app.robotframework[reload] +scripts = + robot-server + robot + [instance] recipe = plone.recipe.zope2instance blob-storage = ${buildout:directory}/var/blobstorage @@ -27,3 +40,6 @@ eggs = recipe = zc.recipe.testrunner eggs = plone.app.widgets[test,archetypes,dexterity] defaults = ['--auto-color', '--auto-progress'] + +[versions] +plone.app.robotframework = 0.8.2 diff --git a/docs/source/conf.py b/docs/source/conf.py index e286c69f..91b51faf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,7 +25,8 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [] +extensions = ["sphinxcontrib_robotdoc", + "sphinxcontrib_robotframework", ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/sphinx.cfg b/sphinx.cfg index 7715afd7..4ab84ab7 100644 --- a/sphinx.cfg +++ b/sphinx.cfg @@ -14,11 +14,13 @@ scripts = zopepy [sphinxbuilder] recipe = collective.recipe.sphinxbuilder -#eggs = sphinxcontrib-robotdoc -#outputs = -# html -# latex -# pdf +eggs = + Sphinx + plone.app.robotframework + sphinxcontrib-robotdoc + sphinxcontrib-robotframework[docs] + plone.app.widgets[test,dexterity] +scripts = sphinxbuilder [sphinxupload] recipe = collective.recipe.template