diff --git a/.github/workflows/check_pull_requests_for_deploy.yml b/.github/workflows/check_pull_requests_for_deploy.yml new file mode 100644 index 0000000..fbb7716 --- /dev/null +++ b/.github/workflows/check_pull_requests_for_deploy.yml @@ -0,0 +1,32 @@ +# Used rhodyprog4ds repository as a template for setting up the publish file +# Test pull requests without pushing + +name: test-build + +on: + pull_request: + branches: [ main ] + + +jobs: + deploy-book: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + # Install dependencies + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + + - name: Install dependencies + run: | + pip install -r requirements.txt + + # Build book + - name: Build the book + run: | + jupyter-book build . --builder pdfhtml + mv _build/pdf/book.pdf _build/html/coursemanual.pdf + jupyter-book build -n -W --keep-going . diff --git a/_config.yml b/_config.yml index d7f8057..5215431 100644 --- a/_config.yml +++ b/_config.yml @@ -24,7 +24,7 @@ latex: latex_documents: targetname: book.tex -exclude_patterns : ['_data/*', README.md, ignore/*, */README.md] # Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb") +exclude_patterns : ['_data/*', README.md, ignore/*] # Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb") ####################################################################################### # Execution settings diff --git a/index.md b/index.md index f6abf3c..e81b88e 100644 --- a/index.md +++ b/index.md @@ -6,7 +6,7 @@ work. The goal of this course is to help you understand how your computer and pr environment work so that you can debug and learn independently more confident. -## Quck Facts +## Quick Facts - **Course time:** Spring 2022, TuTh 12:30PM - 1:45PM - **Credits:** 4 diff --git a/resources/references.md b/resources/references.md index 4214b4b..0f4b833 100644 --- a/resources/references.md +++ b/resources/references.md @@ -9,7 +9,6 @@ Level 3 is an in-depth explanation of the topic. History of Computers -------------------- - ```{list-table} :header-rows: 1 @@ -37,7 +36,6 @@ History of Computers Tools of the Craft ------------------ - ```{list-table} :header-rows: 1 * - Resource