Skip to content

Commit 07daae5

Browse files
authored
Merge pull request #165 from krashish8/ashish-2021
vrp_vroom GSoC-2021 Bonding Period
2 parents 1482e08 + d9a3d80 commit 07daae5

File tree

10 files changed

+549
-4
lines changed

10 files changed

+549
-4
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ indent_size = 4
99
indent_style = space
1010
charset = utf-8
1111
end_of_line = lf
12-
insert_final_newline = false
12+
insert_final_newline = true
1313
trim_trailing_whitespace = true
1414

1515
# C++ files want tab indentation
@@ -52,4 +52,4 @@ indent_style = space
5252
# RST files
5353
[*.html]
5454
indent_size = 2
55-
indent_style = space
55+
indent_style = space

configuration.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ viewRoute | N | Y | N
2727
simulation | N | Y | N
2828
optimizers | Y | N | N
2929
initialsol | Y | N | N
30+
vroom | N | N | Y

doc/conf.py.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ html_last_updated_fmt = '%b %d, %Y'
171171

172172
# Custom sidebar templates, maps document names to template names.
173173
html_sidebars = {
174-
# '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'],
175-
# 'using/windows': ['windowssidebar.html', 'searchbox.html'],
174+
# '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'],
175+
# 'using/windows': ['windowssidebar.html', 'searchbox.html'],
176176
}
177177

178178
# Additional templates that should be rendered to pages, maps page names to
@@ -317,6 +317,8 @@ linkcheck_ignore = [
317317
r"https://gis.stackexchange.com/",
318318
"https://vrp.pgrouting.org/v0/en/pgr-category.html",
319319
"https://vrp.pgrouting.org/latest/en/pgr-category.html",
320+
"https://vrp.pgrouting.org/v0/en/vrp_vroom.html",
321+
"https://vrp.pgrouting.org/latest/en/vrp_vroom.html",
320322

321323
# (see: https://github.com/sphinx-doc/sphinx/issues/7388)
322324
r"https://github.com/pgRouting/vrprouting/", # limit only vrprouting

doc/general/experimental.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ Experimental Functions
5252

5353
pgr-category
5454

55+
:doc:`pgr-category`
56+
57+
.. toctree::
58+
:maxdepth: 1
59+
60+
vrp_vroom
61+
5562
.. rubric:: See Also
5663

5764
* :doc:`proposed`

doc/vroom/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
SET(LOCAL_FILES
3+
vrp_vroom.rst
4+
)
5+
6+
foreach (f ${LOCAL_FILES})
7+
configure_file(${f} "${PGR_DOCUMENTATION_SOURCE_DIR}/${f}")
8+
list(APPEND LOCAL_DOC_FILES ${PGR_DOCUMENTATION_SOURCE_DIR}/${f})
9+
endforeach()
10+
11+
set(PROJECT_DOC_FILES ${PROJECT_DOC_FILES} ${LOCAL_DOC_FILES} PARENT_SCOPE)
12+
set(PROJECT_IMG_FILES ${PROJECT_IMG_FILES} PARENT_SCOPE)

doc/vroom/vrp_vroom.rst

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.

docqueries/vroom/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Do not use extensions
2+
SET(LOCAL_FILES
3+
doc-vrp_vroom
4+
)
5+
6+
foreach (f ${LOCAL_FILES})
7+
configure_file("${f}.result" "${PGR_DOCUMENTATION_SOURCE_DIR}/${f}.queries")
8+
list(APPEND LOCAL_DOC_FILES "${PGR_DOCUMENTATION_SOURCE_DIR}/${f}.queries")
9+
endforeach()
10+
11+
set(PROJECT_DOC_FILES ${PROJECT_DOC_FILES} ${LOCAL_DOC_FILES} PARENT_SCOPE)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
BEGIN;
2+
BEGIN
3+
SET client_min_messages TO NOTICE;
4+
SET
5+
ROLLBACK;
6+
ROLLBACK

docqueries/vroom/doc-vrp_vroom.test.sql

Whitespace-only changes.

docqueries/vroom/test.conf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/perl -w
2+
3+
%main::tests = (
4+
'any' => {
5+
'comment' => 'VRP with VROOM tests.',
6+
'data' => [ ],
7+
'tests' => [qw(
8+
doc-vrp_vroom
9+
)],
10+
'documentation' => [qw(
11+
doc-vrp_vroom
12+
)]
13+
},
14+
15+
);
16+
17+
1;

0 commit comments

Comments
 (0)