-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MultiDocumenter.jl #43
base: source
Are you sure you want to change the base?
Conversation
|
||
deploydocs(; | ||
repo = "github.com/JuliaAstro/JuliaAstro.github.io", | ||
push_preview = true, | ||
branch = "master", | ||
devbranch = "source" | ||
devbranch = "multidocumenter", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be changed back to devbranch = "source"
before merging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You read my mind. Wasn't sure how that would play with PR doc previews, but totally happy to switch it back if it looks good to you!
Wow @icweaver , this is amazing! Thank you for setting this up! |
upstream = joinpath(clonedir, "FITSIO"), | ||
path = "FITSIO", | ||
name = "FITSIO", | ||
giturl = "https://github.com/JuliaAstro/FITSIO.jl.git", | ||
), | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "CFITSIO"), | ||
path = "CFITSIO", | ||
name = "CFITSIO", | ||
giturl = "https://github.com/JuliaAstro/CFITSIO.jl.git", | ||
), | ||
MultiDocumenter.Link( | ||
"mweastwood/CasaCore", | ||
"http://mweastwood.info/CasaCore.jl/stable/", | ||
), | ||
MultiDocumenter.Link( | ||
"emmt/OIFITS", | ||
"https://github.com/emmt/OIFITS.jl", | ||
), | ||
MultiDocumenter.Link( | ||
"aplavin/VLBIData", | ||
"https://github.com/JuliaAPlavin/VLBIData.jl", | ||
), | ||
MultiDocumenter.Link( | ||
"aplavin/Difmap", | ||
"https://github.com/JuliaAPlavin/Difmap.jl", | ||
), | ||
] | ||
), | ||
MultiDocumenter.DropdownNav( | ||
"Cosmology", | ||
[ | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "Cosmology"), | ||
path = "Cosmology", | ||
name = "Cosmology", | ||
giturl = "https://github.com/JuliaAstro/Cosmology.jl.git", | ||
), | ||
] | ||
), | ||
MultiDocumenter.DropdownNav( | ||
"Orbits & Ephemerides", | ||
[ | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "Transits"), | ||
path = "Transits", | ||
name = "Transits", | ||
giturl = "https://github.com/JuliaAstro/Transits.jl.git", | ||
), | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "sefffal/PlanetOrbits"), | ||
path = "sefffal/PlanetOrbits", | ||
name = "sefffal/PlanetOrbits", | ||
giturl = "https://github.com/sefffal/PlanetOrbits.jl.git", | ||
), | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "EarthOrientation"), | ||
path = "EarthOrientation", | ||
name = "EarthOrientation", | ||
giturl = "https://github.com/JuliaAstro/EarthOrientation.jl.git", | ||
), | ||
MultiDocumenter.Link( | ||
"JPLEphemeris", | ||
"https://github.com/JuliaAstro/JPLEphemeris.jl", | ||
), | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "AstroLib"), | ||
path = "AstroLib", | ||
name = "AstroLib", | ||
giturl = "https://github.com/JuliaAstro/AstroLib.jl.git", | ||
), | ||
] | ||
), | ||
MultiDocumenter.DropdownNav( | ||
"Numerical Utilities", | ||
[ | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "BoxLeastSquares"), | ||
path = "BoxLeastSquares", | ||
name = "BoxLeastSquares", | ||
giturl = "https://github.com/JuliaAstro/BoxLeastSquares.jl.git", | ||
), | ||
MultiDocumenter.MultiDocRef( | ||
upstream = joinpath(clonedir, "LombScargle"), | ||
path = "LombScargle", | ||
name = "LombScargle", | ||
giturl = "https://github.com/JuliaAstro/LombScargle.jl.git", | ||
), | ||
] | ||
), | ||
MultiDocumenter.DropdownNav( | ||
"Statistics", | ||
[ | ||
MultiDocumenter.Link( | ||
"sefffal/PairPlots", | ||
"https://sefffal.github.io/PairPlots.jl/dev", | ||
), | ||
] | ||
), | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bit is all manual and gross for now just to stand things up, and can be replaced by something like #44 if we end up wanting to go the "single source of truth" route discussed there
This PR tries to get MultiDocumenter in the mix next. This is inspired from this old convo
Depends on #40
It seems to be building locally alright for me (pics below), but I am lost when it comes to CI stuff. Any help is appreciated!
Demo
Preview link
https://juliaastro.org/previews/PR43/
Doesn't seem to be reflecting changes yet, I am positive that I must be holding it wrongIt's working now, thanks @abhro!Unified search
Topbar links to external package docs
Future PR(s)?
docs
indocs/make.jl
withpages.jl
. Currently doing this manually (WIP here: Simplified MultiDocumenter.jl #44)