A => doc/source/api-json.rst +34 -0
@@ 0,0 1,34 @@
+:mod:`JSON` -- Package
+=======================
+
+.. ada:module:: JSON
+.. moduleauthor:: Tero Koskinen <tero.koskinen@iki.fi>
+
+-----
+Types
+-----
+
+**JSON_Integer**
+
+ subtype JSON_Integer is Multi_precision_integers.Multi_int;
+
+JSON_Integer is the type representing integer numbers in JSON data.
+
+If the number fits into Integer\'Range you can print the value
+with following code:
+
+::
+
+ declare
+ Val : constant JSON.JSON_Integer := ...;
+ begin
+ Put_Line (Integer'Image (Multi_precision_integers.Basic (Val)));
+ end;
+
+**JSON_Float**
+
+ subtype JSON_Float is Float;
+
+JSON_Float is the type representing float numbers in JSON data.
+
+
A => doc/source/api.rst +8 -0
@@ 0,0 1,8 @@
+-------------------------------
+API Documentation for Jdaughter
+-------------------------------
+
+.. toctree::
+ :maxdepth: 2
+
+ api-json.rst
M doc/source/conf.py +1 -1
@@ 25,7 25,7 @@ import sys, os
# 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.adadomain']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
M doc/source/index.rst +1 -0
@@ 9,6 9,7 @@ Contents:
overview.rst
install.rst
+ api.rst
Indices and tables
==================