-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from pedrorobsonleao/master
create a epub standalone
- Loading branch information
Showing
14 changed files
with
97 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Makefile CI | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install pandoc | ||
run: sudo apt install -y pandoc | ||
|
||
- name: Install dependencies | ||
run: make |
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,31 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.19.0 | ||
ignore: {} | ||
# patches apply the minimum changes required to fix a vulnerability | ||
patch: | ||
SNYK-JS-HTTPSPROXYAGENT-469131: | ||
- snyk > proxy-agent > https-proxy-agent: | ||
patched: '2019-10-17T18:24:09.536Z' | ||
- snyk > proxy-agent > pac-proxy-agent > https-proxy-agent: | ||
patched: '2019-10-17T18:24:09.536Z' | ||
'npm:hoek:20180212': | ||
- gitbook-plugin-codesnippet > request > hawk > hoek: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
- gitbook-plugin-codesnippet > request > hawk > boom > hoek: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
- gitbook-plugin-codesnippet > request > hawk > sntp > hoek: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
- gitbook-plugin-codesnippet > request > hawk > cryptiles > boom > hoek: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
'npm:lodash:20180130': | ||
- gitbook-plugin-codepen > cheerio > lodash: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
'npm:request:20160119': | ||
- gitbook-plugin-codesnippet > request: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
'npm:tough-cookie:20170905': | ||
- gitbook-plugin-codesnippet > request > tough-cookie: | ||
patched: '2021-02-03T20:18:35.735Z' | ||
'npm:tunnel-agent:20170305': | ||
- gitbook-plugin-codesnippet > request > tunnel-agent: | ||
patched: '2021-02-03T20:18:35.735Z' |
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,28 @@ | ||
CHAPTERS = $(wildcard chapters/*.md) | ||
CHAPTERS = $(shell cat README.md | egrep ^1 | cut -d '(' -f 2 | tr -d ')' | cut -d / -f 2 ) | ||
|
||
EPUB_FILE = ../book/docker-para-desenvolvedores-by-rafael-gomes.epub | ||
|
||
.PHONY: all | ||
all: $(EPUB_FILE) | ||
|
||
.PHONY: clean | ||
clean: | ||
$(RM) -r ./book | ||
|
||
.PHONY: epub | ||
epub: $(EPUB_FILE) | ||
|
||
|
||
$(EPUB_FILE): clean #$(CHAPTERS) | ||
cd manuscript && \ | ||
mkdir -p ../book && \ | ||
pandoc \ | ||
-o $(EPUB_FILE) \ | ||
meta/title.txt \ | ||
$(CHAPTERS) \ | ||
--epub-cover-image=meta/docker-para-desenvolvedores-1a-edicao-rafael-gomes.png \ | ||
--css=meta/stylesheet.css \ | ||
--epub-metadata=meta/metadata.xml \ | ||
--table-of-contents \ | ||
--write=epub3 |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+127 KB
manuscript/meta/docker-para-desenvolvedores-1a-edicao-rafael-gomes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 @@ | ||
<dc:title>Docker para Desenvolvedores</dc:title> | ||
<dc:language>pt-BR</dc:language> | ||
<dc:creator opf:file-as="Gomes, Rafael" opf:role="aut">Rafael Gomes</dc:creator> | ||
<dc:publisher>leanpub.com/dockerparadesenvolvedores</dc:publisher> | ||
<dc:date opf:event="publication">2017-04-29</dc:date> | ||
<dc:rights>Copyright © 2017 Rafael Gomes</dc:rights> |
Empty file.
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 @@ | ||
% Docker para Desenvolvedores | ||
% Rafael Gomes |
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