diff --git a/.github/workflows/generate_notebooks.yml b/.github/workflows/generate_notebooks.yml index 8dbc84e..a2e1b4c 100644 --- a/.github/workflows/generate_notebooks.yml +++ b/.github/workflows/generate_notebooks.yml @@ -100,8 +100,6 @@ jobs: added to the parent pull request, \#${{ github.event.pull_request.number }}. delete-branch: true - add-paths: | - **/notebook.md - name: Post comment flagging further action required if: steps.spawn_pr.outputs.pull-request-operation == 'created' diff --git a/NotebookManagementTools/src/generate.jl b/NotebookManagementTools/src/generate.jl index 5ba4aac..df8efe3 100644 --- a/NotebookManagementTools/src/generate.jl +++ b/NotebookManagementTools/src/generate.jl @@ -59,8 +59,9 @@ function generate( # fencing: literate_config = "codefence" => Pair("````@julia", "````" ) - # Note the use of '$ ⋯ ' to interpolate into a Julia command. Naive use of - # $ doesn't work. + # Note the use of '$ ⋯ ' to interpolate into a Julia code execution block. Naive use + # of $ doesn't work. + cmd = `julia --startup-file=no --color=yes @@ -92,13 +93,14 @@ function generate( using Literate if '$testing' + @info "Testing '$name'." @testset "'$name'" begin include("'$test_file'") @test true end end - @info "Generating markdown for '$name'... " + @info "Generating markdown for '$name'." Literate.markdown( "'$script_file'", diff --git a/docs/src/notebooks/MLJTutorial/99_solution_to_exercises/notebook.jl b/docs/src/notebooks/MLJTutorial/99_solution_to_exercises/notebook.jl index c089477..237fb8f 100644 --- a/docs/src/notebooks/MLJTutorial/99_solution_to_exercises/notebook.jl +++ b/docs/src/notebooks/MLJTutorial/99_solution_to_exercises/notebook.jl @@ -70,7 +70,7 @@ scitype(v[1:2]) # #### Exercise 2 solution -# From the question statement: +# From the question statement, we have: quality = ["good", "poor", "poor", "excellent", missing, "good", "excellent"]