Skip to content
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

text-format file creation #1030

Open
utonsal opened this issue Apr 3, 2018 · 2 comments
Open

text-format file creation #1030

utonsal opened this issue Apr 3, 2018 · 2 comments

Comments

@utonsal
Copy link

utonsal commented Apr 3, 2018

hello,
does someone know the most appropriate way to assemble all these `.asc' file-snippets into one big file for upload on git-scm.com ?
greetings,
kalle

@jnavila
Copy link
Member

jnavila commented Apr 4, 2018

We assemble and compile the files to their target format with asciidoctor. Unfortunately, there's no pure text target for asciidoctor as described in git/git-scm.com#1189.

Concerning the idea of not having any image in the book, what's your motive? Some images are really required to understand how the graphs of revisions or objects are laid out. The accompanying description in text is really lacking details to convey the meaning.

Otherwise, assembling the files by script is quite simple, it's just a matter of recursively expanding the include macros from progit.asc. For instance in ruby, you can have a look at

https://github.com/git/git-scm.com/blob/87e50848ec8870e65fdcba4714cda4f159fd7c37/lib/tasks/book2.rake#L6-L21

@utonsal
Copy link
Author

utonsal commented Apr 11, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants