From 534891b761e4490bf67d976ab2e95cd426add355 Mon Sep 17 00:00:00 2001 From: nhz2 Date: Wed, 9 Oct 2024 17:33:02 -0400 Subject: [PATCH] Fixes for Julia 1.11 --- .github/workflows/CI.yml | 28 ++++++++++++++-------------- Project.toml | 6 ++++-- README.md | 5 +++++ src/QMDDocTools.jl | 1 + 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d997985..a437674 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,30 +16,30 @@ jobs: fail-fast: false matrix: version: - - '1.7' + - 'lts' + - '1' - 'nightly' os: - ubuntu-latest - windows-latest - - macos-latest + - macOS-13 arch: - x64 + include: + - os: macOS-14 + version: '1.10' + arch: aarch64 + - os: macOS-14 + version: '1.11' + arch: aarch64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + show-versioninfo: true + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 with: diff --git a/Project.toml b/Project.toml index f803c0b..4c34c45 100644 --- a/Project.toml +++ b/Project.toml @@ -1,13 +1,15 @@ name = "QMDDocTools" uuid = "c50e25eb-ade4-4c96-a757-2a1fd62cbd8c" authors = ["nhz2 and contributors"] -version = "1.1.1" +version = "1.1.2" [deps] DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce" [compat] DataStructures = "0.18" -julia = "1.7" +REPL = "1.7.0" +julia = "1.10" diff --git a/README.md b/README.md index 7a3ad37..84830c1 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,11 @@ An opinionated set of tools to help document large Julia packages with [Quarto]( This package doesn't aim to help integrate individual Quarto documents into an existing Documenter.jl generated site. Instead it helps integrate a Julia package's docstrings as part of a Quarto generated site. +## Warning: QMDDocTools may be incompatible with a future release of Julia. + +QMDDocTools uses a number of internal implementation details of the Julia documentation system. +These might break in a future release of Julia + ## Julia functions ```julia diff --git a/src/QMDDocTools.jl b/src/QMDDocTools.jl index 953c75e..bfda8b7 100644 --- a/src/QMDDocTools.jl +++ b/src/QMDDocTools.jl @@ -5,6 +5,7 @@ export gen_docstrings using DataStructures using Markdown using SHA +using REPL: REPL function myhash(in_text::String) # replace all non a-z A-Z 0-9 - _ and . bytes with -