1. One or more non-transitory computer-readable storage media having instructions stored thereon for generating a documentary of a source document, which, when executed by one or more processors of a computing device cause the computing device to perform actions comprising: receiving the source document, wherein the source document includes source content; determining a source document structure based on an automated analysis of a table of contents (ToC) of the source document, wherein determining the source document structure includes determining a plurality of hierarchical structures of the source content and an arrangement order of the plurality of hierarchical structures of the source content; segmenting the source content into a plurality of hierarchical slices based on the source document structure, wherein each of the plurality of hierarchical structures of the source content is included in one or more of the plurality of hierarchical slices and each of the plurality of hierarchical slices includes at least a rank and an index, wherein the rank represents a level of depth in the determined plurality of hierarchical structures and the index represents an ordered position in the determined arrangement order of the plurality of hierarchical structures; generating a coding map that provides a map between the rank of each of the plurality of hierarchical slices, the index of each of the plurality of hierarchical slices, and a logical location of a portion of the source content corresponding to the hierarchical slice; generating one or more presentation slides for each of the plurality of hierarchical slices based on the coding map; populating each of the one or more presentation slides for each of the plurality of hierarchical slices with the portion of the source content corresponding to the hierarchical slice based on at least the rank and the index of each of the plurality of hierarchical slices; and generating a target document that includes at least a portion of the populated one or more presentation slides for each of the plurality of hierarchical slices, wherein the target document includes the documentary of the source document.