Adding PDF generation
This commit is contained in:
parent
9b2716ea78
commit
57a85750ba
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,8 @@
|
||||
*.DS_Store
|
||||
/_book/
|
||||
/node_modules/
|
||||
/public/
|
||||
/book.pdf
|
||||
/modern-cmake.pdf
|
||||
/book.mobi
|
||||
/book.epub
|
||||
|
@ -23,11 +23,14 @@ pages:
|
||||
paths:
|
||||
- node_modules/
|
||||
before_script:
|
||||
- apt update && apt install -y calibre calibre-bin
|
||||
- npm install gitbook-cli -g #
|
||||
- gitbook fetch 3.2.3
|
||||
- gitbook install
|
||||
script:
|
||||
- gitbook build . public
|
||||
- gitbook pdf . modern-cmake.pdf
|
||||
- cp modern-cmake.pdf public/modern-cmake.pdf
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
@ -14,6 +14,7 @@ And CMake 3.11+ is supposed to be significantly faster, as well!
|
||||
|
||||
{% hint style='working' %}
|
||||
This book is meant to be a living document. You can raise an issue or put in a merge request on [GitLab](https://gitlab.com/CLIUtils/modern-cmake).
|
||||
You can also [download a copy as a PDF](https://CLIUtils.gitlab.io/modern-cmake/modern-cmake.pdf).
|
||||
{% endhint %}
|
||||
|
||||
In short, here are the most likely questions in your mind if you are considering Modern CMake:
|
||||
|
@ -41,3 +41,7 @@
|
||||
* [Dictionary Example](examples/root-dict/README.md)
|
||||
* [Minuit2](chapters/packages/Minuit2.md)
|
||||
|
||||
|
||||
<!--
|
||||
* [Download PDF](ref://modern-cmake.pdf)
|
||||
* [Browse the source](https://gitlab.com/CLIUtils/modern-cmake) -->
|
||||
|
@ -2,7 +2,7 @@
|
||||
"title": "Modern CMake",
|
||||
"description": "A guide to writing simple, powerful, and clean CMake 3.1+ builds.",
|
||||
"author": "Henry Schreiner",
|
||||
"plugins": ["replace", "hints", "term", "include-codeblock"],
|
||||
"plugins": ["replace", "hints", "term", "include-codeblock", "ace", "otherlink"],
|
||||
"pluginsConfig": {
|
||||
"include-codeblock": {
|
||||
"fixlang": true
|
||||
|
Loading…
x
Reference in New Issue
Block a user