add CI action; rm stale files
50
.github/workflows/quarto.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Quarto Publish to gh-pages
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push events but only for the "master" branch
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# setup Quarto
|
||||
- uses: quarto-dev/quarto-actions/setup@v2
|
||||
|
||||
# setup Python / Jupyter
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||
- run: pip install jupyter
|
||||
|
||||
# setup Julia
|
||||
- uses: julia-actions/setup-julia@v1
|
||||
- run: julia --project -e 'using Pkg; Pkg.instantiate()'
|
||||
|
||||
# setup R
|
||||
- uses: r-lib/actions/setup-r@v2
|
||||
|
||||
# render and push to the gh-pages branch
|
||||
- name: Publish to GitHub Pages (and render)
|
||||
uses: quarto-dev/quarto-actions/publish@v2
|
||||
with:
|
||||
target: gh-pages
|
||||
path: quarto
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions
|
||||
|
@ -1,7 +1,7 @@
|
||||
name = "CalculusWithJuliaNotes"
|
||||
uuid = "8cd3c377-0a30-4ec5-b85a-75291d749efe"
|
||||
authors = ["jverzani <jverzani@gmail.com> and contributors"]
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
|
||||
[compat]
|
||||
julia = "1"
|
||||
|
1
quarto/.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
/.quarto/
|
||||
/_book/
|
||||
/_freeze/
|
||||
/*/*_files/
|
||||
/*/*.ipynb/
|
@ -30,14 +30,44 @@ To compile the pages through quarto
|
||||
* should also push project to github
|
||||
* no need to push `_freeze` the repo, as files are locally rendered for now.
|
||||
|
||||
* XXX to get `PlotlyLight` to work the plotly library needs loading **before** require.min.js. This is accomplished by **editing** the .html file and moving up this line:
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.11.0.min.js"></script>
|
||||
|
||||
This can be done with this commandline call: julia adjust_plotly.jl
|
||||
|
||||
* This error
|
||||
> fatal: 'gh-pages' is already checked out at '/Users/verzani/julia/CalculusWithJuliaNotes/quarto/f5611730'
|
||||
|
||||
was solved with (https://waylonwalker.com/til/git-checkout-worktree/)
|
||||
|
||||
> git worktree remove f5611730
|
||||
|
||||
|
||||
# ------
|
||||
|
||||
In summary, there are two steps
|
||||
|
||||
```
|
||||
quarto render
|
||||
```
|
||||
|
||||
Preview output in `_book/index.html`. If okay to publish:
|
||||
|
||||
|
||||
```
|
||||
julia adjust_plotly.jl
|
||||
quarto publish gh-pages --no-render
|
||||
```
|
||||
|
||||
Then one should:
|
||||
|
||||
* push changes to origin
|
||||
* merge into main
|
||||
* branch to new version
|
||||
* pull origin to merge
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
@ -46,7 +76,7 @@ Eventually, if this workflow seems to be settled:
|
||||
* deprecate .jmd files
|
||||
* deprecate need to make "pluto friendly"
|
||||
DONE? * do something with JSXGraph
|
||||
* figure out why PlotlyLight doesn't work
|
||||
DONE * figure out why PlotlyLight doesn't work XXX hacky!
|
||||
* move to not use CalculusWithJulia.WeaveSupport
|
||||
DONE * use an include file not the "hack" in jmd2qmd
|
||||
* modify sympy's show method
|
||||
|
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 76 KiB |
15
quarto/_freeze/ODEs/euler/execute-results/html.json
Normal file
106
quarto/_freeze/ODEs/euler/figure-html/cell-10-output-1.svg
Normal file
After Width: | Height: | Size: 20 KiB |
110
quarto/_freeze/ODEs/euler/figure-html/cell-13-output-1.svg
Normal file
After Width: | Height: | Size: 20 KiB |
110
quarto/_freeze/ODEs/euler/figure-html/cell-16-output-1.svg
Normal file
After Width: | Height: | Size: 22 KiB |
689
quarto/_freeze/ODEs/euler/figure-html/cell-19-output-1.svg
Normal file
After Width: | Height: | Size: 56 KiB |
107
quarto/_freeze/ODEs/euler/figure-html/cell-24-output-1.svg
Normal file
After Width: | Height: | Size: 24 KiB |
698
quarto/_freeze/ODEs/euler/figure-html/cell-25-output-1.svg
Normal file
After Width: | Height: | Size: 64 KiB |
122
quarto/_freeze/ODEs/euler/figure-html/cell-26-output-1.svg
Normal file
After Width: | Height: | Size: 27 KiB |
695
quarto/_freeze/ODEs/euler/figure-html/cell-27-output-1.svg
Normal file
After Width: | Height: | Size: 62 KiB |
110
quarto/_freeze/ODEs/euler/figure-html/cell-29-output-1.svg
Normal file
After Width: | Height: | Size: 19 KiB |
186
quarto/_freeze/ODEs/euler/figure-html/cell-30-output-1.svg
Normal file
After Width: | Height: | Size: 32 KiB |
687
quarto/_freeze/ODEs/euler/figure-html/cell-7-output-1.svg
Normal file
After Width: | Height: | Size: 58 KiB |
15
quarto/_freeze/ODEs/odes/execute-results/html.json
Normal file
109
quarto/_freeze/ODEs/odes/figure-html/cell-27-output-1.svg
Normal file
After Width: | Height: | Size: 23 KiB |
679
quarto/_freeze/ODEs/odes/figure-html/cell-29-output-1.svg
Normal file
After Width: | Height: | Size: 57 KiB |
734
quarto/_freeze/ODEs/odes/figure-html/cell-30-output-1.svg
Normal file
After Width: | Height: | Size: 64 KiB |
134
quarto/_freeze/ODEs/odes/figure-html/cell-5-output-1.svg
Normal file
After Width: | Height: | Size: 22 KiB |
11
quarto/_freeze/ODEs/solve/execute-results/html.json
Normal file
196
quarto/_freeze/ODEs/solve/figure-html/cell-10-output-1.svg
Normal file
After Width: | Height: | Size: 54 KiB |
182
quarto/_freeze/ODEs/solve/figure-html/cell-11-output-1.svg
Normal file
After Width: | Height: | Size: 52 KiB |
116
quarto/_freeze/ODEs/solve/figure-html/cell-13-output-1.svg
Normal file
After Width: | Height: | Size: 45 KiB |
1564
quarto/_freeze/ODEs/solve/figure-html/cell-14-output-1.svg
Normal file
After Width: | Height: | Size: 260 KiB |
130
quarto/_freeze/ODEs/solve/figure-html/cell-9-output-1.svg
Normal file
After Width: | Height: | Size: 44 KiB |
11
quarto/_freeze/alternatives/SciML/execute-results/html.json
Normal file
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 154 KiB |
After Width: | Height: | Size: 181 KiB |
After Width: | Height: | Size: 140 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 165 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 172 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 200 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 20 KiB |