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

Use an example curvenote paper as test content on all templates #12

Open
stevejpurves opened this issue Aug 4, 2021 · 1 comment
Open
Labels
question Further information is requested

Comments

@stevejpurves
Copy link
Member

Instead of using the template author default content, we could use content from an example curvenote article and just leave it there. That means that all thumbnails would be generated with the same content.

We should create that paper so that we can interesting content on the first page. cross-references, links, citations, a figure with caption etc...

We've thinking of doing this because then is we use that content to test with, we'll be testing against something that reflects the curvenote output schema and will catch issues like #11

This is fine for templates that we add, but when we get contributions in from others this might be difficult to follow?

Or a particular template might be better demonstrated with specific example content, which the generic one might not show off?

An alternative would be to allow the example content for template to be as is, derived from the example given in the original template that we port, and instead we provide different content in a testing folder for the explicit purpose of testing manually and automatically.

I'm erring on doing the second....

cc @rowanc1

@stevejpurves stevejpurves added the question Further information is requested label Aug 4, 2021
@rowanc1
Copy link
Member

rowanc1 commented Aug 4, 2021

Yeah, I like the default content derived from the original template content and a testing folder with a few articles!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants