-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,215 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.Rhistory | ||
.RData | ||
.Rproj.user | ||
public | ||
public2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
layoutDir = 'layouts-pdf' | ||
title = 'PDF' | ||
layoutDir = 'layouts-pdf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
layoutDir = 'layouts' | ||
|
||
# Set source repository location. | ||
# Used for 'Last Modified' and 'Edit this page' links. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2>{{ .Title }}</h2> | ||
{{ .Content | markdownify }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<nav> | ||
{{ partial "docs/brand" . }} | ||
{{ partial "docs/search" . }} | ||
<ul><li> | ||
<a href = "book.pdf">Get PDF</a> | ||
</li> | ||
</ul> | ||
{{ partial "docs/inject/menu-before" . }} | ||
{{ partial "docs/menu-hugo" .Site.Menus.before }} | ||
|
||
{{ if .Site.Params.BookMenuBundle }} | ||
{{ partial "docs/menu-bundle" . }} | ||
{{ else }} | ||
{{ partial "docs/menu-filetree" . }} | ||
{{ end }} | ||
|
||
{{ partial "docs/menu-hugo" .Site.Menus.after }} | ||
{{ partial "docs/inject/menu-after" . }} | ||
</nav> | ||
|
||
<!-- Restore menu position as soon as possible to avoid flickering --> | ||
{{ $script := resources.Get "menu-reset.js" | resources.Minify }} | ||
{{ with $script.Content }} | ||
<script>{{ . | safeJS }}</script> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[build] | ||
publish = "/public" | ||
command = "hugo -d public --environment 'website' && hugo -d public2 --environment 'pdf' && pagedjs-cli public2/all/index.html -o public/book.pdf" | ||
|
||
[context.production.environment] | ||
HUGO_VERSION = "0.70.0" | ||
|
||
[context.deploy-preview.environment] | ||
HUGO_VERSION = "0.70.0" | ||
|
||
[context.deploy-preview] | ||
command = "hugo -b $DEPLOY_PRIME_URL" | ||
|
||
[context.branch-deploy] | ||
command = "hugo -b $DEPLOY_PRIME_URL" |
Oops, something went wrong.