AlexJSully-Portfolio

Publications Documentation

Overview

This document explains how the publications list is displayed and how to add new publications to the codebase.

Publications List Display

The publications list is displayed using the Publications component located in Publications.tsx. This component creates a list layout to showcase the publications.

Key Elements

Flowchart

flowchart LR
    A[Publications Component] -->|Fetches| B[Publications Data]
    B --> C[Maps Publications to List Items]
    C --> D[Displays Publication Cards]
    D --> E[Publication Title]
    D --> F[Publication Authors]
    D --> G[Publication Metadata]
    D --> H[Publication Abstract]

Adding New Publications

To add new publications, update the publications array in src/data/publications.ts.

Steps to Add a New Publication

  1. Open the publications.ts file.
  2. Add a new object to the publications array with the following structure:

     {
     	"title": "Publication Title",
     	"authors": [
     		"Author 1",
     		"Author 2"
     		// more authors
     	],
     	"abstract": "Abstract of the publication.",
     	"doi": "10.1234/doi",
     	"journal": "Journal Name",
     	"date": "YYYY-MM-DD",
     	"related-project": "project-id" // optional
     }
    

By following these steps, you can successfully add new publications to the publications list.