Skip to content

Commit

Permalink
Made changes for Documenter 1.0, tried to revert
Browse files Browse the repository at this point in the history
  • Loading branch information
simonp0420 committed Oct 10, 2023
1 parent dd6d624 commit 44045e3
Show file tree
Hide file tree
Showing 147 changed files with 1,189,976 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ sheet = diagstrip(P=5.2, w=0.21, units=mm, Nl=60, Nw=4, orient=45)
p1 = plot(sheet, linecolor=:red, unitcell=true)
p2 = plot(sheet, linecolor=:blue, rep=(4,3))
plot(sheet, axis=false, xlabel="", ylabel="", xtick=[], ytick=[], linecolor=:red, size=(400,400), rep=(4,4)) #src
savefig("assets/demo_diagstrip1.png") #src
savefig("assets/demo_diagstrip1.png")
plot(p1, p2, layout = (1,2), size=(800,400))
1 change: 1 addition & 0 deletions docs/PSS_&_FSS_Element_Gallery/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{{democards}}}
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
PSSFSS = "6b20a5d4-3c6c-44cd-883b-1480592d72be"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

[compat]
Documenter = "0.27.22"
2 changes: 1 addition & 1 deletion docs/literate/band_pass_filter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/band_pass_filter.jl"
EditURL = "band_pass_filter.jl"
```

## Loaded Cross Band Pass Filter
Expand Down
1 change: 1 addition & 0 deletions docs/literate/compile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ examples_list = ["symmetric_strip.jl", "resistive_square_patch.jl",

# Adds examples as subsections to the Examples page:
function replace_unknowns(str)
return str
findstr = """EditURL = "<unknown>"""
replace(str, findstr => """EditURL = "https://github.com/simonp0420/PSSFSS.jl/tree/main/docs/literate""")
end
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/cpss1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/cpss1.jl"
EditURL = "cpss1.jl"
```

## Meanderline-Based CPSS
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/cpss2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/cpss2.jl"
EditURL = "cpss2.jl"
```

## Meanderline/Strip-Based CPSS
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/cpss_optimization.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/cpss_optimization.jl"
EditURL = "cpss_optimization.jl"
```

## CPSS Optimization
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/cross_on_dielectric_substrate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/cross_on_dielectric_substrate.jl"
EditURL = "cross_on_dielectric_substrate.jl"
```

## Cross on Dielectric Substrate
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/flexible_absorber.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/flexible_absorber.jl"
EditURL = "flexible_absorber.jl"
```

## Flexible Absorber
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/reflectarray_example.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/reflectarray_example.jl"
EditURL = "reflectarray_example.jl"
```

## Reflectarray Element
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/resistive_square_patch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/resistive_square_patch.jl"
EditURL = "resistive_square_patch.jl"
```

## Resistive Square Patch
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/splitring_cpss.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/splitring_cpss.jl"
EditURL = "splitring_cpss.jl"
```

## Split Ring-Based CPSS
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/splitringexample.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/splitringexample.jl"
EditURL = "splitringexample.jl"
```

## Split-Ring Resonator
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/square_loop_absorber.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/square_loop_absorber.jl"
EditURL = "square_loop_absorber.jl"
```

## Square Loop Absorber
Expand Down
2 changes: 1 addition & 1 deletion docs/literate/symmetric_strip.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```@meta
EditURL = "<unknown>/symmetric_strip.jl"
EditURL = "symmetric_strip.jl"
```

## Symmetric Strip Grating
Expand Down
14 changes: 7 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
import Pkg
Pkg.activate(@__DIR__)

using PSSFSS
using Documenter
using DemoCards

#=
using Literate
cd("literate") do
include("literate/compile.jl")
end
=#

demopage, postprocess_cb, demo_assets = makedemos("PSS_&_FSS_Element_Gallery")
#demopage = abspath("src", demopage)
assets = String[]
isnothing(demo_assets) || (push!(assets, demo_assets))

makedocs(;
#warnonly=true,
clean=false,
modules=[PSSFSS],
authors="Peter Simon <psimon0420@gmail.com> and contributors",
repo="https://github.com/simonp0420/PSSFSS.jl/blob/{commit}{path}#L{line}",
sitename="PSSFSS.jl",
format=Documenter.HTML(;
#size_threshold=nothing,
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://simonp0420.github.io/PSSFSS.jl/stable",
assets=assets,
),
pages=[
"Home" => "index.md",
"User Manual" => "manual.md",
demopage,
"FSS & PSS Element Gallery" => demopage,
"Usage Examples" => "examples.md",
"Function Reference" => "reference.md",
"Index" => "function_index.md"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22,053 changes: 22,053 additions & 0 deletions docs/src/PSS_&_FSS_Element_Gallery/diagstrip/demo_diagstrip1.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using PSSFSS, Plots
sheet = diagstrip(P=5.2, w=0.21, units=mm, Nl=60, Nw=4, orient=45)
p1 = plot(sheet, linecolor=:red, unitcell=true)
p2 = plot(sheet, linecolor=:blue, rep=(4,3))
savefig("assets/demo_diagstrip1.png")
plot(p1, p2, layout = (1,2), size=(800,400))

# This file was generated using Literate.jl, https://github.com/fredrikekre/Literate.jl
11,025 changes: 11,025 additions & 0 deletions docs/src/PSS_&_FSS_Element_Gallery/diagstrip/demo_diagstrip1.md

Large diffs are not rendered by default.

Loading

0 comments on commit 44045e3

Please sign in to comment.