docs – Beanbag Blog https://blog.beanbaginc.com Updates from the makers of Review Board Tue, 20 Jun 2023 20:29:23 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.14 beanbag-docutils 2.2: Enhanced JSON Output https://blog.beanbaginc.com/2023/06/20/beanbag-docutils-2-2-enhanced-json-output/ Tue, 20 Jun 2023 20:28:48 +0000 https://blog.beanbaginc.com/?p=1153 beanbag-docutils is our collection of extensions for the Sphinx documentation platform.

This is a major feature release that introduces some new capabilities for JSON output, making it easier to integrate documentation into your own sites:

  • The metadata extension extracts .. meta:: into the JSON output for a page.
  • The json_writer extension replaces the sphinxcontrib-serializinghtml JSON writer and includes both a copy of the docs-wide Table of Contents structure in the globalcontext.fjson file and per-page anchor navigation HTML in the page’s .fjson file.

You can see how we make use of these new capabilities in the brand-new Review Board documentation site.

Installation

$ pip3 install beanbag-docutils==2.2

Learn More

]]>