Skip to content

Commit 98fb82c

Browse files
authored
Restructure to allow multiple languages (#22)
1 parent fa5a94a commit 98fb82c

33 files changed

+17
-5
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,21 @@ Creating a pull request is described in
1111

1212
### File Location/Types
1313

14-
### [`content`](./content)
14+
### [`ebook`](./ebook)
1515

16-
All the Markdown files for the 'Introduction to Bash Scripting' guide are located within the [`content`](./content) directory.
16+
This directory holds all of the translations of the eBook.
17+
18+
### [`ebook/{LANG}`](./ebook/{LANG})
19+
20+
In the `ebook` directory we have the translations of the eBook in different languages.
21+
22+
If you are adding a new translation, make sure to make a copy of the `./ebook/en` directory and use the language code as the new directory name.
23+
24+
### [`ebook/{LANG}/content`](./ebook/{LANG}/content)
25+
26+
All the Markdown files for the 'Introduction to Bash Scripting' guide are located within the [`content`](./content) directory for the specific language.
27+
28+
For example if you are adding a Bulgarian transaltion copy the `./ebook/en` folder to `./ebook/bg`, translate the `.md` files in the `content` directory and submit a PR.
1729

1830
### PDF Generation
1931

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The guide is suitable for anyone working as a developer, system administrator, o
2020

2121
To download a copy of the ebook use one of the following links:
2222

23-
* [Dark mode](https://github.com/bobbyiliev/introduction-to-bash-scripting/raw/main/export/introduction-to-bash-scripting-dark.pdf)
23+
* [Dark mode](https://github.com/bobbyiliev/introduction-to-bash-scripting/raw/main/ebook/en/export/introduction-to-bash-scripting-dark.pdf)
2424

25-
* [Light mode](https://github.com/bobbyiliev/introduction-to-bash-scripting/raw/main/export/introduction-to-bash-scripting-light.pdf)
25+
* [Light mode](https://github.com/bobbyiliev/introduction-to-bash-scripting/raw/main/ebook/en/export/introduction-to-bash-scripting-light.pdf)
2626

2727
## 📘 Chapters
2828

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

content/000-about-the-author.md renamed to ebook/en/content/000-about-the-author.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# About the book
22

3-
* **This version was published on Jan 31 2021**
3+
* **This version was published on Feb 01 2021**
44

55
This is an open-source introduction to Bash scripting guide that will help you learn the basics of Bash scripting and start writing awesome Bash scripts that will help you automate your daily SysOps, DevOps, and Dev tasks. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you can use Bash scripts to combine different Linux commands and automate tedious and repetitive daily tasks so that you can focus on more productive and fun things.
66

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)