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
Enable documentation creation and specify hosting location (#37)
* Enabled documentation creation in initialize_study
* Added configuration for github_name and updated tests/docs
* Added tests for user input into initialize study
Copy file name to clipboardExpand all lines: ext/HealthBaseDrWatsonExt.jl
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -185,17 +185,44 @@ The study environment remains activated for you to immediately add packages.
185
185
186
186
- `template::Symbol` - A template option specifying the structure of the the study. Available templates can be found by running `@doc(study_template)`.
187
187
188
+
- `github_name::String` - the GitHub account you intend to host documentation at. You will need to manually enable the `gh-pages` deployment by going to settings/pages of the GitHub study repo, and choosing as "Source" the `gh-pages` branch. If a name is not specified, a prompt will appear.
189
+
190
+
# Example
191
+
192
+
```julia-repl
193
+
julia> initialize_study("Cardiooncology", "Jacob S. Zelko, Jakub Mitura"; github_name = "TheCedarPrince", template=:observational)
194
+
```
188
195
"""
189
-
function HealthBase.initialize_study(path, authors =nothing; template::Symbol=:default)
196
+
function HealthBase.initialize_study(path, authors =nothing; github_name ="PutYourGitHubNameHere", template::Symbol=:default)
0 commit comments