Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Create minimum viable publications format #298
See alphagov/government-frontend#139 for an example rendering.
Include simple example based on:
Details: * Purposefully omit: * "Documents" or attachments segment, this will be included separately * Excluded nations - pattern used by detailed guides may not be correct * Include government, political and first_public_at as required fields, this also matches detailed guides * Publications can be withdrawn, include withdrawal notice * Case studies and detailed guides both need a tags block in the details, `details.tags` are used for email alerts: #292 Links: * Add ministers * Policies and policy areas are included in base_links * Add related statistical data sets * Add topical events * Add world_locations, matching Case Studies * Make leading organisations a required field, provided by base_links * Include supporting organisations to match Case Studies – could be provided by base_links instead Include simple example based on: https://www.gov.uk/government/publications/d17-9ly-veolia-es-uk-limited- environmental-permit-issued
Documents is an array of attachments, each attachment contains the markup necessary to render it within a govspeak block. This is an intentionally dumb approach, and matches the approach taken for embedded attachments. Use an array so that attachments can be ordered, counted, etc. Details on attachments decisions: https://trello.com/c/HLb48j22/232-govspeak-implementing-the-ui-of-attach ments-medium https://docs.google.com/document/d/1Flx_eCUzixmkTT6WgjCN2bJzQ8HuVCwMga5R xUsv07M/edit "Keep attachment template in WH Publisher, rendering it and sending attachment HTML to the content store. Copy the CSS/JS for attachments to the Govspeak Component, as we did in the past for embedded contacts. This solution is required for embedded attachments, but can also be used to migrate attachment lists (used on formats like Publications), however should changes to the attachment template be required, all editions with embedded attachments would need re-publishing." Long term solution: https://gov-uk.atlassian.net/wiki/display/GOVUK/RFC+39%3A+Embedded+relat ional+content+in+govspeak