[MDBF-341] Create downloadable pdf version of the documentation Created: 2022-02-14 Updated: 2022-10-17 Resolved: 2022-05-02 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Ian Gilfillan | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Σ Remaining Estimate: | 0d | Remaining Estimate: | 0d |
| Σ Time Spent: | 33d | Time Spent: | 33d |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||
| Description |
|
There have many requests for an offline, downloadable, pdf version of the documentation. Requests include: The intention is to run a Python script to generate the PDF from the current content on the KB. The script will read a CSV file containing a list of all the URLS to be included in the document. The CSV currently contains the following fields:
CSV maintenance is for now fairly manual. Over time it will become more automated. The Python script will:
The pdf will include
The script makes use of Beautiful Soup for html processing, and wkhtmltopdf for converting to pdf, which seem to give the best results. Output of the pdf should match the website html as closely as possible, with the following differences for now:
Known issues to date:
Progress can be viewed at https://github.com/Icerath/mariadb-pdf/ |
| Comments |
| Comment by Ian Gilfillan [ 2022-03-22 ] |
|
Current version of the PDF at https://mariadb.org/mariadbserverknowledgebase_2022_03_22/
Other points from previous discussions:
|
| Comment by Ian Gilfillan [ 2022-03-31 ] |
|
Latest version: https://mariadb.org/mariadbserverknowledgebase_2022_03_30/
|
| Comment by Anel Husakovic [ 2022-04-04 ] |
|
I would suggest to add a watermark on the first page just to be sure in which stage are we now. |
| Comment by Ian Gilfillan [ 2022-04-12 ] |
|
Windows version generates correctly, but on Linux there are font problems, and the Linux version of wkhtmltopdf generates slightly different output. Virtual server on Windows is very slow, currently still looking for fix. |
| Comment by Ian Gilfillan [ 2022-04-18 ] |
|
Latest version: https://mariadb.org/mariadbserverknowledgebasenew_2022_04_18/ Known issues:
|
| Comment by Ian Gilfillan [ 2022-04-27 ] |
|
A first public version is up at https://mariadb.org/mariadbserverknowledgebase/ Known issues:
|