Skip to content
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

example team page #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

stevejpurves
Copy link
Collaborator

@stevejpurves stevejpurves commented Jan 27, 2025

towards #13

This PR:

  1. moves to the new toc definition within the myst.yml file (docs)
  2. adds a team page with 2 example people cards. Note these will render properly/fully once deployed and will not look fully featured when previewing locally (yet), options available are 👇
  name: 'person',
  doc: 'An card for showing a person, for example, in a lab group',
  options: {
    name: { type: String, doc: 'URL of the logo' },
    position: { type: String, doc: "Person's role or position" },
    pronouns: { type: String, doc: "Person's pronouns" },
    description: { type: 'myst', doc: 'Short description to show in the card' },
    github: { type: String, doc: 'Github Username' },
    twitter: { type: String, doc: 'Twitter Username' },
    linkedin: { type: String, doc: 'LinkedIn Username' },
    orcid: { type: String, doc: 'ORCID identifier, e.g. `0000-0000-0000-0000`' },
    website: { type: String, doc: 'URL of the persons website' },
    email: { type: String, doc: 'Email address' },
    image: {
      type: String,
      doc: 'Image of the person, preferably a centered head shot. The card may scale.',
    },
    reverse: { type: Boolean, doc: 'Put the image on the right' },
  },
  body: {
    type: 'myst',
    doc: 'A biography or more information about the person. If a thematic break (`---`) is used, you will split the image part of the card, and the content below the break is shown as full width.',
  },

@stevejpurves stevejpurves mentioned this pull request Jan 30, 2025
17 tasks
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.

1 participant