Closed rxu17 closed 4 months ago
Thanks @rxu17 for your work here! I agree that we don't have to worry about auto generating the R code documentation for now. It'd be great if this was linked to github pages!
You can see the live site at: https://sage-bionetworks.github.io/Genie/
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Per the weekly main genie check-in today, Chelsea also gave this the green light
Purpose: This draft PR adds an auto-documentation tool
mkdocs
andmkdocstrings
for the Genie repo, setting up the initial skeleton and base pages for the genie docs. It helps auto-document our codebase as well as allowing us to add custom markdown pages.This PR is just meant to set up the skeleton of the docs so we can get started with documenting our codebase and looking into areas of lacking documentation / improvement, refining specific things like font size, headings, etc will be done in a separate ticket.
Limitations: We will not be able to auto-document our R scripts as there isn't an extension similar to
mkdocstrings
for R. We can use a mix ofroxygen2
andknitr
to convert our R code to Rmarkdown files -> markdown files which can then be rendered in mkdocs. However this way is more hacky. We plan to convert all our R scripts to Python eventually / move the dashboard R scripts to Nextflow module so this may not be a concern.Changes: Initial vision and structure for the genie docs:
Testing: In the root directory run
mkdocs serve
to view the live docsExamples: