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
This creates a single HTML page for the whole doc project. You can find the page at `site/print_page.html`.
153
+
154
+
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.
155
+
156
+
152
157
153
158
## Repository structure
154
159
155
160
The repository includes the following directories and files:
156
161
157
162
-`mkdocs-base.yml` - the base configuration file. It includes general settings and documentation structure.
158
163
-`mkdocs.yml` - configuration file. Contains the settings for building the docs on Percona website
159
-
-`mkdocs-pdf.yml` - configuration file. Contains the settings for building the PDF docs.
160
164
-`docs`:
161
165
-`*.md` - Source markdown files.
162
166
-`_images` - Images, logos and favicons
163
167
-`css` - Styles
164
168
-`js` - Javascript files
169
+
-`templates` - the PDF cover page template
165
170
-`_resource`:
166
-
-`templates`:
167
-
-``styles.scss`` - Styling for PDF documents
168
-
-`theme`:
171
+
-`overrides` - The directory with customized templates for HTML output
169
172
-`main.html` - The layout template for hosting the documentation on Percona website
170
-
- overrides_netlify - The folder with the template customization for Netlify builds
173
+
-`_resourcepdf`:
174
+
-`overrides` - The directory with customized layout templates for PDF
171
175
-`.github`:
172
176
-`workflows`:
173
-
-`main.yml` - The workflow configuration for building documentation with a GitHub action. (The documentation is built with `mike` tool to a dedicated `netlify` branch)
177
+
-`main.yml` - The workflow configuration for building documentation with a GitHub action. (The documentation is built with `mike` tool to a dedicated `publish` branch)
174
178
-`site` - This is where the output HTML files are put after the build
179
+
-`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