Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 32d331a

Browse files
authoredSep 20, 2023
Merge 74947fb into f6aca5f
2 parents f6aca5f + 74947fb commit 32d331a

File tree

3 files changed

+25
-14
lines changed

3 files changed

+25
-14
lines changed
 

‎.github/workflows/documentation.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
name: Documentation
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- uses: julia-actions/setup-julia@latest
1616
with:
1717
version: '1'
1818
- name: Install Dependencies
19-
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
19+
run: julia --project=docs --color=yes -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2020
- name: Build and Deploy
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
24-
run: julia --project=docs docs/make.jl
24+
run: julia --project=docs --color=yes docs/make.jl

‎docs/Project.toml

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
WaterModels = "7c60b362-08f4-5b14-8680-cd67a3e18348"
4+
5+
[compat]
6+
Documenter = "1"

‎docs/make.jl

+18-11
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,41 @@
1-
using Documenter, WaterModels
1+
import Documenter
2+
import WaterModels
23

3-
makedocs(
4-
modules = [WaterModels],
5-
format = Documenter.HTML(analytics="UA-367975-10", mathengine=Documenter.MathJax(), prettyurls=false),
4+
Documenter.makedocs(
65
sitename = "WaterModels",
76
authors = "Byron Tasseff and contributors",
7+
format = Documenter.HTML(
8+
analytics="UA-367975-10",
9+
mathengine = Documenter.MathJax(),
10+
prettyurls = false,
11+
),
812
pages = [
913
"Home" => "index.md",
1014
"Manual" => [
1115
"Getting Started" => "quickguide.md",
1216
"Network Data Format" => "network-data.md",
1317
"Result Data Format" => "result-data.md",
14-
"Mathematical Models" => "math-model.md"
18+
"Mathematical Models" => "math-model.md",
1519
],
1620
"Library" => [
1721
"Network Formulations" => "formulations.md",
1822
"Problem Specifications" => "specifications.md",
1923
"Modeling Components" => [
2024
"Objective" => "objective.md",
2125
"Variables" => "variables.md",
22-
"Constraints" => "constraints.md"
26+
"Constraints" => "constraints.md",
2327
],
24-
"File I/O" => "parser.md"
28+
"File I/O" => "parser.md",
2529
],
26-
"Developer" => "developer.md",
27-
"Examples" => "examples.md"
30+
"Devegloper" => "developer.md",
31+
"Examples" => "examples.md",
2832
],
29-
warnonly = true
33+
clean = true,
34+
modules = [WaterModels],
35+
warnonly = true,
3036
)
3137

32-
deploydocs(
38+
Documenter.deploydocs(
3339
repo = "github.com/lanl-ansi/WaterModels.jl.git",
40+
push_preview = true,
3441
)

0 commit comments

Comments
 (0)
Please sign in to comment.