Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit d2abe78

Browse files
committed
Fix wrapper docs
1 parent 311e47a commit d2abe78

File tree

3 files changed

+104
-17
lines changed

3 files changed

+104
-17
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ node('node') {
1010
sh 'npm install'
1111
sh 'npm run compile-docs-wrapper'
1212
sh 'npm run generate-model-tables'
13-
sh 'sudo bundle install'
13+
sh 'sudo bundle install' // 🤢🤮
1414
sh 'bundle exec middleman build --clean'
1515
}
1616

package-lock.json

Lines changed: 80 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"generate-model-tables": "node scripts/generateTables.js"
77
},
88
"dependencies": {
9-
"@mapcreator/maps4news": "^1.6.12",
9+
"@mapcreator/maps4news": "^1.6.22",
1010
"esdoc": "^1.1.0",
1111
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
1212
"esdoc-importpath-plugin": "^1.0.2",
@@ -41,6 +41,16 @@
4141
"brand": {
4242
"title": "Maps4News Api Wrapper",
4343
"description": "Maps4News Api Javascript Wrapper"
44+
},
45+
"manual": {
46+
"asset": "./node_modules/@mapcreator/maps4news/manual/assets",
47+
"index": "./node_modules/@mapcreator/maps4news/README.md",
48+
"files": [
49+
"./node_modules/@mapcreator/maps4news/manual/examples.md",
50+
"./node_modules/@mapcreator/maps4news/manual/examples.authentication.md",
51+
"./node_modules/@mapcreator/maps4news/manual/building.md",
52+
"./node_modules/@mapcreator/maps4news/manual/installation.md"
53+
]
4454
}
4555
}
4656
},
@@ -61,7 +71,19 @@
6171
}
6272
]
6373
}
74+
},
75+
{
76+
"name": "esdoc-inject-script-plugin",
77+
"option": {
78+
"enable": true,
79+
"scripts": [
80+
"./node_modules/@mapcreator/maps4news/dist/bundle.browser.js",
81+
]
82+
}
6483
}
6584
]
85+
},
86+
"devDependencies": {
87+
"esdoc-inject-script-plugin": "^1.0.0"
6688
}
6789
}

0 commit comments

Comments
 (0)