Explorar o código

[#1] Style code blocks as dark terminal boxes, avoid page-breaks inside pre elements to prevent copy-paste split errors, and update compiled PDFs

Lange François hai 2 semanas
pai
achega
41357abccf

BIN=BIN
Project.pdf


BIN=BIN
Retro Planning.pdf


BIN=BIN
delivery.zip


BIN=BIN
docs/Backup_Procedure.pdf


BIN=BIN
docs/Data_Ingestion.pdf


BIN=BIN
docs/Final_Report.pdf


BIN=BIN
docs/Installation_Guide.pdf


BIN=BIN
docs/Operator_Installation_Guide.pdf


BIN=BIN
docs/Scrum_Artifacts.pdf


BIN=BIN
docs/Scrum_Daily.pdf


BIN=BIN
docs/Scrum_Plan.pdf


BIN=BIN
docs/Scrum_Retro.pdf


BIN=BIN
docs/Scrum_Review.pdf


BIN=BIN
docs/Scrum_Wiki.pdf


BIN=BIN
docs/Start_Stop_Procedures.pdf


BIN=BIN
docs/Technical_Document.pdf


BIN=BIN
docs/Test_Cases_Sprint8.pdf


BIN=BIN
docs/URL_Formats.pdf


BIN=BIN
docs/Uninstall_Guide.pdf


BIN=BIN
docs/User_Description.pdf


BIN=BIN
docs/User_Guide.pdf


BIN=BIN
docs/WSL_Deployment.pdf


BIN=BIN
docs/Wiki_Home.pdf


BIN=BIN
docs/architecture.pdf


BIN=BIN
docs/disaster_recovery_plan.pdf


BIN=BIN
docs/distributed_deployment.pdf


BIN=BIN
docs/docker_connection.pdf


BIN=BIN
docs/project_report.pdf


BIN=BIN
docs/retro_planning.pdf


BIN=BIN
docs/taiga_audit_report.pdf


BIN=BIN
docs/zabbix_monitoring.pdf


+ 22 - 1
scripts/generate_pdfs.py

@@ -41,10 +41,31 @@ def main():
     h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
         color: #000000 !important;
     }
-    code, pre, code *, pre * {
+    pre {
+        background-color: #212529 !important;
+        border: 1px solid #343a40 !important;
+        padding: 10px !important;
+        border-radius: 4px !important;
+        margin: 10px 0 !important;
+        font-family: 'RobotoMono', monospace !important;
+        white-space: pre-wrap !important;
+        word-break: break-all !important;
+        page-break-inside: avoid !important;
+        break-inside: avoid !important;
+    }
+    pre code, pre * {
+        font-family: 'RobotoMono', monospace !important;
+        color: #f8f9fa !important;
+        background-color: #212529 !important;
+        white-space: pre-wrap !important;
+        word-break: break-all !important;
+    }
+    code {
         font-family: 'RobotoMono', monospace !important;
         color: #b02a37 !important;
         background-color: #f8f9fa !important;
+        padding: 2px 4px !important;
+        border-radius: 3px !important;
         white-space: pre-wrap !important;
         word-break: break-all !important;
     }