Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
198 lines (175 sloc) 4.91 KB
- stage: copy-assets-html
action: migrate
message: Copying global assets for HTML.
source: assets
target: _build
# tag::parse-resume-example-snippet[]
- stage: parse-resume
action: parse
message: Building BD resumé.
data: data/dominick.yml
builds:
- template: _templates/liquid/resume.asciidoc
output: _build/pages/resume.adoc
# end::parse-resume-example-snippet[]
# tag::render-resume-example-snippet[]
- stage: render-resume
action: render
message: Rendering resumé files.
source: _build/pages/resume.adoc
data: _configs/asciidoctor.yml
builds:
- output: _build/assets/files/brian-dominick-resume.pdf
style: theme/pdf/resume-theme.yml
doctype: article
attributes:
edition: pdf
icons: font
pdf-fontsdir: theme/fonts
imagesdir: assets/images
safe: unsafe
# end::render-resume-example-snippet[]
- stage: build-lists
action: parse
message: Building content item lists.
data: data/item-lists.yml
builds:
- template: _templates/liquid/item-lists.asciidoc
output: _build/assets/includes/item-lists.adoc
- template: _templates/liquid/item-lists.asciidoc
output: _build/publish/assets/includes/item-lists.adoc
- stage: build-biblio
action: parse
message: Building _Codewriting_ bibliography.
data: book-cw/_data/bibliography.yml
builds:
- template: _templates/liquid/bibliography.asciidoc
output: _build/book-cw/backmatter/bibliography.adoc
- stage: build-glossaries
action: parse
message: Building glossaries.
data: data/glossary.yml
builds:
- template: _templates/liquid/glossary.asciidoc
output: _build/book-cw/backmatter/glossary.adoc
- template: _templates/liquid/glossary.asciidoc
output: _build/pages/docops-glossary.adoc
- stage: build-portfolio
action: parse
message: Building Codewriting, LLC portfolio.
data: data/projects.yml
builds:
- template: _templates/liquid/portfolio-list.asciidoc
output: _build/assets/includes/portfolio-list.adoc
- stage: copy-readme
action: migrate
message: Copying README.
source: README.adoc
target: _build
- stage: copy-license
action: migrate
message: Copying LICENSE.md.
source: LICENSE.md
target: _build
- stage: copy-book-files
action: migrate
message: Copying book files.
source: book-cw
target: _build
- stage: copy-book-index
action: migrate
message: Copying book index.
source: book-cw/index-book-cw.adoc
target: _build
- stage: copy-glossary-data
action: migrate
message: Copying data file for special inclusion in book content
source: data/glossary.yml
target: _build/book-cw/_data
- stage: migrate-data
action: migrate
source: data
target: _build
- stage: copy-resume-template
action: migrate
source: _templates/liquid/resume.asciidoc
target: _build/assets/includes
reason: so we can access snippets for embedding in a blog entry explaining resumé parsing
- stage: migrate-global-config
action: migrate
source: _configs/build-global.yml
target: _build/assets/includes
reason: so we can access snippes for embedding in docs explaining this build
- stage: copy-assets-pdf
action: migrate
message: Copying global assets for PDF build.
source: assets
target: _build/publish
- stage: copy-pages
action: migrate
message: Copying pages directory.
source: pages
target: _build
- stage: copy-posts
action: migrate
message: Copying blog directory.
source: _posts
target: _build
- stage: copy-topics
action: migrate
message: Copying topics directory.
source: topics
target: _build
- stage: copy-themes
action: migrate
message: Copying theme files.
source: theme
target: _build
- stage: build-notice
action: parse
message: Building notice files.
data: data/dependencies.yml
builds:
- template: _templates/liquid/notice.asciidoc
output: _build/pages/notice.adoc
- template: _templates/liquid/notice.asciidoc
output: _build/book-cw/backmatter/notice.adoc
- template: _templates/liquid/notice.plaintext
output: _build/NOTICE
# tag::build-jekyll-example-snippet[]
- stage: build-site
action: render
builds:
- backend: jekyll
properties:
files:
- _configs/jekyll.yml
- _configs/asciidoctor.yml
attributes:
stylesdir: theme/hyde/css
source-highlighter: highlightjs
# end::build-jekyll-example-snippet[]
- stage: migrate-redirects
action: migrate
source: _configs/deploy/_redirects
target: _build/publish/site
- stage: build-codewriting
action: render
message: Publishing _Codewriting_.
source: _build/index-book-cw.adoc
data:
- book-cw/_data/attributes.yml
- book-cw/_data/version.yml
builds:
- output: _build/publish/site/codewriting-book-draft.html
doctype: book
attributes:
toc: left
env: site-html
{% unless vars.nopdf %}
- output: _build/publish/codewriting-book-draft.pdf
style: theme/pdf/default.yml
doctype: book
attributes:
pdf-fontsdir: theme/fonts
{% endunless %}
You can’t perform that action at this time.