From 181a7968aced730c340ff1c95c69df4dddceee81 Mon Sep 17 00:00:00 2001 From: MJ Rossetti Date: Mon, 5 Aug 2024 16:42:45 -0400 Subject: [PATCH] Attempt to fix the build --- .github/workflows/quarto-pages.yml | 8 +- docs/_quarto.yml | 247 ++++++++++++++--------------- 2 files changed, 128 insertions(+), 127 deletions(-) diff --git a/.github/workflows/quarto-pages.yml b/.github/workflows/quarto-pages.yml index 5cc1952..528ee0e 100644 --- a/.github/workflows/quarto-pages.yml +++ b/.github/workflows/quarto-pages.yml @@ -64,24 +64,26 @@ jobs: tinytex: true # uncomment below and fill to pin a version # version: SPECIFIC-QUARTO-VERSION-HERE + version: pre-release # RENDER WEBSITE CONTENTS TO DOCS/_BUILD - name: Build the book run: | quarto render docs/ - #continue-on-error: true # for diagnosing build issue related to image file # # GITHUB PAGES STUFF # + #- uses: actions/configure-pages@v5 + # UPLOAD CONTENTS OF DOCS/_BUILD - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: "docs/_build" # DEPLOY WEBSITE CONTENTS TO GITHUB PAGES - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/docs/_quarto.yml b/docs/_quarto.yml index 23da9ab..666badc 100644 --- a/docs/_quarto.yml +++ b/docs/_quarto.yml @@ -45,9 +45,8 @@ book: # - about-author.qmd # https://quarto.org/docs/websites/website-navigation.html#side-navigation - # TEMPORARY, WILL FIX GH PAGES DEPLOY? - #sidebar: - # logo: images/python-banner.jpeg + sidebar: + logo: images/python-banner.jpeg page-footer: left: | @@ -70,127 +69,127 @@ book: text: "Google Colab Notebooks" - notes/dev-tools/google-colab/pip.ipynb - - part: "Language Basics" - #href: notes/python-lang/overview.ipynb - chapters: - - href: notes/python-lang/overview.ipynb - text: "Comments, Variables, and Functions" - #- href: notes/python-lang/basic-datatypes/index.qmd - # text: "Python Datatypes Overview" - - href: notes/python-lang/python-operators.qmd - text: "Operators" - #- href: notes/python-lang/control-flow/index.qmd - # text: "Control Flow Overview" - - href: notes/python-modules/index.qmd - text: "Modules and Imports" - - - part: "Datatypes" - chapters: - - href: notes/python-lang/basic-datatypes/index.qmd - text: "Datatypes Overview" - # "Basic Datatypes" - - notes/python-lang/basic-datatypes/booleans.qmd - - notes/python-lang/basic-datatypes/numbers.qmd - - notes/python-lang/basic-datatypes/strings.qmd - #- "Container Datatypes" - - notes/python-lang/container-datatypes/lists.qmd - - notes/python-lang/container-datatypes/dictionaries.qmd - - #- part: "Basic Datatypes" - # chapters: - # - notes/python-lang/basic-datatypes/booleans.qmd - # - notes/python-lang/basic-datatypes/numbers.qmd - # - notes/python-lang/basic-datatypes/strings.qmd - - - part: "Control Flow" - #href: notes/python-lang/control-flow/index.qmd - chapters: - - href: notes/python-lang/control-flow/index.qmd - text: "Control Flow Overview" - - notes/python-lang/control-flow/conditional-logic.qmd - - notes/python-lang/control-flow/custom-functions.qmd - - notes/python-lang/control-flow/errors.qmd - - notes/python-lang/control-flow/while-loops.qmd - - #- part: "Container Datatypes" - # chapters: - # - notes/python-lang/container-datatypes/lists.qmd - # - notes/python-lang/container-datatypes/dictionaries.qmd - - - part: "Data Processing" - chapters: - - href: notes/data-processing/for-loops.qmd - text: "List Iteration and Looping" - - href: notes/data-processing/sorting.qmd - text: "List Sorting" - - href: notes/data-processing/mapping.qmd - text: "List Mapping" - - href: notes/data-processing/filtering.qmd - text: "List Filtering" - - href: notes/data-processing/list-comprehensions.qmd - text: "List Comprehensions" - - - - part: "Data Visualization" - chapters: - - href: notes/dataviz/overview.qmd - text: "Data Visualization Overview" - #- href: notes/dataviz/trendlines.qmd - # text: "Charts with Trendlines" - #- href: notes/dataviz/multiple-objects.qmd - # text: "Charts with Multiple Objects" - #- href: notes/dataviz/candlestick-charts.qmd - # text: "Candlestick Charts" - - - part: "Fetching Data from the Internet" - chapters: - - href: notes/fetching-data/overview.qmd - text: "Fetching Data Overview" - - href: notes/fetching-data/json.qmd - - href: notes/fetching-data/csv.qmd - - href: notes/fetching-data/xml.qmd - - href: notes/fetching-data/html-web-scraping.qmd - #text: "HTML Data (Web Scraping)" - - #- href: notes/fetching-data/apis.qmd - - - - - - - - - - "-----------------" - - about-author.qmd - - "-----------------" - - appendices: - - part: "Google Colab In-Depth" - chapters: - - notes/dev-tools/google-colab/table-of-contents.qmd - - notes/dev-tools/google-colab/filesystem.ipynb - - notes/dev-tools/google-colab/form-inputs.ipynb - - notes/dev-tools/google-colab/notebook-secrets.qmd - - notes/dev-tools/google-colab/advanced-integrations.ipynb - - - part: "Survey of Python Modules" - #href: notes/python-modules/index.qmd - chapters: - - notes/python-modules/math.qmd - - notes/python-modules/random.qmd - - notes/python-modules/statistics.qmd - - notes/python-modules/datetime.qmd - - - part: "Custom Functions In-Depth" - chapters: - - notes/python-lang/control-flow/function-docs.qmd - - notes/python-lang/control-flow/unit-testing.qmd - - #- part: "API Demos" - # chapters: - # - notes/fetching-data/apis/spotify-api-demo.ipynb - # - notes/fetching-data/apis/google-maps-api-demo.ipynb +# - part: "Language Basics" +# #href: notes/python-lang/overview.ipynb +# chapters: +# - href: notes/python-lang/overview.ipynb +# text: "Comments, Variables, and Functions" +# #- href: notes/python-lang/basic-datatypes/index.qmd +# # text: "Python Datatypes Overview" +# - href: notes/python-lang/python-operators.qmd +# text: "Operators" +# #- href: notes/python-lang/control-flow/index.qmd +# # text: "Control Flow Overview" +# - href: notes/python-modules/index.qmd +# text: "Modules and Imports" +# +# - part: "Datatypes" +# chapters: +# - href: notes/python-lang/basic-datatypes/index.qmd +# text: "Datatypes Overview" +# # "Basic Datatypes" +# - notes/python-lang/basic-datatypes/booleans.qmd +# - notes/python-lang/basic-datatypes/numbers.qmd +# - notes/python-lang/basic-datatypes/strings.qmd +# #- "Container Datatypes" +# - notes/python-lang/container-datatypes/lists.qmd +# - notes/python-lang/container-datatypes/dictionaries.qmd +# +# #- part: "Basic Datatypes" +# # chapters: +# # - notes/python-lang/basic-datatypes/booleans.qmd +# # - notes/python-lang/basic-datatypes/numbers.qmd +# # - notes/python-lang/basic-datatypes/strings.qmd +# +# - part: "Control Flow" +# #href: notes/python-lang/control-flow/index.qmd +# chapters: +# - href: notes/python-lang/control-flow/index.qmd +# text: "Control Flow Overview" +# - notes/python-lang/control-flow/conditional-logic.qmd +# - notes/python-lang/control-flow/custom-functions.qmd +# - notes/python-lang/control-flow/errors.qmd +# - notes/python-lang/control-flow/while-loops.qmd +# +# #- part: "Container Datatypes" +# # chapters: +# # - notes/python-lang/container-datatypes/lists.qmd +# # - notes/python-lang/container-datatypes/dictionaries.qmd +# +# - part: "Data Processing" +# chapters: +# - href: notes/data-processing/for-loops.qmd +# text: "List Iteration and Looping" +# - href: notes/data-processing/sorting.qmd +# text: "List Sorting" +# - href: notes/data-processing/mapping.qmd +# text: "List Mapping" +# - href: notes/data-processing/filtering.qmd +# text: "List Filtering" +# - href: notes/data-processing/list-comprehensions.qmd +# text: "List Comprehensions" +# +# +# - part: "Data Visualization" +# chapters: +# - href: notes/dataviz/overview.qmd +# text: "Data Visualization Overview" +# #- href: notes/dataviz/trendlines.qmd +# # text: "Charts with Trendlines" +# #- href: notes/dataviz/multiple-objects.qmd +# # text: "Charts with Multiple Objects" +# #- href: notes/dataviz/candlestick-charts.qmd +# # text: "Candlestick Charts" +# +# - part: "Fetching Data from the Internet" +# chapters: +# - href: notes/fetching-data/overview.qmd +# text: "Fetching Data Overview" +# - href: notes/fetching-data/json.qmd +# - href: notes/fetching-data/csv.qmd +# - href: notes/fetching-data/xml.qmd +# - href: notes/fetching-data/html-web-scraping.qmd +# #text: "HTML Data (Web Scraping)" +# +# #- href: notes/fetching-data/apis.qmd +# +# +# +# +# +# +# +# +# - "-----------------" +# - about-author.qmd +# - "-----------------" +# +# appendices: +# - part: "Google Colab In-Depth" +# chapters: +# - notes/dev-tools/google-colab/table-of-contents.qmd +# - notes/dev-tools/google-colab/filesystem.ipynb +# - notes/dev-tools/google-colab/form-inputs.ipynb +# - notes/dev-tools/google-colab/notebook-secrets.qmd +# - notes/dev-tools/google-colab/advanced-integrations.ipynb +# +# - part: "Survey of Python Modules" +# #href: notes/python-modules/index.qmd +# chapters: +# - notes/python-modules/math.qmd +# - notes/python-modules/random.qmd +# - notes/python-modules/statistics.qmd +# - notes/python-modules/datetime.qmd +# +# - part: "Custom Functions In-Depth" +# chapters: +# - notes/python-lang/control-flow/function-docs.qmd +# - notes/python-lang/control-flow/unit-testing.qmd +# +# #- part: "API Demos" +# # chapters: +# # - notes/fetching-data/apis/spotify-api-demo.ipynb +# # - notes/fetching-data/apis/google-maps-api-demo.ipynb