Jelajahi Sumber

[#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 2 minggu lalu
induk
melakukan
41357abccf
32 mengubah file dengan 22 tambahan dan 1 penghapusan
  1. TEMPAT SAMPAH
      Project.pdf
  2. TEMPAT SAMPAH
      Retro Planning.pdf
  3. TEMPAT SAMPAH
      delivery.zip
  4. TEMPAT SAMPAH
      docs/Backup_Procedure.pdf
  5. TEMPAT SAMPAH
      docs/Data_Ingestion.pdf
  6. TEMPAT SAMPAH
      docs/Final_Report.pdf
  7. TEMPAT SAMPAH
      docs/Installation_Guide.pdf
  8. TEMPAT SAMPAH
      docs/Operator_Installation_Guide.pdf
  9. TEMPAT SAMPAH
      docs/Scrum_Artifacts.pdf
  10. TEMPAT SAMPAH
      docs/Scrum_Daily.pdf
  11. TEMPAT SAMPAH
      docs/Scrum_Plan.pdf
  12. TEMPAT SAMPAH
      docs/Scrum_Retro.pdf
  13. TEMPAT SAMPAH
      docs/Scrum_Review.pdf
  14. TEMPAT SAMPAH
      docs/Scrum_Wiki.pdf
  15. TEMPAT SAMPAH
      docs/Start_Stop_Procedures.pdf
  16. TEMPAT SAMPAH
      docs/Technical_Document.pdf
  17. TEMPAT SAMPAH
      docs/Test_Cases_Sprint8.pdf
  18. TEMPAT SAMPAH
      docs/URL_Formats.pdf
  19. TEMPAT SAMPAH
      docs/Uninstall_Guide.pdf
  20. TEMPAT SAMPAH
      docs/User_Description.pdf
  21. TEMPAT SAMPAH
      docs/User_Guide.pdf
  22. TEMPAT SAMPAH
      docs/WSL_Deployment.pdf
  23. TEMPAT SAMPAH
      docs/Wiki_Home.pdf
  24. TEMPAT SAMPAH
      docs/architecture.pdf
  25. TEMPAT SAMPAH
      docs/disaster_recovery_plan.pdf
  26. TEMPAT SAMPAH
      docs/distributed_deployment.pdf
  27. TEMPAT SAMPAH
      docs/docker_connection.pdf
  28. TEMPAT SAMPAH
      docs/project_report.pdf
  29. TEMPAT SAMPAH
      docs/retro_planning.pdf
  30. TEMPAT SAMPAH
      docs/taiga_audit_report.pdf
  31. TEMPAT SAMPAH
      docs/zabbix_monitoring.pdf
  32. 22 1
      scripts/generate_pdfs.py

TEMPAT SAMPAH
Project.pdf


TEMPAT SAMPAH
Retro Planning.pdf


TEMPAT SAMPAH
delivery.zip


TEMPAT SAMPAH
docs/Backup_Procedure.pdf


TEMPAT SAMPAH
docs/Data_Ingestion.pdf


TEMPAT SAMPAH
docs/Final_Report.pdf


TEMPAT SAMPAH
docs/Installation_Guide.pdf


TEMPAT SAMPAH
docs/Operator_Installation_Guide.pdf


TEMPAT SAMPAH
docs/Scrum_Artifacts.pdf


TEMPAT SAMPAH
docs/Scrum_Daily.pdf


TEMPAT SAMPAH
docs/Scrum_Plan.pdf


TEMPAT SAMPAH
docs/Scrum_Retro.pdf


TEMPAT SAMPAH
docs/Scrum_Review.pdf


TEMPAT SAMPAH
docs/Scrum_Wiki.pdf


TEMPAT SAMPAH
docs/Start_Stop_Procedures.pdf


TEMPAT SAMPAH
docs/Technical_Document.pdf


TEMPAT SAMPAH
docs/Test_Cases_Sprint8.pdf


TEMPAT SAMPAH
docs/URL_Formats.pdf


TEMPAT SAMPAH
docs/Uninstall_Guide.pdf


TEMPAT SAMPAH
docs/User_Description.pdf


TEMPAT SAMPAH
docs/User_Guide.pdf


TEMPAT SAMPAH
docs/WSL_Deployment.pdf


TEMPAT SAMPAH
docs/Wiki_Home.pdf


TEMPAT SAMPAH
docs/architecture.pdf


TEMPAT SAMPAH
docs/disaster_recovery_plan.pdf


TEMPAT SAMPAH
docs/distributed_deployment.pdf


TEMPAT SAMPAH
docs/docker_connection.pdf


TEMPAT SAMPAH
docs/project_report.pdf


TEMPAT SAMPAH
docs/retro_planning.pdf


TEMPAT SAMPAH
docs/taiga_audit_report.pdf


TEMPAT SAMPAH
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;
     }