[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-06-14 02:10:29 +00:00
parent 3753a3c775
commit 259d2ff11d

View File

@@ -30,6 +30,7 @@ setting snippet to add to the `overrides.json` file later.
1. Go to **Settings -> Advanced Settings Editor** then select **JSON Settings Editor** on the right.
1. Scroll down and select **Theme**. You should see the `json` formatted configuration:
```json
{
// Theme
@@ -74,7 +75,8 @@ setting of `@jupyterlab/apputils-extension:theme` as can be seen above.
:::{note}
To apply overrides for more than one setting, separate each setting by commas. For example,
if you *also* wanted to change the interval at which the notebook autosaves your content, you can use
if you _also_ wanted to change the interval at which the notebook autosaves your content, you can use
```json
{
"@jupyterlab/apputils-extension:themes": {
@@ -86,6 +88,7 @@ setting of `@jupyterlab/apputils-extension:theme` as can be seen above.
}
}
```
:::
## Step 3: Apply the Overrides to the Hub
@@ -94,11 +97,13 @@ Once you have your setting snippet created, you can add it to the `overrides.jso
so that it gets applied to all users.
1. First, create the settings directory if it doesn't already exist:
```bash
sudo mkdir -p /opt/tljh/user/share/jupyter/lab/settings
```
1. Use `nano` to create and add content to the `overrides.json` file:
```bash
sudo nano /opt/tljh/user/share/jupyter/lab/settings/overrides.json
```