Skip to content

Commit

Permalink
[doc] adjusting some documentation files
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Apr 5, 2023
1 parent bee7515 commit f597163
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
14 changes: 11 additions & 3 deletions doc/tsp/pgr_TSP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,17 @@ Inner Queries
Matrix SQL
...............................................................................

.. include:: ../../src/common/matrixRows_input.c
:start-after: Matrix SQL definition start
:end-before: Matrix SQL definition end
.. Matrix SQL definition start
============= ================= =================================================
Column Type Description
============= ================= =================================================
``start_vid`` ``ANY-INTEGER`` Identifier of the starting vertex.
``end_vid`` ``ANY-INTEGER`` Identifier of the ending vertex.
``agg_cost`` ``ANY-NUMERICAL`` Cost for going from start_vid to end_vid
============= ================= =================================================

.. Matrix SQL definition end
Result Columns
-------------------------------------------------------------------------------
Expand Down
15 changes: 12 additions & 3 deletions doc/tsp/pgr_TSPeuclidean.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,18 @@ Inner Queries
Coordinates SQL
...............................................................................

.. include:: ../../src/common/coordinates_input.c
:start-after: Coordinates SQL definition start
:end-before: Coordinates SQL definition end
.. Coordinates SQL definition start
========= ================= =================================================
Column Type Description
========= ================= =================================================
``id`` ``ANY-INTEGER`` Identifier of the starting vertex.
``x`` ``ANY-NUMERICAL`` X value of the coordinate.
``y`` ``ANY-NUMERICAL`` Y value of the coordinate.
========= ================= =================================================

.. Coordinates SQL definition end
Result Columns
-------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docqueries/version/doc-full_version.result
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ SET client_min_messages TO NOTICE;
SET
/* -- q1 */
SELECT version, library FROM pgr_full_version();
version | library
version | library
-----------+-----------------
3.6.0-dev | pgrouting-3.6.0
3.6.0-dev | pgrouting-3.6.0
(1 row)

/* -- q2 */
Expand Down

0 comments on commit f597163

Please sign in to comment.