Skip to content

Commit e6719bb

Browse files
committed
Revert "Simplify antora set-up for better development experience"
This reverts commit ecd051d.
1 parent 6c29e08 commit e6719bb

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

antora-playbook.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1+
# This file is changed during the build process, so if you want to save your changes
2+
# You'd need to commit them before running the `npm run build` script, or
3+
# just comment the `postbuild` script that restores this file
4+
#
15
site:
26
title: Decidim Docs
37
url: https://docs.decidim.org
48
start_page: develop@en:ROOT:index.adoc
59
content:
610
sources:
7-
- url: &documentation .
11+
- url: &documentation https://github.com/decidim/documentation
812
start_path: docs/en
9-
branches: [release/0.30-stable, HEAD]
13+
branches: [release/0.30-stable, develop]
1014
edit_url: "https://github.com/decidim/documentation/edit/{refname}/{path}"
11-
- url: &documentation .
15+
- url: &documentation https://github.com/decidim/documentation
1216
start_path: docs/fr
1317
branches: [develop]
14-
- url: &documentation .
18+
- url: &documentation https://github.com/decidim/documentation
1519
start_path: docs/es
1620
branches: [develop]
17-
- url: &documentation .
21+
- url: &documentation https://github.com/decidim/documentation
1822
start_path: docs/pt
1923
branches: [develop]
20-
- url: &documentation .
24+
- url: &documentation https://github.com/decidim/documentation
2125
start_path: docs/de
2226
branches: [develop]
2327
- url: https://github.com/decidim/decidim
2428
start_path: docs
25-
branches: [release/0.30-stable, HEAD]
29+
branches: [release/0.30-stable, develop]
2630
ui:
2731
bundle:
2832
url: https://github.com/decidim/documentation-antora-ui/releases/download/v0.4/ui-bundle.zip

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "decidim-documentation",
33
"private": true,
44
"scripts": {
5+
"prebuild": "./bin/playbook-changer.js",
56
"build": "antora antora-playbook.yml $@",
7+
"postbuild": "./bin/postbuild.js",
68
"test": "./bin/test"
79
},
810
"devDependencies": {

0 commit comments

Comments
 (0)