Skip to content

Commit db9fe72

Browse files
committed
started
1 parent 06a3597 commit db9fe72

File tree

1 file changed

+43
-29
lines changed

1 file changed

+43
-29
lines changed

README.md

Lines changed: 43 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,6 @@ This repo is an in-development project to produce a landing page for JuliaAstro,
1414

1515
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.
1616

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-
4317
## Contributing
4418

4519
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:
10074
1. Update the content in the new file with your case study text.
10175
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.
10276

103-
## Developer docs
77+
## Developer documentation
10478

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
106108

107109
Add [LiveServer.jl](https://github.com/JuliaDocs/LiveServer.jl) to your global env and then run the following in the `JuliaAstro.github.io/` folder:
108110

@@ -121,7 +123,7 @@ The `include_dirs` arg allows our internal Revise worklow to pick up changes in
121123
122124
See our [Contributing page](https://juliaastro.org/home/#Contributing) for more.
123125

124-
### Testing
126+
### Testing locally
125127

126128
Run all tests:
127129

@@ -142,3 +144,15 @@ julia> import Pkg
142144
143145
julia> Pkg.test("JuliaAstroDocs"; test_args=`--verbose packages_release`) # or packages_dev
144146
```
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:
151+
152+
```mermaid
153+
graph TD;
154+
A-->B;
155+
A-->C;
156+
B-->D;
157+
C-->D;
158+
```

0 commit comments

Comments
 (0)