~jan0sch/darcs-book

Showing details for patch 5d26e8e8a959baed220d3d9226a0011e684113a1.
2018-12-10 (Mon), 5:35 PM - - 5d26e8e8a959baed220d3d9226a0011e684113a1

move next and prev into pandoc 'infile' metadata

Summary of changes
10 files modified with 25 lines added and 9 lines removed
  • Makefile with 9 added and 9 removed lines
  • en/01-introduction.md with 1 added and 0 removed lines
  • en/02-getting-started.md with 2 added and 0 removed lines
  • en/03-working-locally.md with 2 added and 0 removed lines
  • en/04-happy-little-accidents.md with 2 added and 0 removed lines
  • en/05-a-little-help-from-my-friends.md with 2 added and 0 removed lines
  • en/06-conflict-management.md with 2 added and 0 removed lines
  • en/07-dependencies-and-good-patches.md with 2 added and 0 removed lines
  • en/08-rewriting-history.md with 2 added and 0 removed lines
  • en/09-tag-youre-it.md with 1 added and 0 removed lines
diff -rN -u old-darcs-book/en/01-introduction.md new-darcs-book/en/01-introduction.md
--- old-darcs-book/en/01-introduction.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/01-introduction.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,6 @@
 ---
 title: Introduction
+next: chapter02
 ---
 
 Introduction
diff -rN -u old-darcs-book/en/02-getting-started.md new-darcs-book/en/02-getting-started.md
--- old-darcs-book/en/02-getting-started.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/02-getting-started.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Getting started
+prev: chapter01
+next: chapter03
 ---
 
 Getting started
diff -rN -u old-darcs-book/en/03-working-locally.md new-darcs-book/en/03-working-locally.md
--- old-darcs-book/en/03-working-locally.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/03-working-locally.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Working locally
+prev: chapter02
+next: chapter04
 ---
 
 Working locally
diff -rN -u old-darcs-book/en/04-happy-little-accidents.md new-darcs-book/en/04-happy-little-accidents.md
--- old-darcs-book/en/04-happy-little-accidents.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/04-happy-little-accidents.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Happy little accidents
+prev: chapter03
+next: chapter05
 ---
 
 Happy little accidents
diff -rN -u old-darcs-book/en/05-a-little-help-from-my-friends.md new-darcs-book/en/05-a-little-help-from-my-friends.md
--- old-darcs-book/en/05-a-little-help-from-my-friends.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/05-a-little-help-from-my-friends.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: A little help from my friends
+next: chapter06
+prev: chapter04
 ---
 
 A little help from my friends
diff -rN -u old-darcs-book/en/06-conflict-management.md new-darcs-book/en/06-conflict-management.md
--- old-darcs-book/en/06-conflict-management.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/06-conflict-management.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Conflict Management
+next: chapter07
+prev: chapter05
 ---
 
 Conflict Management
diff -rN -u old-darcs-book/en/07-dependencies-and-good-patches.md new-darcs-book/en/07-dependencies-and-good-patches.md
--- old-darcs-book/en/07-dependencies-and-good-patches.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/07-dependencies-and-good-patches.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Dependencies and good patches
+next: chapter08
+prev: chapter06
 ---
 
 Dependencies and good patches
diff -rN -u old-darcs-book/en/08-rewriting-history.md new-darcs-book/en/08-rewriting-history.md
--- old-darcs-book/en/08-rewriting-history.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/08-rewriting-history.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,7 @@
 ---
 title: Rewriting History
+next: chapter09
+prev: chapter07
 ---
 
 Rewriting History
diff -rN -u old-darcs-book/en/09-tag-youre-it.md new-darcs-book/en/09-tag-youre-it.md
--- old-darcs-book/en/09-tag-youre-it.md	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/en/09-tag-youre-it.md	2024-11-23 14:59:55.814047553 +0000
@@ -1,5 +1,6 @@
 ---
 title: tag! You're it!
+prev: chapter08
 ---
 
 `tag`! You're it!
diff -rN -u old-darcs-book/Makefile new-darcs-book/Makefile
--- old-darcs-book/Makefile	2024-11-23 14:59:55.810047546 +0000
+++ new-darcs-book/Makefile	2024-11-23 14:59:55.814047553 +0000
@@ -4,31 +4,31 @@
 	mkdir dist
 
 dist/chapter01.html: dist
-	${PANDOC} -V next:chapter02 en/01-introduction.md -o dist/chapter01.html
+	${PANDOC} en/01-introduction.md -o dist/chapter01.html
 
 dist/chapter02.html: dist
-	${PANDOC} -V prev:chapter01 -V next:chapter03 en/02-getting-started.md -o dist/chapter02.html
+	${PANDOC} en/02-getting-started.md -o dist/chapter02.html
 
 dist/chapter03.html: dist
-	${PANDOC} -V prev:chapter02 -V next:chapter04 en/03-working-locally.md -o dist/chapter03.html
+	${PANDOC} en/03-working-locally.md -o dist/chapter03.html
 
 dist/chapter04.html: dist
-	${PANDOC} -V prev:chapter03 -V next:chapter05 en/04-happy-little-accidents.md -o dist/chapter04.html
+	${PANDOC} en/04-happy-little-accidents.md -o dist/chapter04.html
 
 dist/chapter05.html: dist
-	${PANDOC} -V prev:chapter04 -V next:chapter06 en/05-a-little-help-from-my-friends.md -o dist/chapter05.html
+	${PANDOC} en/05-a-little-help-from-my-friends.md -o dist/chapter05.html
 
 dist/chapter06.html: dist
-	${PANDOC} -V prev:chapter05 -V next:chapter07 en/06-conflict-management.md -o dist/chapter06.html
+	${PANDOC} en/06-conflict-management.md -o dist/chapter06.html
 
 dist/chapter07.html: dist
-	${PANDOC} -V prev:chapter06 -V next:chapter08 en/07-dependencies-and-good-patches.md -o dist/chapter07.html
+	${PANDOC} en/07-dependencies-and-good-patches.md -o dist/chapter07.html
 
 dist/chapter08.html: dist
-	${PANDOC} -V prev:chapter07 -V next:chapter09 en/08-rewriting-history.md -o dist/chapter08.html
+	${PANDOC} en/08-rewriting-history.md -o dist/chapter08.html
 
 dist/chapter09.html: dist
-	${PANDOC} -V prev:chapter08 en/09-tag-youre-it.md -o dist/chapter09.html
+	${PANDOC} en/09-tag-youre-it.md -o dist/chapter09.html
 
 all: dist/chapter01.html dist/chapter02.html dist/chapter03.html dist/chapter04.html dist/chapter05.html dist/chapter06.html dist/chapter07.html dist/chapter08.html dist/chapter09.html
 clean: