Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ibis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Generate HTML
run: composer run html

- name: Generate Sample PDF (Light Theme)
run: composer run sample && composer run sample-dark

- name: Check for changes
id: verify-changed-files
run: |
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"pdf": "vendor/bin/ibis-next pdf -c ebook/en/content -d ebook/en",
"pdf-dark": "vendor/bin/ibis-next pdf dark -c ebook/en/content -d ebook/en",
"epub": "vendor/bin/ibis-next epub -c ebook/en/content -d ebook/en",
"html": "vendor/bin/ibis-next html -c ebook/en/content -d ebook/en"
"html": "vendor/bin/ibis-next html -c ebook/en/content -d ebook/en",
"sample": "vendor/bin/ibis-next sample -c ebook/en/content -d ebook/en",
"sample-dark": "vendor/bin/ibis-next sample dark -c ebook/en/content -d ebook/en"
}
}
23 changes: 11 additions & 12 deletions docs/download.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
# Download This Book as a PDF

pdf:
parent_folder: "ebook/en/export"
dark:
filename: "101-linux-commands-ebook-dark.pdf"
light:
filename: "101-linux-commands-ebook-light.pdf"
The 101 Linux Commands eBook is available in multiple formats:

---
## PDF Downloads

{% import 'macros/all.j2' as macros %}
- **[📄 Light Mode PDF](https://github.com/bobbyiliev/101-linux-commands-ebook/releases/latest/download/101-linux-commands-ebook-light.pdf)** - Optimized for printing and light theme readers
- **[🌙 Dark Mode PDF](https://github.com/bobbyiliev/101-linux-commands-ebook/releases/latest/download/101-linux-commands-ebook-dark.pdf)** - Perfect for dark theme readers and reduced eye strain

# Download This Book as a PDF
## Other Formats

- **[📚 EPUB](https://github.com/bobbyiliev/101-linux-commands-ebook/releases/latest/download/101-linux-commands-ebook.epub)** - For e-readers (Kindle, Apple Books, etc.)
- **[🌐 HTML](https://github.com/bobbyiliev/101-linux-commands-ebook/releases/latest/download/101-linux-commands-ebook.html)** - Single-page web version

- **Dark** mode {{ macros.common.link_to_pdf(pdf.parent_folder ~ '/' ~ pdf.dark.filename, message="PDF", icon="fas fa-file-pdf") }}
## Release Notes

- **Light** mode {{ macros.common.link_to_pdf(pdf.parent_folder ~ '/' ~ pdf.light.filename, message="PDF", icon="fas fa-file-pdf") }}
All downloads are automatically generated from the latest content using our [GitHub Actions workflow](https://github.com/bobbyiliev/101-linux-commands-ebook/actions). Check the [releases page](https://github.com/bobbyiliev/101-linux-commands-ebook/releases) for version history and detailed release notes.
Binary file not shown.
Binary file not shown.