-
-
Notifications
You must be signed in to change notification settings - Fork 9
Convert Docs to PDF #1395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Convert Docs to PDF #1395
Conversation
WalkthroughIntroduces a docs-builder stage in the Dockerfile that converts .fodt docs to PDFs during image build and copies the generated PDFs into the final image at /app/static/docs. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer
participant Build as Docker Build
participant DocsStage as docs-builder (build stage)
participant FinalStage as final image
Dev->>Build: docker build
note right of Build: Multi-stage build starts
Build->>DocsStage: install dependencies\nconvert .fodt -> PDFs
DocsStage-->>Build: PDFs in /docs/pdf
Build->>FinalStage: COPY from DocsStage:/docs/pdf -> /app/static/docs
FinalStage-->>Dev: final image includes generated PDFs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-08-04T18:32:21.272ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
Dockerfile(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: checks / build-and-test
🔇 Additional comments (1)
Dockerfile (1)
46-48: Copy logic is sound.The directory creation and PDF copy logic is correct and follows best practices.
Converting flat odt files pulled from Google Docs to PDF under /static/docs.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.