greenelab / greenelab/lab-website-template-docs

Manual override of citation dates with sources.yaml

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Firstly, **_thank you_** for creating this lab website template, it's been really great.

I had a bit of trouble with the publication dates for the research page – they were not automatically being parsed by Manubot (I think), and then when I followed the documentation for the manual override in sources.yaml, it was leaving the [no date info] in place on the website.

I found the solution was to report the date within in single quotes,`date: 'YYYY-MM-DD'` -- rather than `date: YYYY-MM-DD` as suggested by the documentation and in the provided example.

Additional note - In the main lab-website-template repo, the first item in the `sources.yaml` file has the date written is as `date: 2020-12-4`, which I think somehow gets updated to the correct date format by `citation.html`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the documentation for manually overriding citation dates and the provided sources.yaml example. Update the example and wording to show the date in single quotes, then verify that the documented format prevents the [no date info] text from remaining on the website.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.