Tags: ronbeltran/learn-go-with-tests
Tags
PDF generation fixes (quii#503) * Issue: Automate the gofmt in markdown files using gofmtmd during build Issue Link: quii#353 Modifications: * Modified the build script to download and run the gofmtmd tool on the markdown files * Ran the script locally and fixed the issues reported by gofmtmd tool Note: Intro to generics md file contains some syntax related to generics which is not recognised by the tool. So some valid code fences are not marked as go * Issue: Errors regarding epubcheck Issue Link: quii#420 Solution: * Corrected the SVG syntax by omitting the version tag and dtd info * Minorr markup corrections in md files Test Case: * Ran build books script locally and is able to view the generated epub file * Added newly created epub file to Google Play books and is able to read the book * Issue: PDF generation build fixes Issue link: quii#205 Solution: 1. Created a custom docker image with fonts needed for CJK support and some fonts 2. Updated the build script to use the custom pandoc image Test case: 1. Ran the build script locally and verified that the books generation is successful * Update go.yml to add support to upload assets Made changes to GH actions to add generated epub and PDF to the release once published * Corrected the yaml format * Made changes to add cover page before the toc
Fix for epub rejected by Google Play Books, EPUBCheck (quii#500) * Issue: Automate the gofmt in markdown files using gofmtmd during build Issue Link: quii#353 Modifications: * Modified the build script to download and run the gofmtmd tool on the markdown files * Ran the script locally and fixed the issues reported by gofmtmd tool Note: Intro to generics md file contains some syntax related to generics which is not recognised by the tool. So some valid code fences are not marked as go * Issue: Errors regarding epubcheck Issue Link: quii#420 Solution: * Corrected the SVG syntax by omitting the version tag and dtd info * Minorr markup corrections in md files Test Case: * Ran build books script locally and is able to view the generated epub file * Added newly created epub file to Google Play books and is able to read the book
Reading files (quii#465) * wip - start of reading files * everything is better with more Kent Beck quotes * formatting * small corrections * extracting titles * move post into a post file and some typos * read description * formatting * minor edits * reading tags and intro-ing final part * first draft * typos and grammar * bit terser * add link to files * some waffle * a bit of background and improved API * furniture arranging * some of the New calls weren't renamed to NewPostsFromFS in the text * notes on steel thread * typo * minor grammar fix and not bothering to talk about the particular definition of unit tests * blah * adding some further reading, notes, link to DI chapter * fix code snippet typing * some typos and corrections * add to toc * better strapline * Copy editing Co-authored-by: ruthmoog <ruthmoog@gmail.com> * less wordy * brevity * copy edits * trim that prefix * more copy editing Co-authored-by: Chris James <quii@hey.com> Co-authored-by: ruthmoog <ruthmoog@gmail.com>
PreviousNext