{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":673096839,"defaultBranch":"master","name":"srdine","ownerLogin":"antoniotejada","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-07-31T21:38:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6446344?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1692494151.0","currentOid":""},"activityList":{"items":[{"before":"b003182e6578faa0234833951511e10afc729727","after":"26eb11ce656d739fe58ea53244457cc80e921b68","ref":"refs/heads/master","pushedAt":"2023-08-20T01:18:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Commit missing README.md\n\nFiles:\n\nREADME.md\n- Updated for typos\n\nTests\n- None","shortMessageHtmlLink":"Commit missing README.md"}},{"before":"4b05e0a62db8b0a983f5628d647776535f3c7706","after":"b003182e6578faa0234833951511e10afc729727","ref":"refs/heads/master","pushedAt":"2023-08-20T01:13:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Fixed typos\n\nFiles:\n\nsrdine.py\n- Fixed typos\n\nREADME.md\n- Updated for typos\n\nTests\n- Rebuilt pdf with TOC and thumbnails","shortMessageHtmlLink":"Fixed typos"}},{"before":"28e63e0b6314c62e63faa554c3aaccbbe49b5d6e","after":"4b05e0a62db8b0a983f5628d647776535f3c7706","ref":"refs/heads/master","pushedAt":"2023-08-16T04:59:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Small README.md updates","shortMessageHtmlLink":"Small README.md updates"}},{"before":"c75e6278ece0ec7faade0b17b9a0e69a8a168865","after":"28e63e0b6314c62e63faa554c3aaccbbe49b5d6e","ref":"refs/heads/master","pushedAt":"2023-08-16T04:47:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Minor changes to README.md","shortMessageHtmlLink":"Minor changes to README.md"}},{"before":"60dcbb4e17ff51148f8c295846ff382fbbe89770","after":"c75e6278ece0ec7faade0b17b9a0e69a8a168865","ref":"refs/heads/master","pushedAt":"2023-08-16T04:40:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Added per monster attribute indices to the toc, monster thumbnails fron dndbeyond to the pdf, monster html page generation, json and markdown outputs\n\nAdded a tokenizer, grammar and parser to extract monsters from the pdf.\nAdded an html template interpreter to generate html monster pages\n\nGenerated json with monster information, html from dndbeyond templates\nGenerated TOC with indices, fixed the monster TOC to have the proper nesting\nGenerated markdown\n\nFiles:\n\nmonster.grammar\n- Grammar for parsing monsters from the pdf\n\nsrdine.py\n- Added download of monster images from dndbeyond\n- Added download of template resources from dndbeyond\n- Parsing of the pdf monsters into json\n- Generation of per monster html pages using an html template\n- Fixed monster nesting in the TOC when a monster appears after a monster group heading but it's not part of that group\n- Added multiple per-monster-attribute indices to the TOC\n- Added monster thumbnails to the pdf\n\ntemplate.html\n- Template to generate monster html pages based on dndbeyond using the new template engine.\n\nREADME.md\n- Removed done TODO, added screenshots, added features\n\nTests\n\n- Verified the TOC:\n - proper nesting of monsters\n - no straneous characters appear\n - per monster attribute additional indices\n- Verified the monster thumbnails appear as expected\n- Verified the monsters json has the right information\n- Verified the markdown is as expected","shortMessageHtmlLink":"Added per monster attribute indices to the toc, monster thumbnails fr…"}},{"before":"9a3693ec8dc80dc87dea21965ca4a805476569b6","after":"60dcbb4e17ff51148f8c295846ff382fbbe89770","ref":"refs/heads/master","pushedAt":"2023-08-01T03:28:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Added a few algorithm options on missing parents, default option functionally equivalent as before\n\nThe SRD sections are not contiguous, the previous commit fixes this by making\nsubsections with different font sizes share the same toc level.\n\nIn addition to that \"rebase\", this commit introduces two new methods to fix this\n- \"insert\" inserts the necessary empty sections\n- \"remove\" removes the section completely\nsince PyMuPDF errors out when the first toc entry is not level 1 or any entry is\nnot contiguous with the previous entry.\n\nInterestingly, the newly released Spanish-localized SRD at\n https://www.dndbeyond.com/community-update\neg\n https://media.wizards.com/2023/downloads/dnd/SRD_CC_v5.1_ES.pdf\n\ndoes have a TOC, but it's doesn't reflect the document accurately (eg the top\nlevel section \"Race\", etc is missing for all the sections, so first level of the\nTOC is actually the subsections).\n\nIt does feel like the SRD is missing a \"Classes\" top level section, and the\nclass names a font size demotion, to mimic the \"Races\" section wrt the race\nnames\n\nFiles:\n\nsrdine.py\n- Added \"rebase\", \"insert\" and \"remove\" options.\n- Removed some commented out code leftovers\n\nREADME.md\n- Removed done TODO\n\nTests\n\n- Viewed the generated document with Sumatra PDF, the document with the \"rebase\"\n method looks identical as before this commit and they are the same size and\n almost binary equal.\n- Generated using the different missing section methods\n- Compared \"rebase\" TOC against Spanish SRD which does have a TOC (they are\n different, this one is more accurate).","shortMessageHtmlLink":"Added a few algorithm options on missing parents, default option func…"}},{"before":null,"after":"9a3693ec8dc80dc87dea21965ca4a805476569b6","ref":"refs/heads/master","pushedAt":"2023-07-31T21:40:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"antoniotejada","name":"Antonio Tejada","path":"/antoniotejada","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446344?s=80&v=4"},"commit":{"message":"Initial commit, generates new SRD pdf with table of contents\n\nGenerates the missing table of contents for the 5th Edition Dungeons & Dragons\nSRD.\n\nFiles:\n\nsrdine.py\n\n- Opens the pdf, and traverses the spans\n- Merges text of contiguous lines with the same font size, cleans up text\n- Puts in the TOC all the text of font size 12 or higher\n- Generates a pdf with the new TOC\n\nrequirements.txt\nREADME.md\nLICENSE\n\nTests\n\n- Viewed the generated document with Sumatra PDF,\n - Verified TOC entries are generated\n - Verified no strange characters appear in the TOC entries\n - Verified subsections are properly nested","shortMessageHtmlLink":"Initial commit, generates new SRD pdf with table of contents"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADbkoAYwA","startCursor":null,"endCursor":null}},"title":"Activity · antoniotejada/srdine"}