-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dataset READMEs and Data Dictionaries from metadata #561
Comments
found an example of our code converting a markdown file to a pdf here |
@damonmcc Is this the correct issue, or is there another? |
looking into using weasyprint (already the engine we're using in our use of pandoc) to do weasyprint samples here |
@damonmcc Here's how I'd go about the remainder of this task. Let's chat when you have a minute. In terms of timeline, the next check-in with Amanda+Matt+myself is Thursday next week, and I'd like to show progress on this item. POC/WIP is fine 🙂 Data Dictionary (All fields come from metadata)
READMEMost fields from metadata, except changelog. Potentially other fields? TBD. e.g. rich text with images.
For inlining, potentially use something like this: https://pypi.org/project/css-inline/ |
notes from 11/20 chatTo generate PDFs that align with the designs in figma we'd like to:
notes on scope:
|
having trouble writing html+css to produce the exact format in the figma design, specifically the inline sections for a name and values of a metadata field (e.g. "Abstract" next to all the content) gonna focus on the content and then improve details of the layouts |
just noting that it seems like we'll still have to do some of the styling in between html -> pdf in order to do things like page numbers from the CSS perspective, a PDF is paged media |
Gotcha - good callout |
milestone ideas
|
designs in fIgma
weasyprint (the python package we're using to convert html to pdf) has a helpful example here
screenshots of figma designs
the text in these designs were for a modified version of PLUTO's README
The text was updated successfully, but these errors were encountered: