Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Livro.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include::atributos-pt_BR.adoc[]
:toc: left
:toclevels: 2
:!chapter-signifier:
:front-cover-image: image:cover.jpg[fit=cover]

include::Prefacio.adoc[]

Expand Down
33 changes: 33 additions & 0 deletions como-gerar-o-livro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Gerando o livro apartir do fonte.

### Instale as dependências necessárias.

#### Ruby

###### Linux
ubuntu
`sudo apt-get install -y ruby`

arch
`sudo pacman -S ruby`

###### Mac OS

Com o [Homebrew](https://brew.sh/) instalado use o comando abaixo:

`brew install ruby`

###### Windows


Com o [Chocolatey](https://chocolatey.org/) instalado use o comando abaixo:

`choco install ruby`

##### Asciidoctor-epub3

`gem install asciidoctor-epub3`

#### Gerando livro no formato epub.

Na raiz do projeto rode o comando: `asciidoctor-epub3 livro.adoc -o 'Python Fluente - Luciano Ramalho, Segunda Edição (2023).epub'`
Binary file added cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.