lsstdarkmatter / dark-matter-graph

Create dark matter graphics
https://lsstdarkmatter.github.io/dark-matter-graph/
MIT License
5 stars 2 forks source link

Add reference links to sidebar text #26

Closed kadrlica closed 6 years ago

kadrlica commented 6 years ago

As part of #19 I've been (sporadically) adding ADS references for different nodes. It would be super cool if we could build ADS links and add them to the sidebar text.

yymao commented 6 years ago

should we support arXiv ID and DOI as well?

kadrlica commented 6 years ago

Maybe, but I don't think it's critical. I've seen adstex, so I imagine that you already have several tools in place.

yymao commented 6 years ago

Right. Another question is whether the references will always be under the "references" key or will there be inline references. The former is obviously easier to implement but I wonder if there's use case for the latter.

yymao commented 6 years ago

I'll start with the original request (i.e., only ADS, always under references key) since that's the easiest. We can expand this feature if there's demand.

kadrlica commented 6 years ago

My plan was to require the developer to be consistent with ADS references always under the references key. This would also make it easier to parse the references out of the yaml file for other purposes.