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

Fetch job and challenges lists and update JobsPerDepartment data source #136

Merged
merged 4 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ packages/docusaurus-*/lib/*
packages/logos-docusaurus-preset/static/common/data/team.json

lerna-debug.log

packages/docusaurus-playground/static/generated/*
1 change: 1 addition & 0 deletions packages/docusaurus-playground/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GITHUB_ACCESS_TOKEN=
33 changes: 13 additions & 20 deletions packages/docusaurus-playground/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,26 @@ const config = {
},
},
docs: {
routeBasePath: '/about',
versions: {
current: {
label: 'current',
},
routeBasePath: '/',
path: 'docs',
},
generated: {
challenges: {
repoArray: [
{ owner: 'logos-co', repo: 'nomos-node' },
{ owner: 'logos-co', repo: 'nomos-specs' },
],
githubAccessToken: process.env.GITHUB_ACCESS_TOKEN,
},
jobList: {
jobBoard: 'waku',
},
lastVersion: 'current',
},
}),
],
],

plugins: [
[
'@docusaurus/plugin-content-blog',
/** @type {import('@docusaurus/plugin-content-blog').PluginOptions} */
({
id: 'blog',
routeBasePath: '/rlog',
path: 'rlog',
blogTitle: 'Rlog - Vac Research Log',
blogDescription:
'Vac builds public good protocols for the decentralized web.',
blogSidebarCount: 0,
authorsMapPath: 'authors.yml',
}),
],
[
'@acid-info/docusaurus-fathom',
{
Expand Down
3 changes: 2 additions & 1 deletion packages/docusaurus-playground/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
ShowcaseCard,
JobsPerDepartment,
} from '../components/mdx'
import * as jobData from '/generated/jobs.json'

<Hero size="large">
<HeroInfo>
Expand Down Expand Up @@ -353,4 +354,4 @@ import {
Build on Waku
</CallToActionButton>
</Box>
<JobsPerDepartment jobBoard="codex" useDummyData />
<JobsPerDepartment jobData={jobData} />
Loading
Loading