'Whitepaper' is a single word

This commit is contained in:
Ananth Venkatesh 2024-02-14 22:07:51 +00:00
parent 1104866a76
commit a1fb9329c0
4 changed files with 13 additions and 13 deletions

View file

@ -40,8 +40,8 @@ export const ItemBadge = ({
text = 'Presentation' text = 'Presentation'
itemStyle = 'badge-presentation' itemStyle = 'badge-presentation'
break break
case 'white paper': case 'whitepaper':
text = 'White Paper' text = 'Whitepaper'
itemStyle = 'badge-white-paper' itemStyle = 'badge-white-paper'
break break
case 'datasheet': case 'datasheet':

View file

@ -32,8 +32,8 @@ const RandomDocs = (): React.ReactNode[] => {
case 'presentation': case 'presentation':
typeString = 'presentation' typeString = 'presentation'
break break
case 'white paper': case 'whitepaper':
typeString = 'white paper' typeString = 'whitepaper'
break break
case 'datasheet': case 'datasheet':
typeString = 'datasheet' typeString = 'datasheet'

View file

@ -39,8 +39,8 @@ const RecentDocuments = (): React.ReactNode[] => {
case 'presentation': case 'presentation':
typeString = 'presentation' typeString = 'presentation'
break break
case 'white paper': case 'whitepaper':
typeString = 'white paper' typeString = 'whitepaper'
break break
case 'datasheet': case 'datasheet':
typeString = 'datasheet' typeString = 'datasheet'

View file

@ -6,7 +6,7 @@ documents {
title: string title: string
authors: string[] authors: string[]
date: unix epoch integer[] -> if multiple revisions, put the earlier dates first date: unix epoch integer[] -> if multiple revisions, put the earlier dates first
type: presentation | report | white paper | other type: presentation | report | whitepaper | other
latest: integer >= 1 -> the latest revision of the document (earliest = 1) latest: integer >= 1 -> the latest revision of the document (earliest = 1)
keywords: string[] keywords: string[]
topics: string[] topics: string[]
@ -30,7 +30,7 @@ export type FileType = 'pdf' | 'docx' | 'pptx' | 'tar.gz' | 'other'
export type DocumentType = export type DocumentType =
| 'presentation' | 'presentation'
| 'report' | 'report'
| 'white paper' | 'whitepaper'
| 'dwm' | 'dwm'
| 'datasheet' | 'datasheet'
| 'guide' | 'guide'
@ -223,7 +223,7 @@ export const documents: Readonly<{ [key: string]: Document }> = {
'programming team', 'programming team',
'eecs', 'eecs',
'whitepaper', 'whitepaper',
'white paper', 'whitepaper',
'engineering', 'engineering',
'design', 'design',
'electrical', 'electrical',
@ -238,7 +238,7 @@ export const documents: Readonly<{ [key: string]: Document }> = {
'sensing', 'sensing',
'collision', 'collision',
], ],
type: 'white paper', type: 'whitepaper',
topics: ['ai', 'frc', 'eecs'], topics: ['ai', 'frc', 'eecs'],
latest: 2, latest: 2,
status: 'under review', status: 'under review',
@ -282,16 +282,16 @@ On Day 1 we will discuss the ins and outs of the robot. The Electrical Sub team
}, },
'eexiv-white-paper': { 'eexiv-white-paper': {
manifest: { manifest: {
title: 'eeXiv White Paper', title: 'eeXiv Whitepaper',
authors: ['ywu', 'avenkatesh'], authors: ['ywu', 'avenkatesh'],
topics: ['eecs', 'frc'], topics: ['eecs', 'frc'],
dates: [1707811359, 1707891311], dates: [1707811359, 1707891311],
type: 'white paper', type: 'whitepaper',
latest: 2, latest: 2,
status: 'under review', status: 'under review',
keywords: [ keywords: [
'eexiv', 'eexiv',
'white paper', 'whitepaper',
'paper repository', 'paper repository',
'arxiv', 'arxiv',
'proposal', 'proposal',