From e8eb9ed2571843cb0bed503cee35975b54c0c55e Mon Sep 17 00:00:00 2001 From: Simon Exner Date: Tue, 24 Oct 2023 11:22:12 +0200 Subject: [PATCH] makeshift doc-action fix --- .github/workflows/Example.yml | 4 ++-- docs/Project.toml | 1 + docs/make.jl | 4 +++- examples/src/.gitignore | 3 --- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 examples/src/.gitignore diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml index 74c670ed..76ef4c34 100644 --- a/.github/workflows/Example.yml +++ b/.github/workflows/Example.yml @@ -20,7 +20,7 @@ jobs: matrix: os: [windows-latest] # , ubuntu-latest] file-name: [advanced_hybrid_ME, modelica_conference_2021, simple_hybrid_CS, simple_hybrid_ME, mdpi_2022, juliacon_2023] - julia-version: ['1.9'] + julia-version: ['1.8'] julia-arch: [x64] experimental: [false] @@ -44,7 +44,7 @@ jobs: env: FILE: examples/src/${{ matrix.file-name }}.ipynb run: | - jupyter nbconvert --ExecutePreprocessor.kernel_name="julia-1.9" --to notebook --inplace --execute ${{ env.FILE }} + jupyter nbconvert --ExecutePreprocessor.kernel_name="julia-1.8" --to notebook --inplace --execute ${{ env.FILE }} jupyter nbconvert --to script ${{ env.FILE }} jupyter nbconvert --to markdown ${{ env.FILE }} diff --git a/docs/Project.toml b/docs/Project.toml index 67a236d2..95992a34 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,5 +1,6 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +FMIFlux = "fabad875-0d53-4e47-9446-963b74cae21f" [compat] julia = "1.6" diff --git a/docs/make.jl b/docs/make.jl index 82c10390..0baea945 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -10,8 +10,10 @@ makedocs(sitename="FMIFlux.jl", format = Documenter.HTML( collapselevel = 1, sidebar_sitename = false, - edit_link = nothing + edit_link = nothing, + size_threshold_ignore = ["examples/juliacon_2023.md"] ), + warnonly=true, pages= Any[ "Introduction" => "index.md" "Examples" => [ diff --git a/examples/src/.gitignore b/examples/src/.gitignore deleted file mode 100644 index 9448d154..00000000 --- a/examples/src/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -params/ -*.png -*.gif \ No newline at end of file