Skip to content

Conversation

@yibeichan
Copy link
Collaborator

reviewer C:


The reproschema-library/activities on GitHub desperately needs a README with a table saying what is in each directory.


changes made:

  1. Created a Python script (scripts/update_activities_table.py) that:
  • Scans the activities directory for assessment tools
  • Extracts descriptions from each activity's schema file (prioritizing description["en"] > prefLabel["en"] > activity name)
  • Generates a formatted markdown table with links to each activity
  • Updates the README.md file directly under the "Available Activities" section
  1. Set up a GitHub Action (.github/workflows/update-activities.yml) that:
  • Runs automatically when new activity directories are added
  • Can be triggered manually when needed
  • Updates and commits changes to README.md
  1. Modified the README.mdso that the auto-generated table will be maintained with:
  • Links to each activity
  • Descriptions from schema files
  • Last update timestamp

@yibeichan yibeichan added the manuscript Manuscript or R&R related label Jan 6, 2025
@yibeichan yibeichan merged commit 55c8b97 into ReproNim:main Jan 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manuscript Manuscript or R&R related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant