10000 fixed paths · lethalbrains/arangodb@8162cf8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8162cf8

Browse files
committed
fixed paths
1 parent f6a833a commit 8162cf8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

utils/generateSwagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def example_arangosh_run(cargo, r=Regexen()):
10101010
exampleHeader = brTrim(operation['x-examples'][currentExample]).strip()
10111011

10121012
# new examples code TODO should include for each example own object in json file
1013-
examplefile = open(os.path.join(os.path.dirname(__file__), '../Examples/' + parameters(last) + '.generated'))
1013+
examplefile = open(os.path.join(os.path.dirname(__file__), '../Documentation/Examples/' + parameters(last) + '.generated'))
10141014
operation['x-examples'][currentExample]= '<details><summary>Example: ' + exampleHeader.strip('\n ') + '</summary><br><br><pre><code class="json">'
10151015

10161016
for line in examplefile.readlines():

utils/generateSwagger.sh

100644100755
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

33
python \
4-
utils/generateExamples \
5-
. \
6-
js/apps/system/_admin/aardvark/APP/api-docs \
4+
`pwd`/utils/generateSwagger.py \
5+
`pwd` \
6+
`pwd`/js/apps/system/_admin/aardvark/APP/api-docs \
77
api-docs \
8-
Documentation/DocuBlocks/Rest \
9-
> js/apps/system/_admin/aardvark/APP/api-docs.json
8+
`pwd`/Documentation/DocuBlocks/Rest \
9+
> `pwd`/js/apps/system/_admin/aardvark/APP/api-docs.json

0 commit comments

Comments
 (0)
0