Skip to content

Commit 55f7efd

Browse files
a few fixes for v1.0
1 parent 995181f commit 55f7efd

File tree

2 files changed

+13
-25
lines changed

2 files changed

+13
-25
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
55

66
pages = [
77
"Home" => "index.md",
8+
"interface.md",
89
"api.md",
910
]
1011

@@ -18,6 +19,6 @@ makedocs(modules = [SciMLStructures],
1819
warnonly = [:missing_docs],
1920
format = Documenter.HTML(assets = ["assets/favicon.ico"],
2021
canonical = "https://docs.sciml.ai/SciMLStructures/stable/"),
21-
pages = ["index.md"])
22+
pages = pages)
2223

2324
deploydocs(repo = "github.com/SciML/SciMLStructures.jl"; push_preview = true)

docs/src/index.md

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -70,32 +70,19 @@ Pkg.status(; mode = PKGMODE_MANIFEST) # hide
7070
</details>
7171
```
7272

73-
```@raw html
74-
You can also download the
75-
<a href="
76-
```
77-
7873
```@eval
7974
using TOML
75+
using Markdown
8076
version = TOML.parse(read("../../Project.toml", String))["version"]
8177
name = TOML.parse(read("../../Project.toml", String))["name"]
82-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
83-
"/assets/Manifest.toml"
84-
```
85-
86-
```@raw html
87-
">manifest</a> file and the
88-
<a href="
89-
```
90-
91-
```@eval
92-
using TOML
93-
version = TOML.parse(read("../../Project.toml", String))["version"]
94-
name = TOML.parse(read("../../Project.toml", String))["name"]
95-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
96-
"/assets/Project.toml"
97-
```
98-
99-
```@raw html
100-
">project</a> file.
78+
link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
79+
"/assets/Manifest.toml"
80+
link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
81+
"/assets/Project.toml"
82+
Markdown.parse("""You can also download the
83+
[manifest]($link_manifest)
84+
file and the
85+
[project]($link_project)
86+
file.
87+
""")
10188
```

0 commit comments

Comments
 (0)