-
Notifications
You must be signed in to change notification settings - Fork 2
Passages ot rg and conditional stet passages #279
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
Passages ot rg and conditional stet passages #279
Conversation
Requested DOC feature
Make it clear that when the Gateway tab is selected, the search field searches gateway languages and when the Heart tab is selected, the search field searches heart languages. Before this commit it only said search languages which could lead one to believe you are searching across all languages.
Make the code more extensible and easier to understand.
By request of TS
It provides no needed value and is just another phrase that would need to be localized.
Russian (ru) exhibited some USFM with this USFM structural mistake.
This is the cache for file artifacts which include graphql query results, resources.json, git repos, and generated document files. 30 minutes is long enough to materially impact running of the test suite to make it considerably faster and short enough to allow new updates to data to become available without too long of a wait.
…t-05-19-2025 Update to doc and stet 05 19 2025
Graphql lookups are generally quick and hopefully stability has improved. Let's simplify the code and remove caching of graphql data.
Disable graphql cache
Put checkbox to select NT Survey Reviewer's Guide Passages on its own row.
Prior refactor apparently broke this.
Only show STET source languages that provide 4th column (boldings) in their input document
| # is True, then the chapter label will be localized to the language(s) | ||
| # requested. | ||
| use_chapter_labels: bool = False | ||
| # We have two PDF processors that we can use: Weasyprint and Princexml. |
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.
Thanks for providing the option to choose between the PDF processors. Is there a way to choose them at runtime? (I'm guessing not -- this looks like an deployment-time decision.)
Perhaps we could generate some Prince PDFs vs Weasy PDFs and let TS review them. They could then decide if they're willing to live with the logo in return for the superior layout.
|
From: Craig Oliver ***@***.***>
Subject: Re: [WycliffeAssociates/DOC] Passages ot rg and conditional stet passages (PR #279)
Date: Thu, 25 Sep 2025 11:43:47 -0700
Yes, they are choose-able in the UI on the settings page. If one chooses PDF then a switch appears allowing to choose Princexml as an option, otherwise it defaults to weasyprint. If you have time you might want to try it at our dev server location. Thanks for the feedback!
… @PurpleGuitar approved this pull request.
> @@ -201,6 +201,26 @@ class DocumentRequest(BaseModel):
# is True, then the chapter label will be localized to the language(s)
# requested.
use_chapter_labels: bool = False
+ # We have two PDF processors that we can use: Weasyprint and Princexml.
Thanks for providing the option to choose between the PDF processors. Is there a way to choose them at runtime? (I'm guessing not -- this looks like an deployment-time decision.)
Perhaps we could generate some Prince PDFs vs Weasy PDFs and let TS review them. They could then decide if they're willing to live with the logo in return for the superior layout.
--
Reply to this email directly or view it on GitHub:
#279 (review)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
f59b61d
into
doc.bibleineverylanguage.org
Uh oh!
There was an error while loading. Please reload this page.