Skip to content

Commit 98c5880

Browse files
committed
add dev docs notice
it is possible that a regular user could visit a page intended for developers. for example, a user who wants to install UP4W to use it on their machine ends up in the installation page for developers. this adds a notice that these are not for general use. in future, we might want to move them, but this is OK for now.
1 parent 8388790 commit 98c5880

9 files changed

+43
-0
lines changed

docs/dev_docs_notice.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- Include start dev -->
2+
```{admonition} Developer documentation
3+
:class: important
4+
This page contains information of relevance to the
5+
development, testing and debugging of the Ubuntu Pro
6+
for WSL application and is not intended for general use.
7+
```
8+
<!-- Include end dev -->

docs/howto/02-install.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ myst:
77

88
# Install individual components of Ubuntu Pro for WSL for development
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
1014

1115
This guide will show you how to install UP4W for local development and testing.
1216

docs/howto/03-restart.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ myst:
77

88
# Restart Ubuntu Pro for WSL during development
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
1014

1115
Some configuration changes only apply when you restart UP4W. Here is a guide on how to restart it. There are two options.
1216

docs/howto/06-access-the-logs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ myst:
77

88
# Access Ubuntu Pro for WSL logs for debugging
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
1014

1115
At some point you may want to read the UP4W logs, most likely for debugging purposes. The agent and the service store their logs separately. This guide shows you where to find each of the logs.
1216

docs/howto/07-toggle-features.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ myst:
77

88
# Enable opt-in features of Ubuntu Pro for WSL during development
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
1014

1115
Some features in UP4W are opt-in or can be toggled on and off via the Windows Registry.
1216
While the code is arranged such that CI always tests with those features enabled,

docs/howto/reset-factory.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ myst:
77

88
# How to reset Ubuntu Pro for WSL back to factory settings
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
1014

1115
You can reset Ubuntu Pro for WSL to factory settings following these steps:
1216

docs/reference/07-windows-agent-command-line-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ myst:
77

88
# Windows Agent CLI
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
14+
1015
> See first: [UP4W - Windows Agent](ref::up4w-windows-agent)
1116
1217

docs/reference/08-wsl-pro-service-command-line-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ myst:
77

88
# WSL Pro Service CLI
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
14+
1015
> See first: [UP4W - WSL Pro Service](ref::up4w-wsl-pro-service)
1116
1217
## Usage

docs/reference/09-qa-process-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ myst:
77

88
# QA Process
99

10+
```{include} ../dev_docs_notice.txt
11+
:start-after: <!-- Include start dev -->
12+
:end-before: <!-- Include end dev -->
13+
```
14+
1015
## Generalities
1116

1217
```{note}

0 commit comments

Comments
 (0)