Skip to main content

rst2wiki is command line utility for pushing your documentation in reStructuredText format to Confluence wiki. Under the covers it uses rst2confluence library for transforming ReST files and pushes result using Confluence REST API.

Installation

It is available through PyPI:

pip install rst2wiki

or getting more popular recently:

python -m pip install rst2wiki

Personally, I recommend to use pipsi:

pipsi install rst2wiki

Usage

Due to limitations of current Confluence REST API, you need to make a placeholder page beforehand and get its page id. For better user experience you need also to get ancestor page id (or result page will move to space’s root after update). Then, you can use it as follows:

rst2wiki --page 10814244 --ancestor 1147842 README.rst

First time it will ask you for some configuration values: Confluence url (don’t forget https:// part), your login and password and store it for further usage.

There are some more options: --warning (adds warning to top of your page that this page is autogenerated and manual revisions will be overwritten), --title to specify page title in confluence (use exiting, if not specified) and --config for configuration file location.

More interesting, it is possible to embed all arguments (except config) to ReST document by adding comment like this:

.. rst2wiki

  :page: 10814244
  :ancestor: 1147842
  :title: README
  :warning: en

After that you can use tool as follows:

rst2wiki README.rst

Of course, you still can override metadata in document in command line:

rst2wiki --warning off README.rst

Release files for rst2wiki 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rst2wiki 0.2.0
File Size Uploaded
rst2wiki-0.2.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rst2wiki 0.2.0
File Interpreter ABI Platform
rst2wiki-0.2.0-py2-none-any.whl Python 2 none any Details

Total release size: 9.9 kB

Release files / rst2wiki-0.2.0.tar.gz

Download URL rst2wiki-0.2.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ef1fca7fe3b72e1ad79f5cd069247a3c382711e55d0f56335a73a0664e1d1e57
BLAKE2b-256 checksum
How to use checksums
7ddeb9eecad8dd37aab745a0443cc96b13184f09aa58deeb7bb791fd6b08750c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rst2wiki-0.2.0-py2-none-any.whl

Download URL rst2wiki-0.2.0-py2-none-any.whl
Size 5.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d1eb7ef46d7020da6c9f7e59b399c6fbb5436d559463904ab1af2d67d0b95076
BLAKE2b-256 checksum
How to use checksums
403a8552b887813b2897cfb1ea77cf9eb7b6b87dd1f9b60fcece6b4672c4ce18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3.1

1 release file

0.3.0

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page