Skip to main content

Documentation Introduction

ORCA project documentation is hosted on NASA's GitHub Pages. The project utilizes the open-source static website generator Docusaurus to build html files from markdown documentation, add some organization and navigation, and provide other niceties in the final website (search, easy templates, etc.).

The sections below go into greater detail and provide information on the ORCA documentation layout, locations and key Docusaurus files to manage.

Docusaurus Documentation Layout

With few exceptions, ORCA's documentation is maintained under the website directory in the ORCA GitHub repository. Under the website directory, there are three primary directories which contain ORCA documentation content. Those directories are docs, static, and src. The sections below go into detail on the contents of each of those directories and their layout.

docs Directory

The website/docs directory contains a majority of ORCA's documentation in the form of Markdown (.md) and MDX Markdown (.mdx). The docs directory is split into five subdirectories as seen below. Each subdirectory corresponds to the major ORCA documentation sections with the exception of the templates directory.

docs
├── about
├── developer
├── operator
└── templates

docs/about

The docs/about subdirectory contains all documentation related to the About ORCA documents and navigation. This directory contains overview information related to ORCA uses, architectures, policies, and contribution guidelines. Under the docs/about directory information is broken up based on the sidebar menu layout similar to the layout seen below.

docs/about
├── architecture
├── introduction
├── team

docs/developer

The docs/developer subdirectory contains all documentation related to the Developer Guide documentation and navigation. This directory contains information related to integrating ORCA into Cumulus, developing for ORCA, development standards and procedures, and other developer specific information needed to interact and contribute to the ORCA product. Under the docs/developer directory, information is broken up based on the sidebar menu layout.

docs/operator

The docs/operator subdirectory contains all documentation related to the Operator Guide documentation and navigation. This directory contains information related to operating ORCA within Cumulus and includes information on collection configuration, utilizing the Cumulus Dashboard to perform ORCA tasks, and performing tasks related to operations and data management staff. Under the docs/operator directory, information is broken up based on the sidebar menu layout.

docs/templates

The docs/templates subdirectory contains templates and non-static reusable markdown and MDX markdown files that are utilized to provide additional functionality to the documentation like image manipulation and standardized layouts. More information on these types of files can be found in the document template documentation and the adding new content documentation.

static Directory

The website/static directory contains ORCA's static website content. Currently, this directory contains images used for diagrams, examples, etc. However, all static content should be placed in this directory for use by the pages under website/docs. See the adding new content documentation for more information on adding new static content.

src Directory

The website/src directory contains the Docusaurus generated index page splash screen, and css style sheet files. Generally, files in this directory should only be updated by the ORCA core team members. The index splash scree is controlled via the docusaurus.config.js and website/src/pages/index.js files.

Key Docusaurus Files

Docusaurus contains two key files that control the layout, configuration, style, and behaviour of the static site. Information on these files are laid out in the sections below.

sidebar.js

The website/sidebar.js file provides the layout information for the sidebar as well as navigation to all the various documents. More information on the sidebar.js file can be found in the Docusaurus documentation.

docusaurus.config.js

The website/docusaurus.config.js file provides configuration, plugin and setting information to the Docusaurus build. More information on the docusaurus.config.js file can be found in the Docusaurus documentation.

Other Documentation Locations

Although a bulk of the documentation for ORCA resides in the locations discussed above, there are additional documentation files to be aware of. The information below provides location information for the file and updating particulars.

README.md

The README.md file located at the base of the repository provides basic information about ORCA and directs users to specific documentation and information.

tasks/<taskname>/README.md

The README.md files under the various tasks/<taskname> folders are auto generated.