Skip to content

New data setup for the website, ontology integration#10

Merged
egonw merged 12 commits intoNanoCommons:mainfrom
jmillanacosta:main
Jan 9, 2024
Merged

New data setup for the website, ontology integration#10
egonw merged 12 commits intoNanoCommons:mainfrom
jmillanacosta:main

Conversation

@jmillanacosta
Copy link
Collaborator

  • Uses the 'jekyll-datapage-generator' gem to bypass the need for tags to link to the site data.
    • Some js and liquid code changes to the different layout and markdown files used to generate the site to adapt to this new data system
  • The new data is stored under _data in three directories:
    • enmo, for the eNanoMapper Ontology terms used to identify the ERMs
    • erm, for each individual ERM entry,
    • work, for the publications linked to ERMs

Feel free to serve the site locally to check whether it breaks something.

@egonw
Copy link
Contributor

egonw commented Jan 9, 2024

@jmillanacosta, I had trouble getting the 'works' to work, so I restored the original ones. But that is just for now. It seems to me the page generation for the DOIs was missing?

I will merge it in also fixing the tags in blog posts. But it seems good to go! I'll write a short blog post!

@egonw egonw merged commit 56ec26b into NanoCommons:main Jan 9, 2024
@egonw
Copy link
Contributor

egonw commented Jan 9, 2024

It worked locally, but not online:

Install missing gems with `bundle install`
Warning:  github-pages can't satisfy your Gemfile's dependencies.

The explanation is here: avillafiorita/jekyll-datapage_gen#28 (comment)

@egonw
Copy link
Contributor

egonw commented Jan 9, 2024

This PR needs to be reopened, but I cannot see how...

@egonw
Copy link
Contributor

egonw commented Jan 9, 2024

@jmillanacosta, did the custom workflows not make it to the PR, perhaps?

@egonw egonw mentioned this pull request Jan 9, 2024
3 tasks
@egonw
Copy link
Contributor

egonw commented Jan 9, 2024

Okay, since I cannot reopen it, a new one here: #11

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.

2 participants