forked from LLNL/merlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream-main/main' into main
- Loading branch information
Showing
274 changed files
with
19,438 additions
and
6,474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Guide to Merlin Documentation | ||
|
||
Merlin uses [MkDocs](https://www.mkdocs.org/) to generate its documentation and [Read the Docs](https://about.readthedocs.com/?ref=readthedocs.com) to host it. This README will detail important information on handling the documentation. | ||
|
||
## How to Build the Documentation | ||
|
||
Ensure you're at the root of the Merlin repository: | ||
|
||
```bash | ||
cd /path/to/merlin/ | ||
``` | ||
|
||
Install the documentation with: | ||
|
||
```bash | ||
pip install -r docs/requirements.txt | ||
``` | ||
|
||
Build the documentation with: | ||
|
||
```bash | ||
mkdocs serve | ||
``` | ||
|
||
Once up and running, MkDocs should provide a message telling you where your browser is connected (this is typically `http://127.0.0.1:8000/`). If you're using VSCode, you should be able to `ctrl+click` on the address to open the browser window. An example is shown below: | ||
|
||
```bash | ||
(venv_name) [user@machine:merlin]$ mkdocs serve | ||
INFO - Building documentation... | ||
INFO - Cleaning site directory | ||
WARNING - Excluding 'README.md' from the site because it conflicts with 'index.md'. | ||
WARNING - A relative path to 'api_reference/' is included in the 'nav' configuration, which is not found in the documentation files. | ||
INFO - Documentation built in 3.24 seconds | ||
INFO - [09:16:00] Watching paths for changes: 'docs', 'mkdocs.yml' | ||
INFO - [09:16:00] Serving on http://127.0.0.1:8000/ | ||
``` | ||
|
||
## Configuring the Documentation | ||
|
||
MkDocs relies on an `mkdocs.yml` file for almost everything to do with configuration. See [their Configuration documentation](https://www.mkdocs.org/user-guide/configuration/) for more information. | ||
|
||
## How Do API Docs Work? | ||
|
||
Coming soon... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Merlin API Reference | ||
|
||
Coming soon! | ||
|
||
<!-- Welcome to the Application Program Interface (API) Reference Guide for Merlin! This comprehensive guide is designed to provide developers with a detailed understanding of the various modules, classes, and functions available within the Merlin API. --> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+27.5 KB
docs/assets/images/interpreting_output/basic-merlin-info-workspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+56.6 KB
docs/assets/images/interpreting_output/modified-hierarchy-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+55.7 KB
docs/assets/images/interpreting_output/two-level-sample-hierarchy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.6 KB
docs/assets/images/interpreting_output/workspace-with-params-and-samples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+48.2 KB
docs/assets/images/monitoring/monitor_for_allocation/monitor-flowchart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.6 KB
docs/assets/images/monitoring/monitor_for_allocation/status-step-2-incomplete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.1 KB
docs/assets/images/monitoring/monitor_for_allocation/status-success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+27.4 KB
docs/assets/images/monitoring/queues_and_workers/connected-workers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.6 KB
docs/assets/images/monitoring/queues_and_workers/no-active-queues.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.3 KB
docs/assets/images/monitoring/queues_and_workers/no-connected-workers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.9 KB
.../assets/images/monitoring/queues_and_workers/query-workers-spec-all-workers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.4 KB
docs/assets/images/monitoring/queues_and_workers/query-workers-spec-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.8 KB
docs/assets/images/monitoring/queues_and_workers/queue-info-no-vars.png
Oops, something went wrong.
Binary file added
BIN
+32.2 KB
docs/assets/images/monitoring/queues_and_workers/queue-info-with-vars.png
Oops, something went wrong.
Binary file added
BIN
+26.4 KB
docs/assets/images/monitoring/queues_and_workers/queues-example-all-workers.png
Oops, something went wrong.
Binary file added
BIN
+23.6 KB
...assets/images/monitoring/queues_and_workers/queues-example-filtered-workers.png
Oops, something went wrong.
Binary file added
BIN
+21.4 KB
docs/assets/images/monitoring/queues_and_workers/specific-queues-active.png
Oops, something went wrong.
Binary file added
BIN
+21.4 KB
docs/assets/images/monitoring/queues_and_workers/specific-queues-inactive.png
Oops, something went wrong.
Binary file added
BIN
+26.1 KB
docs/assets/images/monitoring/queues_and_workers/specification-option.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+24 KB
docs/assets/images/monitoring/queues_and_workers/workers-option-with-regex.png
Oops, something went wrong.
Binary file added
BIN
+24.5 KB
...ssets/images/monitoring/queues_and_workers/workers-option-with-worker-names.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This script is for swapping the landing page image between | ||
* one with black text (for light mode) and one with white | ||
* text (for dark mode). | ||
*/ | ||
|
||
function swapLandingPageImage() { | ||
// Get the current theme (should be "slate" or "default") | ||
const colorSchemeValue = document.body.getAttribute("data-md-color-scheme"); | ||
|
||
// Get the image element | ||
const imageElement = document.getElementById("landing-page-image"); | ||
|
||
// Paths for light/dark mode images | ||
const lightModeImgPath = "assets/images/merlin_banner.png"; | ||
const darkModeImgPath = "assets/images/merlin_banner_white.png"; | ||
|
||
// Set the image source based on the color scheme | ||
imageElement.src = colorSchemeValue == "slate" ? darkModeImgPath : lightModeImgPath; | ||
} | ||
|
||
// Set up an observer to watch for theme changes | ||
const observer = new MutationObserver(swapLandingPageImage); | ||
const targetNode = document.body; | ||
const config = {attributes: true, childList: true}; | ||
observer.observe(targetNode, config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[data-md-color-scheme=slate] { | ||
--md-default-bg-color: hsla(var(--md-hue),15%,22%,1); | ||
} | ||
|
||
[data-md-color-primary=black] .md-button--primary { | ||
background-color: hsla(202, 97%, 34%, 1); /* This is the same as #036BA9 (the hex color of Merlin's hat logo) */ | ||
border-color: hsla(202, 97%, 34%, 1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
|
||
# Contact Us | ||
|
||
!!! question "Have a Question?" | ||
|
||
:material-email: [merlin@llnl.gov](mailto:merlin@llnl.gov) | ||
|
||
:simple-microsoftteams: LC Teams Channels: | ||
|
||
- [Merlin Support Page](https://teams.microsoft.com/l/team/19%3a8efc6658663c46aca4bfca4f11df7eb3%40thread.skype/conversations?groupId=7c7f88bc-2485-460f-90e2-4f6880b5ed3e&tenantId=a722dec9-ae4e-4ae3-9d75-fd66e2680a63) | ||
|
||
- [WEAVE's Merlin Support Page](https://teams.microsoft.com/l/channel/19%3aa677f3ebd1d9463b9128e9609a5b4177%40thread.tacv2/Merlin?groupId=a56ae26c-fe55-4e8e-8773-dd7975f648a4&tenantId=a722dec9-ae4e-4ae3-9d75-fd66e2680a63) | ||
|
||
|
||
!!! note "Submit an Issue" | ||
|
||
:simple-github: [Report an Issue on GitHub](https://github.com/LLNL/merlin/issues) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Feature Demo Examples | ||
|
||
Coming soon! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Flux Examples | ||
|
||
Coming soon! |
Oops, something went wrong.