Search by

netresearch / deploy-rst

netresearch

This package is abandoned and no longer maintained. No replacement package was suggested.

Deploys a README.rst file into a wiki, e.g. Confluence

Package info

github.com/netresearch/deploy-rst

Homepage

Issues

pkg:composer/netresearch/deploy-rst

Statistics

Installs: 29

Dependents: 0

Suggesters: 0

Stars: 10

v1.0.0 2016-12-28 13:16 UTC

README

Deploys a README.rst file into a wiki, e.g. Confluence

This project is no longer maintained, and the repository is archived. It calls the SOAP-based Confluence Command Line Interface, which does not work with Confluence Cloud. The Composer package is marked as abandoned.

Installation

$ pear channel-discover pear.nrdev.de
$ pear install nr/deployrst-alpha

Setup

$ cp `pear config-get cfg_dir`/DeployRst/config.php.dist ~/.config/deploy-rst
$ emacs ~/.config/deploy-rst
.. change user and password

Meta data in rST files

It is possible to embed wiki target meta data in the .rst files directly, so that you don't have to pass all parameters via command line.

Example:

.. meta::
   :deploy-target: confluence
   :confluence-host: http://confluence.example.org
   :confluence-space: IT
   :confluence-page: rstpagetest

Usage

Deployment with meta data in the .rst file:

$ ./deploy-rst.php README.rst

Without embedded meta data:

$ deploy-rst --driver=confluence --confluence-host=http://confluence.example.org\
  --confluence-space=IT --confluence-page=rstpagetest README.rst

Help:

$ ./deploy-rst.php --help

Dependencies