-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Naive documentation first implementation
- Loading branch information
1 parent
19c4de7
commit 8c8a60d
Showing
5 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- documentation # update to match your development branch (master, main, dev, trunk, ...) | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: write | ||
statuses: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1.6' | ||
- name: Install dependencies | ||
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | ||
- name: Build and deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | ||
run: julia --project=docs/ docs/make.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Adding the package src to the load path | ||
push!(LOAD_PATH,"../src/") | ||
|
||
using Documenter, OrbitalElements | ||
|
||
makedocs(sitename = "OrbitalElements.jl", | ||
pages=[ | ||
"Home" => "index.md", | ||
"Functions" => "functions.md" | ||
], | ||
format = Documenter.HTML(prettyurls=false)) | ||
deploydocs(repo="github.com/michael-petersen/OrbitalElements.jl") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
# Systems | ||
|
||
## Potentials | ||
```@docs | ||
OrbitalElements.dψMestel | ||
``` | ||
|
||
## Distribution functions | ||
```@docs | ||
OrbitalElements.Miyamoto_DF | ||
OrbitalElements.IsoDiscKal_DF | ||
OrbitalElements.IsoDiscPLB_ndDFdJ | ||
OrbitalElements.ZangOuterTaperdL | ||
``` | ||
|
||
# Changes of coordinates | ||
```@docs | ||
OrbitalElements.Ω1circular | ||
OrbitalElements.EFromAE | ||
OrbitalElements.ELFromAE | ||
OrbitalElements.ComputeActionsAE | ||
OrbitalElements.FrequenciesFromαβ | ||
OrbitalElements.Getϖ | ||
OrbitalElements.FindVbound | ||
OrbitalElements.RcircFromΩ2circ | ||
``` | ||
|
||
## Isochrone specific functions | ||
```@docs | ||
OrbitalElements.IsochroneβAE | ||
``` | ||
|
||
## Plummer specific functions | ||
```@docs | ||
OrbitalElements.dΘRpRaPlummer | ||
OrbitalElements.PlummerELFromSpSa | ||
``` | ||
|
||
# Utility functions | ||
```@docs | ||
OrbitalElements.NonAsciiHandle | ||
OrbitalElements.GetResLinesJL | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# OrbitalElements.jl | ||
|
||
*Galactic dynamics orbits in Julia* | ||
|