Skip to content

Automate FLoRA citation update from FReD-data#677

Open
LukasWallrich wants to merge 2 commits intomasterfrom
flora-citation-update
Open

Automate FLoRA citation update from FReD-data#677
LukasWallrich wants to merge 2 commits intomasterfrom
flora-citation-update

Conversation

@LukasWallrich
Copy link
Contributor

Summary

  • Extends scripts/update_fred_citation.py to replace the {{flora-ref}} placeholder in content/replication-hub/flora/_index.md with the HTML-formatted citation fetched from FReD-data
  • Adds content/replication-hub/flora/_index.md (source file with the placeholder intact for master)
  • Updates the 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 (or on manual dispatch); this PR wires the replacement into that same step with no additional scheduling needed.

Test plan

  • Ran python3 scripts/update_fred_citation.py locally — {{flora-ref}} was correctly replaced in _index.md with the HTML-formatted citation including a linked DOI
  • Trigger the data-processing workflow manually after merge and verify content/replication-hub/flora/_index.md in build-resources contains the resolved citation

🤖 Generated with Claude Code

- 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>
@LukasWallrich LukasWallrich requested a review from a team as a code owner March 3, 2026 17:44
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

👍 All image files/references (if any) are in webp format, in line with our policy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

📝 Spell Check Results

Found 1 potential spelling issue(s) in this PR:

📄 content/glossary/english/open_material.md

Line Issue
17 Wit ==> With

ℹ️ How to address these issues:

  1. Fix the typo: If it's a genuine typo, please correct it.
  2. Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to .codespell-ignore.txt
  3. False positive: If this is a false positive, please report it in the PR comments.

🤖 This check was performed by codespell

@LukasWallrich
Copy link
Contributor Author

@richarddushime could you pls check and merge?

@LukasWallrich
Copy link
Contributor Author

LukasWallrich commented Mar 3, 2026

Staging Deployment Status

This PR has been successfully deployed to staging as part of an aggregated deployment.

Deployed at: 2026-03-03 18:43:35 UTC
Staging URL: https://staging.forrt.org

The staging site shows the combined state of all compatible open PRs.


In FLoRA, years of work from a large community of volunteers culminate. If you would like to contribute to the project or use the data for your own research, we would strongly appreciate you reaching out to us.

::: {.callout-note icon="false"}
Copy link
Contributor

@richarddushime richarddushime Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this syntax here does not work for markdown
use the below

{{< alert note >}}

{{flora-ref}}

* These authors contributed equally to this work.
{{< /alert >}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants