Skip to content

Commit 6d42f6a

Browse files
committed
Reworking files structure to make ebook work
Some more files tweaking is needed to allow correct generation of pdf and ebooks.
1 parent 54cae34 commit 6d42f6a

15 files changed

+99
-99
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
source 'https://rubygems.org'
22

33
gem 'rake'
4-
gem 'asciidoctor', '1.5.0'
4+
gem 'asciidoctor', :git => 'https://github.com/asciidoctor/asciidoctor'
55

66
gem 'json'
77
gem 'awesome_print'
88

9-
gem 'asciidoctor-epub3', '1.0.0.alpha.2'
10-
gem 'asciidoctor-pdf', '1.5.0.alpha.5'
9+
gem 'asciidoctor-epub3', :git => 'https://github.com/asciidoctor/asciidoctor-epub3'
10+
gem 'asciidoctor-pdf', '1.5.0.alpha.16'
1111

1212
gem 'coderay'
1313
gem 'pygments.rb'

book/08-customizing-git/1-customizing-git.asc renamed to _customizing_git.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ So far, we've covered the basics of how Git works and how to use it, and we've i
55
In this chapter, we'll see how you can make Git operate in a more customized fashion, by introducing several important configuration settings and the hooks system.
66
With these tools, it's easy to get Git to work exactly the way you, your company, or your group needs it to.
77

8-
include::sections/config.asc[]
8+
include::book/08-customizing-git/sections/config.asc[]
99

10-
include::sections/attributes.asc[]
10+
include::book/08-customizing-git/sections/attributes.asc[]
1111

12-
include::sections/hooks.asc[]
12+
include::book/08-customizing-git/sections/hooks.asc[]
1313

14-
include::sections/policy.asc[]
14+
include::book/08-customizing-git/sections/policy.asc[]
1515

1616
=== Summary
1717

book/05-distributed-git/1-distributed-git.asc renamed to _distributed_git.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Now that you have a remote Git repository set up as a focal point for all the de
77
In this chapter, you'll see how to work with Git in a distributed environment as a contributor and an integrator.
88
That is, you'll learn how to contribute code successfully to a project and make it as easy on you and the project maintainer as possible, and also how to maintain a project successfully with a number of developers contributing.
99

10-
include::sections/distributed-workflows.asc[]
10+
include::book/05-distributed-git/sections/distributed-workflows.asc[]
1111

12-
include::sections/contributing.asc[]
12+
include::book/05-distributed-git/sections/contributing.asc[]
1313

14-
include::sections/maintaining.asc[]
14+
include::book/05-distributed-git/sections/maintaining.asc[]
1515

1616
=== Summary
1717

book/B-embedding-git/1-embedding-git.asc renamed to _embedding_git_in_your_applications.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Even non-developer applications, such as document editors, could potentially ben
77

88
If you need to integrate Git with your application, you have essentially three choices: spawning a shell and using the Git command-line tool; Libgit2; and JGit.
99

10-
include::sections/command-line.asc[]
10+
include::book/B-embedding-git/sections/command-line.asc[]
1111

12-
include::sections/libgit2.asc[]
12+
include::book/B-embedding-git/sections/libgit2.asc[]
1313

14-
include::sections/jgit.asc[]
14+
include::book/B-embedding-git/sections/jgit.asc[]

book/01-introduction/1-introduction.asc renamed to _getting_started.asc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ This chapter will be about getting started with Git.
55
We will begin by explaining some background on version control tools, then move on to how to get Git running on your system and finally how to get it set up to start working with.
66
At the end of this chapter you should understand why Git is around, why you should use it and you should be all set up to do so.
77

8-
include::sections/about-version-control.asc[]
8+
include::book/01-introduction/sections/about-version-control.asc[]
99

10-
include::sections/history.asc[]
10+
include::book/01-introduction/sections/history.asc[]
1111

12-
include::sections/basics.asc[]
12+
include::book/01-introduction/sections/basics.asc[]
1313

14-
include::sections/command-line.asc[]
14+
include::book/01-introduction/sections/command-line.asc[]
1515

16-
include::sections/installing.asc[]
16+
include::book/01-introduction/sections/installing.asc[]
1717

18-
include::sections/first-time-setup.asc[]
18+
include::book/01-introduction/sections/first-time-setup.asc[]
1919

20-
include::sections/help.asc[]
20+
include::book/01-introduction/sections/help.asc[]
2121

2222
=== Summary
2323

book/09-git-and-other-scms/1-git-and-other-scms.asc renamed to _git_and_other_scms.asc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Git provides such a nice experience for developers that many people have figured
1616
There are a number of these adapters, called ``bridges,'' available.
1717
Here we'll cover the ones you're most likely to run into in the wild.
1818

19-
include::sections/client-svn.asc[]
19+
include::book/09-git-and-other-scms/sections/client-svn.asc[]
2020

21-
include::sections/client-hg.asc[]
21+
include::book/09-git-and-other-scms/sections/client-hg.asc[]
2222

23-
include::sections/client-bzr.asc[]
23+
include::book/09-git-and-other-scms/sections/client-bzr.asc[]
2424

