7 Commits

Author SHA1 Message Date
Raniere Silva
8963e62044 Merge pull request #1055 from rgaiacs/1054-avoid-white-space
Enclose ${PATH} in double-quotes
2025-12-08 15:43:10 +01:00
Raniere Gaia Costa da Silva
daec71b149 Enclose ${PATH} in double-quotes
to avoid problems with white space.

Closes https://github.com/jupyterhub/the-littlest-jupyterhub/issues/1054
2025-12-08 15:42:00 +01:00
Min RK
e17af65b38 Merge pull request #1051 from jupyterhub/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2025-12-02 11:46:42 -08:00
dependabot[bot]
5c2d688937 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 05:05:10 +00:00
Simon Li
1df02de795 Merge pull request #1050 from jasongrout/plausible
Add plausible stats tracking, consolidated with jupyter.org stats
2025-11-18 12:02:59 +00:00
pre-commit-ci[bot]
181aa975f5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-11-17 19:01:13 +00:00
Jason Grout
243fcf7be0 Add plausible stats tracking, consolidated with jupyter.org stats
This PR is similar to https://github.com/jupyter/jupyter/pull/797
2025-11-17 11:59:37 -07:00
4 changed files with 15 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ jobs:
extra_flags: --upgrade-from=1 extra_flags: --upgrade-from=1
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: "3.10" python-version: "3.10"
@@ -119,7 +119,7 @@ jobs:
distro_image: "ubuntu:22.04" distro_image: "ubuntu:22.04"
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: "3.10" python-version: "3.10"

View File

@@ -48,7 +48,7 @@ jobs:
python_version: "3.12" python_version: "3.12"
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: "${{ matrix.python_version }}" python-version: "${{ matrix.python_version }}"

View File

@@ -138,3 +138,14 @@ rediraffe_redirects = {
"howto/env/notebook-interfaces": "howto/user-env/notebook-interfaces", "howto/env/notebook-interfaces": "howto/user-env/notebook-interfaces",
"howto/env/server-resources": "howto/user-env/server-resources", "howto/env/server-resources": "howto/user-env/server-resources",
} }
def setup(app):
# Enable Plausible.io stats
app.add_js_file(
"https://plausible.io/js/pa-B75UO5--FNXYQSG7GBWkf.js", loading_method="async"
)
app.add_js_file(
filename=None,
body="window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init({hashBasedRouting:true})",
)

View File

@@ -26,7 +26,7 @@ The easiest & safest way to develop & test TLJH is with [Docker](https://www.doc
--publish 12000:80 \ --publish 12000:80 \
--env TLJH_BOOTSTRAP_DEV=yes \ --env TLJH_BOOTSTRAP_DEV=yes \
--env TLJH_BOOTSTRAP_PIP_SPEC=/srv/src \ --env TLJH_BOOTSTRAP_PIP_SPEC=/srv/src \
--env PATH=/opt/tljh/hub/bin:${PATH} \ --env "PATH=/opt/tljh/hub/bin:${PATH}" \
--mount type=bind,source="$(pwd)",target=/srv/src \ --mount type=bind,source="$(pwd)",target=/srv/src \
tljh-systemd tljh-systemd
``` ```