-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path_config.yml
84 lines (77 loc) · 2.57 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
# Site settings
title: Title of Book
brand: Title of Book
subtitle: Book has a subtitle
author: Mary Author
date: 1918
description: > # this means to ignore newlines until "baseurl:"
Author, Title (Place: Publisher, Year)
description_latex: > # this means to ignore newlines until "baseurl:"
Author, \textit{Title} (Place: Publisher, Year)
baseurl: "/path/to/work" # the subpath of your site, e.g. /blog/
url: "https://www.domain.com"
editor: Jim Editor
twitter: "@mytwitterhandle"
license_icon: publicdomain
license_text: "To the extent possible under law, Jim Editor has waived all copyright and related or neighboring rights to \"Title of Book\". This work is published from: Canada."
jb_credit_latex: "Generated with jekyll-book ¶ \\href{https://github.com/pbinkley/jekyll-book}{https://github.com/pbinkley/jekyll-book}"
# Info for CC license vcard in _includes/license.html
publisher_url: "http://www.wallandbinkley.com/rcb/"
country_name: Canada
country_code : CA
dirdownloads: downloads
dircontent: _sections
previousrun: _data/previousrun.yml
keeph2: true
# content
collections:
sections:
output: true
defaults:
-
scope:
path: ""
type: sections
values:
layout: section
# Build settings
markdown: Pandoc
pandoc:
extensions:
- normalize
- smart
# downloads files are generated during the rendering, so we need to
# ignore them or it will cause an infinite loop of re-rendering
exclude: ['_data/previousrun.yml','downloads','Gemfile*','README.md']
# The navigation.
navigation:
left:
links:
- title: Home
href: /path/to/work/
- title: Chapters
dropdown: _sections
- title: Downloads
dropdown: downloads
right:
content: searchbox.html
gems:
- jekyll-sitemap
- octopress-debugger
- jekyll-lunr-js-search
- jekyll-pandoc
downloads:
pdf:
deps: ["_config.yml","_latex/jekyll-book.latex","_scripts/preprocess.rb"]
command: "cat _config.yml _sections/*.md | _scripts/preprocess.rb | pandoc --latex-engine=xelatex --template=_latex/jekyll-book.latex -f markdown+pipe_tables+footnotes -o %{dirDownloads}/%{slug}.pdf"
epub:
deps: ["_config.yml","_epub-metadata.yml","assets/cover.jpg"]
command: "pandoc -S --epub-cover-image=assets/cover.jpg --epub-metadata=_epub-metadata.yml -f markdown+pipe_tables+footnotes _sections/*.md -o %{dirDownloads}/%{slug}.epub"
md:
deps: ["_config.yml"]
command: "pandoc _sections/*.md -t plain -o %{dirDownloads}/%{slug}.txt"
txt:
deps: ["_config.yml"]
command: "pandoc _sections/*.md -o %{dirDownloads}/%{slug}.md"
---