Skip to content

Commit dbf0262

Browse files
committed
Initially loaded the "Java Basics" book source code into the Mongolian translation repo
0 parents  commit dbf0262

File tree

644 files changed

+10790
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

644 files changed

+10790
-0
lines changed

.bookignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Ignore the "resources" folder (it holds files, which are not part of the book assets)
2+
resources/*
3+
4+
# Ignore files, which are not part of the final output
5+
.gitignore
6+
.bookignore
7+
*.cmd
8+
ISSUE_TEMPLATE.md
9+
LICENSE.md
10+
cover.jpg
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Gitbook Build & Deploy to gh-pages
2+
3+
on: [workflow_dispatch]
4+
5+
jobs:
6+
build-and-publish:
7+
name: Build and Deploy Gitbook
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the source code from GitHub
11+
uses: actions/checkout@v2
12+
with: { fetch-depth: 0 }
13+
- name: Install Node.js (version 10, not higher!)
14+
uses: actions/setup-node@v2
15+
with: { node-version: '10' }
16+
- name: Install Gitbook CLI client (gitbook-cli)
17+
run: npm install -g gitbook-cli
18+
- name: Install Gitbook plugins (git install)
19+
run: gitbook install
20+
- name: Build the book to the `_book` folder (git build)
21+
run: gitbook build . --log=debug --debug
22+
- name: Checkout the `gh-pages` branch into the `_gh-pages` folder
23+
run: git worktree add ./_gh-pages gh-pages
24+
- name: Copy the compiled book files to `_gh-pages`
25+
run: cp -R ./_book/* ./_gh-pages
26+
- name: Commit and push the changed book files in the `gh-pages` branch
27+
run: |
28+
cd _gh-pages
29+
git add .
30+
git status
31+
git config --local user.name "github-actions-gitbook-bot"
32+
git config --local user.email "github-actions-gitbook-bot@users.noreply.github.com"
33+
git commit -m "Book web site deployment"
34+
git push

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
2+
.grunt
3+
4+
## Dependency directory (npm)
5+
node_modules
6+
7+
# Book build output
8+
_book
9+
10+
# eBook build output
11+
*.epub
12+
*.mobi
13+
*.pdf
14+
15+
**/*.DS_Store
16+
17+
# VScode
18+
.vscode/*
19+
!.vscode/settings.json
20+
!.vscode/tasks.json
21+
!.vscode/launch.json
22+
!.vscode/extensions.json
23+
/resources/Prepress-Scripts/Prepress-Book-in-MS-Word/obj
24+
/resources/Prepress-Scripts/Prepress-Book-in-MS-Word/.vs
25+
/resources/Prepress-Scripts/Prepress-Book-in-MS-Word/bin
26+
27+
# PyCharm
28+
.idea/*
29+
30+
# GitHub Pages deployment folder
31+
_gh-pages

ISSUE_TEMPLATE.md

Lines changed: 7 additions & 0 deletions

LICENSE.md

Lines changed: 1 addition & 0 deletions

README.md

Lines changed: 67 additions & 0 deletions

SUMMARY.md

Lines changed: 29 additions & 0 deletions
42.3 KB

assets/alert-icon.png

2.86 KB
4.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)