documentation/README.md

"Online documentation for BioCro" {target="_blank"}

https://github.com/biocro/biocro/actions/workflows/automatically-call-document.yml "Documentation workflow runs (automatic)" {target="_blank"}

https://github.com/biocro/biocro/actions/workflows/document.yml "Documentation workflow runs (manual)" {target="_blank"}

[pkgdown]: https://pkgdown.r-lib.org/index.html "The pkgdown web site" {target="_blank"}

[^latest_version]: If there is more than one run for a given pull request, you will probably want the latest one. If the Zip file has expired, you may have to manually call the workflow to regenerate it.

Manually-triggered workflow runs may be found at

https://github.com/biocro/biocro/actions/workflows/document.yml

Note about the types of documentation in BioCro {.unnumbered #sec:documenation-types}

There several categories of documentation for BioCro:

The online documentation {-}

All of the documentation mentioned above is available online at https://biocro.github.io.

When online documentation is generated {- #sec:generation-triggers}

Documentation is automatically generated and published when a new release is created on GitHub. It is also generated (but not published) when a pull request is created or updated. In the latter case, the documentation is packaged as a Zip file available for download. To download a generated Zip file, go to the page for the Automatically generate documentation workflow and find a workflow run corresponding to the pull request whose documentation you wish to view. Click on it, and then find the artifact to download near the bottom of the page.[^latest_version]

In addition, one can manually trigger a workflow build of the documentation for a specific branch. To do this, go to the page for the Generate Documentation workflow and click on the Run workflow button. Choose which branch you want to document and which types of documentation to generate and then click the Run workflow button inside the dropdown window. (See the introductory section about types of documentation for discussion of the various types of BioCro documentation, and the following section for a discussion of how this documentation is packaged.)

Once the manually-triggered workflow has finished running, click on the link for the workflow run and look for the artifact to download at the bottom of the page.

The layout of the online documentation {.unnumbered #sec:documentation-layout}

The layout of the online documentation is in the form of a [pkgdown] document. Each of the categories of documentation listed above corresponds to a portion of this document as follows:

Note that the Developer's Manual, the C++ documentation, and the PDF-style vignettes are not well integrated into pkgdown, and the user will have to click the browser back button to return to pkgdown proper to once again have access to the pkgdown menu items.

In addition to the documentation proper, the menu bar contains some other useful links:



ebimodeling/biocro documentation built on May 3, 2024, 7:52 p.m.