Skip to content

Commit

Permalink
new pdf export added + cover book
Browse files Browse the repository at this point in the history
  • Loading branch information
Trikke76 committed May 29, 2024
1 parent 3faa734 commit da4b08d
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-with-pdf weasyprint==54.3
- run: pip install mkdocs-material mkdocs-print-site-plugin
- run: mkdocs gh-deploy --force
Binary file added docs/assets/img/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/assets/templates/custom_cover_page.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% if config.site_name %}
<h1>{{ config.site_name }}</h1>
{% endif %}
<img src="../assets/img/cover.jpg" />
2 changes: 1 addition & 1 deletion docs/proxies/active-proxy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Active proxy
# Active proxy


Let's first start with the setup of an active Proxy.
Expand Down
2 changes: 1 addition & 1 deletion docs/proxies/passive-proxy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Passive proxy
# Passive proxy

Lets try to setup our ```passive proxy```.
Things should be very simple just make sure you have a VM that you can use to install a proxy.
Expand Down
92 changes: 55 additions & 37 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,43 +99,61 @@ theme:
# Plugins
plugins:
- search
- with-pdf: #add only if you like to build a pdf file
author: Patrik Uytterhoeven
copyright: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
#
#cover: false
#back_cover: true
cover_title: Zabbix 7 Monitoring
cover_subtitle: Enterprise Monitoring With Zabbix
#custom_template_path: TEMPLATES PATH
#
#toc_title: TOC TITLE TEXT
#heading_shift: false
#toc_level: 3
#ordered_chapter_level: 2
#excludes_children:
# - 'release-notes/:upgrading'
# - 'release-notes/:changelog'
#
#exclude_pages:
# - 'bugs/'
# - 'appendix/contribute/'
#convert_iframe:
# - src: IFRAME SRC
# img: POSTER IMAGE URL
# text: ALTERNATE TEXT
# - src: ...
#two_columns_level: 3
#
#render_js: true
#headless_chrome_path:
#
output_path: ../zabbix-7-book.pdf
#enabled_if_env: ENABLE_PDF_EXPORT
#
#debug_html: true
#show_anchors: true
#verbose: true
- print-site:
add_to_navigation: true
print_page_title: 'Print Site'
add_print_site_banner: false
# Table of contents
add_table_of_contents: true
toc_title: 'Table of Contents'
toc_depth: 6
# Content-related
add_full_urls: false
enumerate_headings: true
enumerate_figures: true
add_cover_page: true
cover_page_template: "docs/assets/templates/custom_cover_page.tpl"
path_to_pdf: ""
include_css: true
enabled: true
exclude:
# - with-pdf: #add only if you like to build a pdf file
# author: Patrik Uytterhoeven
# copyright: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
# #
# cover: true
# #back_cover: true
# cover_title: Zabbix 7 Monitoring
# cover_subtitle: Enterprise Monitoring With Zabbix
# custom_template_path: docs/assets/templates/custom_cover_page.tpl
# #
# #toc_title: TOC TITLE TEXT
# #heading_shift: false
# #toc_level: 3
# #ordered_chapter_level: 2
# #excludes_children:
# # - 'release-notes/:upgrading'
# # - 'release-notes/:changelog'
# #
# #exclude_pages:
# # - 'bugs/'
# # - 'appendix/contribute/'
# #convert_iframe:
# # - src: IFRAME SRC
# # img: POSTER IMAGE URL
# # text: ALTERNATE TEXT
# # - src: ...
# #two_columns_level: 3
# #
# #render_js: true
# #headless_chrome_path:
# #
# output_path: ../zabbix-7-book.pdf
# #enabled_if_env: ENABLE_PDF_EXPORT
# #
# #debug_html: true
# #show_anchors: true
# #verbose: true
# alternative pdf solution https://github.com/orzih/mkdocs-with-pdf
# - page-to-pdf

Expand Down
78 changes: 39 additions & 39 deletions site/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,197 +2,197 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://trikke76.github.io/Zabbix-Book/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/actions/zabbix-eventactions/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/api/zabbix-api/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/authentication/zabbix-http/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/authentication/zabbix-ldap/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/authentication/zabbix-mfa/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/authentication/zabbix-saml/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/automation/automating-configuration/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/Dashboard/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-agent/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-dataflow/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-hostgroups/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-hosts/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-interfaces/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-items/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-macros/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-templates/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-triggers/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/configuration/zabbix-users/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/extra-monitoring/IPMI-monitoring/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/extra-monitoring/JAVA-monitoring/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/extra-monitoring/SNMP-monitoring/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/installation/Requirements/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/installation/installing-zabbix-ha/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/installation/installing-zabbix/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/installation/installing-zabbixdb/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/maintenance/maintaining-zabbix/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/permissions/managing-permissions/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/problems/zabbix-triggers/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/project/modbus/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/proxies/active-proxy/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/proxies/installing-proxies/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/proxies/loadbalancing-proxies/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/proxies/passive-proxy/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/security/securing-zabbix/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/visualising/Visualising-our-problems/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/vmware/vmware-monitoring/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/websites/monitoring-websites/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://trikke76.github.io/Zabbix-Book/windows/monitoring-windows/</loc>
<lastmod>2024-05-28</lastmod>
<lastmod>2024-05-29</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified site/sitemap.xml.gz
Binary file not shown.
Binary file removed zabbix-7-book.pdf
Binary file not shown.

0 comments on commit da4b08d

Please sign in to comment.