Skip to content

Replace BibBase embeds with locally generated FacultyPublications and add generation/verification scripts - #26

Open
WPISabaGanji wants to merge 1 commit into
devfrom
codex/update-all-publications-from-google-scholar-xd9b1s
Open

Replace BibBase embeds with locally generated FacultyPublications and add generation/verification scripts#26
WPISabaGanji wants to merge 1 commit into
devfrom
codex/update-all-publications-from-google-scholar-xd9b1s

Conversation

@WPISabaGanji

Copy link
Copy Markdown
Contributor

Motivation

  • Replace external BibBase iframe embeds with locally rendered faculty publication lists to improve reliability, control, and offline rendering of the site.
  • Generate a canonical, deduplicated, and sorted publications JSON from faculty Scholar/BibTeX/Docx exports so publication data can be validated and consumed by components.
  • Add automated prebuild generation and verification to catch missing or malformed publication data before a Docusaurus build.

Description

  • Replaced uses of the removed BibBaseEmbed with a new FacultyPublications React component and removed src/components/BibBaseEmbed.js.
  • Added src/components/FacultyPublications.js which renders entries from src/data/facultyPublications.json for a given faculty prop.
  • Committed the generated publication data as src/data/facultyPublications.json and added CSS rules in src/css/custom.css to style the new publication entries.
  • Added two scripts scripts/generate-faculty-publications.py and scripts/verify-faculty-publications.py, wired generate-publications and verify-publications into package.json and added a prebuild script to run them before docusaurus build.
  • Updated docs/publications.mdx to import and use FacultyPublications and to keep the page listing dynamic MDX publication entries.

Testing

  • Ran python3 scripts/generate-faculty-publications.py which produced src/data/facultyPublications.json and printed per-faculty counts, and it completed successfully.
  • Ran python3 scripts/verify-faculty-publications.py against the generated JSON and it validated the expected faculty keys, non-empty lists, uniqueness of titles, and sorting, completing successfully.
  • No Docusaurus build or other automated CI runs were executed as part of this change in the recorded rollout.

Codex Task

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant