You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-29Lines changed: 43 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,32 +14,6 @@ This repo is an in-development project to produce a landing page for JuliaAstro,
14
14
15
15
The rendered JuliaAstro site is published online using GitHub Pages at <https://juliaastro.org/>. A GitHub action rebuilds the site on every successful pull request.
16
16
17
-
<details>
18
-
<summary>Development details</summary>
19
-
20
-
The main bits of this documentation package are organized in the following way:
21
-
22
-
```julia
23
-
JuliaAstro.github.io
24
-
├── docs/
25
-
│ ├── case_studies/
26
-
│ ├── clones/
27
-
│ ├── make.jl
28
-
│ └── src/
29
-
│ ├── comparison.md
30
-
│ └── ecosystem.md
31
-
└── src/
32
-
├── comparison.jl
33
-
├── ecosystem.jl
34
-
└── JuliaAstroDocs.jl
35
-
```
36
-
37
-
1. All packages to document are stored in a nested NamedTuple (`ecosystem`) in `src/JuliaAstroDocs.jl`. This contains all of the metadata needed to build the rest of the site, and is the main entrypoint for making documentation contributions.
38
-
1. Using this information, the markdown in `doc/src/` for our [comparison page](https://juliaastro.org/home/comparison/) and [ecosystem page](https://juliaastro.org/home/ecosystem/) are programatically created by `src/comparison.jl` and `src/ecosystem.jl`, respectively.
39
-
1. MultiDocumenter then builds the site via `docs/make.jl`, which also pulls the documentation for each JuliaAstro package and stores it in `docs/clones/`
40
-
41
-
</details>
42
-
43
17
## Contributing
44
18
45
19
Below we walk through three main ways to contribute to the JuliaAstro site:
@@ -100,9 +74,37 @@ All in all, to add a new case study:
100
74
1. Update the content in the new file with your case study text.
101
75
1. Add an entry to `JuliaAstro.github.io/docs/case_studies/<case study category>/config.json` with your new case study filename. Note that trailing commas are not supported in the JSON spec.
102
76
103
-
## Developer docs
77
+
## Developer documentation
104
78
105
-
### Documentation
79
+
### Documentation organization
80
+
81
+
<details>
82
+
<summary>Development details</summary>
83
+
84
+
The main portions of this documentation package are organized as follows:
85
+
86
+
```julia
87
+
JuliaAstro.github.io
88
+
├── docs/
89
+
│ ├── case_studies/
90
+
│ ├── clones/
91
+
│ ├── make.jl
92
+
│ └── src/
93
+
│ ├── comparison.md
94
+
│ └── ecosystem.md
95
+
└── src/
96
+
├── comparison.jl
97
+
├── ecosystem.jl
98
+
└── JuliaAstroDocs.jl
99
+
```
100
+
101
+
1. All packages to document are stored in a nested NamedTuple (`ecosystem`) in `src/JuliaAstroDocs.jl`. This contains all of the metadata needed to build the rest of the site, and is the main entrypoint for making documentation contributions.
102
+
1. Using this information, the markdown in `doc/src/` for our [comparison page](https://juliaastro.org/home/comparison/) and [ecosystem page](https://juliaastro.org/home/ecosystem/) are programatically created by `src/comparison.jl` and `src/ecosystem.jl`, respectively.
103
+
1. MultiDocumenter then builds the site via `docs/make.jl`, which also pulls the documentation for each JuliaAstro package and stores it in `docs/clones/`
104
+
105
+
</details>
106
+
107
+
### Running locally
106
108
107
109
Add [LiveServer.jl](https://github.com/JuliaDocs/LiveServer.jl) to your global env and then run the following in the `JuliaAstro.github.io/` folder:
108
110
@@ -121,7 +123,7 @@ The `include_dirs` arg allows our internal Revise worklow to pick up changes in
121
123
122
124
See our [Contributing page](https://juliaastro.org/home/#Contributing) for more.
123
125
124
-
### Testing
126
+
### Testing locally
125
127
126
128
Run all tests:
127
129
@@ -142,3 +144,15 @@ julia> import Pkg
142
144
143
145
julia> Pkg.test("JuliaAstroDocs"; test_args=`--verbose packages_release`) # or packages_dev
144
146
```
147
+
148
+
### Continuous Integration organization
149
+
150
+
We use CI to automatically re-build and deploy our documentation, and test that all JuliaAstro packages install and are compatible with each other across supported platforms and Julia versions. We accomplish this with the following GitHub action workflows:
0 commit comments