Skip to content

Commit 38255cf

Browse files
authored
Merge pull request #146 from JuliaDebug/sp/softscope
fix: soft scoping for REPL
2 parents 0fe1590 + c9d1b16 commit 38255cf

File tree

155 files changed

+1115
-927
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+1115
-927
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# introduced runic formatting
2+
09aa09726daa117fbdc89614cf8b19ecec2457a

.github/workflows/CI.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,5 @@ jobs:
1717
- uses: julia-actions/install-juliaup@v2
1818
with:
1919
channel: ${{matrix.channel}}
20-
- uses: actions/cache@v4
21-
env:
22-
cache-name: cache-artifacts
23-
with:
24-
path: ~/.julia/artifacts
25-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
26-
restore-keys: |
27-
${{ runner.os }}-test-${{ env.cache-name }}-
28-
${{ runner.os }}-test-
29-
${{ runner.os }}-
30-
- uses: julia-actions/julia-buildpkg@v1
20+
- uses: julia-actions/cache@v2
3121
- uses: julia-actions/julia-runtest@v1

.github/workflows/runic.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Runic formatting
2+
on:
3+
push:
4+
branches:
5+
- 'master'
6+
- 'release-'
7+
tags:
8+
- '*'
9+
pull_request:
10+
jobs:
11+
runic:
12+
name: Runic
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: fredrikekre/runic-action@v1
17+
with:
18+
version: '1'

docs/make.jl

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
using Documenter, Infiltrator
22

33
open(joinpath(@__DIR__, "src", "index.md"), "w") do io
4-
println(io, """
5-
```@raw html
6-
<div align="center">
7-
<picture>
8-
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg">
9-
<source media="(prefers-color-scheme: light)" srcset="assets/logo.svg">
10-
<img alt="Infiltrator Logo" src="assets/logo.svg" width="150px">
11-
</picture>
12-
</div>
13-
```
14-
""")
4+
println(
5+
io, """
6+
```@raw html
7+
<div align="center">
8+
<picture>
9+
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg">
10+
<source media="(prefers-color-scheme: light)" srcset="assets/logo.svg">
11+
<img alt="Infiltrator Logo" src="assets/logo.svg" width="150px">
12+
</picture>
13+
</div>
14+
```
15+
"""
16+
)
1517
for line in readlines(joinpath(@__DIR__, "..", "README.md"))
1618
startswith(line, r"\s*<") && continue
1719
println(io, line)
1820
end
1921
end
2022

2123
makedocs(;
22-
modules=[Infiltrator],
24+
modules = [Infiltrator],
2325
warnonly = [:missing_docs, :linkcheck],
24-
format=Documenter.HTML(
26+
format = Documenter.HTML(
2527
prettyurls = get(ENV, "CI", nothing) == "true",
2628
assets = ["assets/favicon.ico"],
2729
),
28-
repo="https://github.com/JuliaDebug/Infiltrator.jl/blob/{commit}{path}#L{line}",
29-
sitename="Infiltrator.jl",
30+
repo = "https://github.com/JuliaDebug/Infiltrator.jl/blob/{commit}{path}#L{line}",
31+
sitename = "Infiltrator.jl",
3032
authors = "Sebastian Pfitzner"
3133
)
3234

3335
if get(ENV, "CI", nothing) == "true"
3436
deploydocs(;
35-
repo="github.com/JuliaDebug/Infiltrator.jl",
37+
repo = "github.com/JuliaDebug/Infiltrator.jl",
3638
push_preview = true
3739
)
3840
end

0 commit comments

Comments
 (0)