-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from audreyt/main
zh<->en sync and fully automate PDF CI/CD
- Loading branch information
Showing
18 changed files
with
361 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build Book | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Generate book files | ||
run: | | ||
# Install necessary dependencies (e.g., Perl, Docker) | ||
perl scripts/make-book.pl | ||
- name: Generate book files (zh-tw) | ||
run: | | ||
perl scripts/make-book-zh-tw.pl | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: book-files | ||
path: | | ||
Plurality-english.pdf | ||
Plurality-english.epub | ||
Plurality-traditional-mandarin.pdf | ||
Plurality-traditional-mandarin.epub | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "*.pdf,*.epub" | ||
token: ${{ secrets.RELEASE_TOKEN }} | ||
tag: latest | ||
allowUpdates: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
\textbf{Finding Your Dao} | ||
**Finding Your Dao** | ||
|
||
As we discuss in the book, linear book narratives have a significant disadvantage of forcing every reader down a single learning path. While the online version avoids this through the extensive use of hyperlinks, those who hold a physical copy will find this more challenging to navigate. To partially alleviate this problem, we have structured the text in a "circular" manner, where readers can start at a variety of points, read from there and circle back to the "earlier" material at the end. | ||
|
||
We recommend in particular that: | ||
|
||
- Those with a primarily topical, political or \textbf{current affairs} interest begin at the beginning of the book, with the preface and read straight through. | ||
- Those with a primarily topical, political or **current affairs** interest begin at the beginning of the book, with the preface and read straight through. | ||
|
||
- Those with a more conceptual, theoretical or broadly \textbf{intellectual} interest consider skipping Parts 1 and 2 and beginning in Part 3 | ||
- Those with a more conceptual, theoretical or broadly **intellectual** interest consider skipping Parts 1 and 2 and beginning in Part 3. | ||
|
||
- Those with a more \textbf{technical}, technological or engineering focus consider beginning with Part 4 | ||
- Those with a more **technical**, technological or engineering focus consider beginning with Part 4. | ||
|
||
- Those with an interest in concrete technologies and their \textbf{applications} consider beginning with Part 5 | ||
- Those with an interest in concrete technologies and their **applications** consider beginning with Part 5. | ||
|
||
- Those with an interest in real-world \textbf{impact} in specific social sectors consider beginning with Part 6 | ||
- Those with an interest in real-world **impact** in specific social sectors consider beginning with Part 6. | ||
|
||
- Those with a focus on public \textbf{policy}, government and social mobilization consider beginning with Part 7 | ||
- Those with a focus on public **policy**, government and social mobilization consider beginning with Part 7. | ||
|
||
Regardless of stating point, we expect most readers who find value wherever they begin will find it worthwhile to continue reading, looping back and filling in the theoretical frameworks of "later" parts of the book with the the material that comes earlier. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.