docs: allow generating docs without github token (#1194)

This commit is contained in:
Daniel Roe
2024-01-03 13:52:32 +00:00
committed by GitHub
parent ea2a24b5fe
commit 217840bb41

View File

@@ -41,6 +41,8 @@ const { data: pulls } = await useLazyFetch('/api/pulls.json', { default: () => [
const dates = computed(() => {
const first = releases.value[releases.value.length - 1]
if (!first) return []
const days = eachDayOfInterval({ start: new Date(first.published_at), end: new Date() })
return days.reverse().map(day => {