Skip to content

Commit 7b35109

Browse files
authored
CHORE: Upgrade Antora to 3.0.0 (#129)
1 parent fc868a5 commit 7b35109

File tree

3 files changed

+860
-759
lines changed

3 files changed

+860
-759
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { series, src, watch } = require('gulp')
88
const yaml = require('js-yaml')
99

1010
const playbookFilename = 'antora-playbook-for-development.yml'
11-
const playbook = yaml.safeLoad(fs.readFileSync(playbookFilename, 'utf8'))
11+
const playbook = yaml.load(fs.readFileSync(playbookFilename, 'utf8'))
1212
const outputDir = (playbook.output || {}).dir || './out/docs'
1313
const serverConfig = { name: 'Preview Site', livereload, host: '0.0.0.0', port: 4000, root: outputDir }
1414
const antoraArgs = ['--playbook', playbookFilename]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3+
"@antora/cli": "^3.0.0",
4+
"@antora/site-generator-default": "^3.0.0",
35
"bootprint": "^4.0.4",
46
"bootprint-json-schema": "^4.0.4",
57
"glob-fs": "^0.1.7",
6-
"@antora/cli": "^2.3.4",
7-
"@antora/site-generator-default": "^2.3.4",
88
"gulp": "^4.0.2",
99
"gulp-cli": "^2.3.0",
1010
"gulp-connect": "^5.7.0",

0 commit comments

Comments
 (0)