From 744e9891a6439bef3ef0aff8fc2506f14689eebe Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Mon, 31 Aug 2026 13:13:08 -0600 Subject: [PATCH 1/7] Add some notes on how to use OnDemand --- .../working-with-documentation/bld-prev-docs-casper.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index 9a650c9ca0..573b4f0f4c 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -38,7 +38,11 @@ There are a few different ways to do this. This will be somewhat easier if your CTSM checkout is in (or symlinked to) your home directory (`$HOME`). ``` -The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file. (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. +The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file (or use the right click view with Firefox option). (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. + +>[!NOTE] +> +> You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. If you rebuild the documentation but don't see your changes updated in the webpage, and the reload button doesn't work, you may need to navigate to a different page and then come back. From 0abdf60658c7b5b1b683e12e1ae794383a3d3396 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Mon, 31 Aug 2026 16:45:45 -0600 Subject: [PATCH 2/7] github markdown options aren't available in the documentation so change the NOTE into a {hint} --- .../working-with-documentation/bld-prev-docs-casper.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index 573b4f0f4c..8280b1a80e 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -40,9 +40,9 @@ This will be somewhat easier if your CTSM checkout is in (or symlinked to) your The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file (or use the right click view with Firefox option). (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. ->[!NOTE] -> -> You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. +```{hint} +You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. Also note that if you wait too long to go into the "Launch Casper Login VNC Desktop" button -- it goes away and the session completes. +``` If you rebuild the documentation but don't see your changes updated in the webpage, and the reload button doesn't work, you may need to navigate to a different page and then come back. From 4c4bdd4fe31fa50d15403469dae46753f42d7ae9 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 2 Sep 2026 10:21:14 -0600 Subject: [PATCH 3/7] Add the link to the OOD documentation from CISL fixing #4028 --- .../working-with-documentation/bld-prev-docs-casper.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index 8280b1a80e..b81a4c8d24 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -38,7 +38,7 @@ There are a few different ways to do this. This will be somewhat easier if your CTSM checkout is in (or symlinked to) your home directory (`$HOME`). ``` -The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file (or use the right click view with Firefox option). (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. +The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard) see it's documentation under [ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood](https://ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood/). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file (or use the right click view with Firefox option). (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. ```{hint} You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. Also note that if you wait too long to go into the "Launch Casper Login VNC Desktop" button -- it goes away and the session completes. From 84513beec7ecd7b31cdcc47a5f654c770ed793fd Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 28 Oct 2026 16:46:24 -0600 Subject: [PATCH 4/7] Update doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md review suggestion to add here. Co-authored-by: Sam Rabin --- .../working-with-documentation/bld-prev-docs-casper.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index b81a4c8d24..d335a783fa 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -38,7 +38,7 @@ There are a few different ways to do this. This will be somewhat easier if your CTSM checkout is in (or symlinked to) your home directory (`$HOME`). ``` -The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard) see it's documentation under [ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood](https://ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood/). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then open the `index.html` file (or use the right click view with Firefox option). (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. +The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard); see its documentation [here](https://ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood/). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then double-click to open the `index.html` file. (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. ```{hint} You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. Also note that if you wait too long to go into the "Launch Casper Login VNC Desktop" button -- it goes away and the session completes. From 04685777512adce8fe5544b29c51628b17559a2b Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 28 Oct 2026 16:47:56 -0600 Subject: [PATCH 5/7] Update doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md Another review suggestion to shorten the hint. Co-authored-by: Sam Rabin --- .../working-with-documentation/bld-prev-docs-casper.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index d335a783fa..98be1e135d 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -41,8 +41,7 @@ This will be somewhat easier if your CTSM checkout is in (or symlinked to) your The simplest way to preview your built documentation on Casper is to use [NCAR's OnDemand service](https://ondemand.hpc.ucar.edu/pun/sys/dashboard); see its documentation [here](https://ncar-hpc-docs.readthedocs.io/en/latest/compute-systems/ood/). After you [open a new Casper Login VNC Desktop session](https://ondemand.hpc.ucar.edu/pun/sys/dashboard/batch_connect/sys/login_desktop_ncar/session_contexts/new), wait for it to start, then click the "Launch Casper Login VNC Desktop" button. This will open a Linux desktop in your browser. Click on the "Home" icon and navigate to your CTSM checkout, then the `doc/_build/html` directory, then double-click to open the `index.html` file. (If your checkout isn't in your home directory, you'll need to click on `Devices > /` in the sidebar of the window that opens, then navigate all the way to your checkout.) That should open it in the Linux desktop's Firefox, at which point you can browse around as usual. ```{hint} -You need to do this in a live VNC Desktop session. There's also an option to go through a directory browser in the session-id, but that option is not able to view files through Firefox, it only displays the raw HTML format. Also note that if you wait too long to go into the "Launch Casper Login VNC Desktop" button -- it goes away and the session completes. -``` +Note that if you wait too long after opening your Casper Login VNC Desktop session to click the "Launch Casper Login VNC Desktop" button, it goes away and the session completes. If you rebuild the documentation but don't see your changes updated in the webpage, and the reload button doesn't work, you may need to navigate to a different page and then come back. From 92e167f29eb730a36873f923110631aae579dc65 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 28 Oct 2026 16:55:04 -0600 Subject: [PATCH 6/7] Add a seperate hint as suggested in review --- .../working-with-documentation/bld-prev-docs-casper.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index 98be1e135d..85063c0abb 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -43,6 +43,9 @@ The simplest way to preview your built documentation on Casper is to use [NCAR's ```{hint} Note that if you wait too long after opening your Casper Login VNC Desktop session to click the "Launch Casper Login VNC Desktop" button, it goes away and the session completes. +```{hint} +Make sure you click the "Launch Casper Login VNC Desktop" button as instructed above. The page with that button also has a link next to "Session ID:", but that only opens a file browser that will not render the HTML. + If you rebuild the documentation but don't see your changes updated in the webpage, and the reload button doesn't work, you may need to navigate to a different page and then come back. ### Previewing docs on Casper via SSH tunnel From 576a60c2b13157113624404e59a0bbaab657ea3a Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 28 Oct 2026 17:06:16 -0600 Subject: [PATCH 7/7] Actually close the new hints --- .../working-with-documentation/bld-prev-docs-casper.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md index 85063c0abb..5dbf4736fb 100644 --- a/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md +++ b/doc/source/users_guide/working-with-documentation/bld-prev-docs-casper.md @@ -42,9 +42,11 @@ The simplest way to preview your built documentation on Casper is to use [NCAR's ```{hint} Note that if you wait too long after opening your Casper Login VNC Desktop session to click the "Launch Casper Login VNC Desktop" button, it goes away and the session completes. +``` ```{hint} Make sure you click the "Launch Casper Login VNC Desktop" button as instructed above. The page with that button also has a link next to "Session ID:", but that only opens a file browser that will not render the HTML. +``` If you rebuild the documentation but don't see your changes updated in the webpage, and the reload button doesn't work, you may need to navigate to a different page and then come back.