You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Tested a new PDF generation plugin
new file: _resourcepdf/overrides/404.html
new file: _resourcepdf/overrides/main.html
new file: _resourcepdf/overrides/partials/banner.html
new file: _resourcepdf/overrides/partials/copyright.html
new file: _resourcepdf/overrides/partials/header.html
new file: docs/templates/pdf_cover_page.tpl
modified: mkdocs-base.yml
deleted: mkdocs-pdf.yml
modified: mkdocs.yml
* Update requirements.txt
Added the plugin to the requirements.txt
This creates a single HTML page for the whole doc project. You can find the page at `site/print_page.html`.
175
+
176
+
7. Open the `site/print_page.html` in your browser and save as PDF. Depending on the browser, you may need to select the Export to PDF, Print - Save as PDF or just Save and select PDF as the output format.
177
+
178
+
170
179
171
180
## Repository structure
172
181
173
182
The repository includes the following directories and files:
174
183
175
184
-`mkdocs-base.yml` - the base configuration file. It includes general settings and documentation structure.
176
-
-`mkdocs.yml` - configuration file. Contains the settings for building the docs with Material theme.
177
-
-`mkdocs-pdf.yml` - configuration file. Contains the settings for building the PDF docs.
185
+
-`mkdocs.yml` - configuration file. Contains the settings for building the docs on Percona website
178
186
-`docs`:
179
187
-`*.md` - Source markdown files.
180
188
-`_images` - Images, logos and favicons
181
189
-`css` - Styles
182
190
-`js` - Javascript files
191
+
-`templates` - the PDF cover page template
183
192
-`_resource`:
184
-
-`templates`:
185
-
-``styles.scss`` - Styling for PDF documents
186
-
-`theme`:
193
+
-`overrides` - The directory with customized templates for HTML output
187
194
-`main.html` - The layout template for hosting the documentation on Percona website
188
-
- overrides - The folder with the Material theme template customization for builds
195
+
-`_resourcepdf`:
196
+
-`overrides` - The directory with customized layout templates for PDF
189
197
-`.github`:
190
198
-`workflows`:
191
199
-`main.yml` - The workflow configuration for building documentation with a GitHub action. (The documentation is built with `mike` tool to a dedicated `publish` branch)
192
200
-`site` - This is where the output HTML files are put after the build
201
+
-`snippets` - The folder with pieces of documentation used in multiple places
This file was automatically generated - do not edit
3
+
-#}
4
+
{% extends "main.html" %}
5
+
{% block content %}
6
+
<h1>404 - Not found</h1>
7
+
<p>
8
+
We can't find the page you are looking for. Try using the Search or <ahref= "{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"> return to homepage </a>. </p>
<ahref="https://learn.percona.com/download-manual-percona-distribution-for-postgresql-15" onclick="_gaq.push(['b._trackEvent', 'Percona Distribution for PostgreSQL', 'Download', 'Download Manual Distribution for PostgreSQL']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
22
+
Download PDF
23
+
</a>
24
+
</label>
25
+
</div>
26
+
</div>
27
+
</div>
28
+
{% endif %}
29
+
{% if "toc.integrate" not in features %}
30
+
{% if page.meta and page.meta.hide %}
31
+
{% set hidden = "hidden" if "toc" in page.meta.hide %}
0 commit comments