Fix FLoRA citation update to support repeated runs#688
Merged
LukasWallrich merged 2 commits intomasterfrom Mar 6, 2026
Merged
Conversation
- Extend update_fred_citation.py to replace {{flora-ref}} placeholder in
content/replication-hub/flora/_index.md with the HTML-formatted citation
- Add content/replication-hub/flora/_index.md (source file with placeholder)
- Update data-processing workflow to stage and commit the resolved _index.md
to the build-resources branch alongside fred_citation.txt
The citation update already ran weekly on Sundays; the new _index.md replacement
runs on the same schedule with no additional triggers needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
📝 Spell Check ResultsFound 8 potential spelling issue(s) in this PR: 📄
|
| Line | Issue |
|---|---|
| 130 | Tham ==> Than |
| 171 | Tham ==> Than |
| 201 | Tham ==> Than |
📄 content/educators-corner/004-Teaching-why-how-replication/index.md
| Line | Issue |
|---|---|
| 94 | pre-selected ==> preselected |
📄 content/glossary/english/statistical_significance.md
| Line | Issue |
|---|---|
| 5 | pre-selected ==> preselected |
📄 content/pedagogies/003-CREP/index.md
| Line | Issue |
|---|---|
| 86 | pre-selected ==> preselected |
| 126 | pre-selected ==> preselected |
| 134 | pre-selected ==> preselected |
ℹ️ How to address these issues:
- Fix the typo: If it's a genuine typo, please correct it.
- Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to
.codespell-ignore.txt - False positive: If this is a false positive, please report it in the PR comments.
🤖 This check was performed by codespell
Contributor
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
Contributor
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-03-06 14:29:05 UTC The staging site shows the combined state of all compatible open PRs. |
Contributor
Author
LukasWallrich
approved these changes
Mar 6, 2026
Contributor
LukasWallrich
left a comment
There was a problem hiding this comment.
Looks good - thanks for sorting it out so quickly!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the FLoRA citation update script to allow repeated updates without losing the placeholder markers.
The previous implementation used a {{flora-ref}} placeholder that was replaced with the citation content.
After the first run, the placeholder was gone and subsequent runs could not update the citation.
Solution:
Use block markers (
<!-- flora-citation-start --> and <!-- flora-citation-end -->) that persist across updatesReplace only the content between {{< alert note >}} {{< /alert >}} inside the block
Type of Change
Testing
Checklist
Notes