25-
include::sections/client-p4.asc[]
25+
include::book/09-git-and-other-scms/sections/client-p4.asc[]
2626

27-
include::sections/client-tfs.asc[]
27+
include::book/09-git-and-other-scms/sections/client-tfs.asc[]
2828

2929
[[_migrating]]
3030
=== Migrating to Git
@@ -34,17 +34,17 @@ If you have an existing codebase in another VCS but you've decided to start usin
3434
This section goes over some importers for common systems, and then demonstrates how to develop your own custom importer.
3535
You'll learn how to import data from several of the bigger professionally used SCM systems, because they make up the majority of users who are switching, and because high-quality tools for them are easy to come by.
3636

37-
include::sections/import-svn.asc[]
37+
include::book/09-git-and-other-scms/sections/import-svn.asc[]
3838

39-
include::sections/import-hg.asc[]
39+
include::book/09-git-and-other-scms/sections/import-hg.asc[]
4040

41-
include::sections/import-bzr.asc[]
41+
include::book/09-git-and-other-scms/sections/import-bzr.asc[]
4242

43-
include::sections/import-p4.asc[]
43+
include::book/09-git-and-other-scms/sections/import-p4.asc[]
4444

45-
include::sections/import-tfs.asc[]
45+
include::book/09-git-and-other-scms/sections/import-tfs.asc[]
4646

47-
include::sections/import-custom.asc[]
47+
include::book/09-git-and-other-scms/sections/import-custom.asc[]
4848

4949
=== Summary
5050

book/02-git-basics/1-git-basics.asc renamed to _git_basics_chapter.asc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ This chapter covers every basic command you need to do the vast majority of the
66
By the end of the chapter, you should be able to configure and initialize a repository, begin and stop tracking files, and stage and commit changes.
77
We'll also show you how to set up Git to ignore certain files and file patterns, how to undo mistakes quickly and easily, how to browse the history of your project and view changes between commits, and how to push and pull from remote repositories.
88

9-
include::sections/getting-a-repository.asc[]
9+
include::book/02-git-basics/sections/getting-a-repository.asc[]
1010

11-
include::sections/recording-changes.asc[]
11+
include::book/02-git-basics/sections/recording-changes.asc[]
1212

13-
include::sections/viewing-history.asc[]
13+
include::book/02-git-basics/sections/viewing-history.asc[]
1414

15-
include::sections/undoing.asc[]
15+
include::book/02-git-basics/sections/undoing.asc[]
1616

17-
include::sections/remotes.asc[]
17+
include::book/02-git-basics/sections/remotes.asc[]
1818

19-
include::sections/tagging.asc[]
19+
include::book/02-git-basics/sections/tagging.asc[]
2020

21-
include::sections/aliases.asc[]
21+
include::book/02-git-basics/sections/aliases.asc[]
2222

2323
=== Summary
2424

book/03-git-branching/1-git-branching.asc renamed to _git_branching.asc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ The way Git branches is incredibly lightweight, making branching operations near
1212
Unlike many other VCSs, Git encourages workflows that branch and merge often, even multiple times in a day.
1313
Understanding and mastering this feature gives you a powerful and unique tool and can entirely change the way that you develop.
1414

15-
include::sections/nutshell.asc[]
15+
include::book/03-git-branching/sections/nutshell.asc[]
1616

17-
include::sections/basic-branching-and-merging.asc[]
17+
include::book/03-git-branching/sections/basic-branching-and-merging.asc[]
1818

19-
include::sections/branch-management.asc[]
19+
include::book/03-git-branching/sections/branch-management.asc[]
2020

21-
include::sections/workflows.asc[]
21+
include::book/03-git-branching/sections/workflows.asc[]
2222

23-
include::sections/remote-branches.asc[]
23+
include::book/03-git-branching/sections/remote-branches.asc[]
2424

25-
include::sections/rebasing.asc[]
25+
include::book/03-git-branching/sections/rebasing.asc[]
2626

2727
=== Summary
2828

File renamed without changes.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ You can work with local files, connect your repository to others over a network,
77
But the story doesn't end there; Git is usually used as part of a larger ecosystem, and the terminal isn't always the best way to work with it.
88
Now we'll take a look at some of the other kinds of environments where Git can be useful, and how other applications (including yours) work alongside Git.
99

10-
include::sections/guis.asc[]
10+
include::book/A-git-in-other-environments/sections/guis.asc[]
1111

12-
include::sections/visualstudio.asc[]
12+
include::book/A-git-in-other-environments/sections/visualstudio.asc[]
1313

14-
include::sections/eclipse.asc[]
14+
include::book/A-git-in-other-environments/sections/eclipse.asc[]
1515

1616

17-
include::sections/bash.asc[]
17+
include::book/A-git-in-other-environments/sections/bash.asc[]
1818

19-
include::sections/zsh.asc[]
19+
include::book/A-git-in-other-environments/sections/zsh.asc[]
2020

21-
include::sections/powershell.asc[]
21+
include::book/A-git-in-other-environments/sections/powershell.asc[]
2222

2323
=== Summary
2424

0 commit comments

Comments
 (0)