Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ updates:
rebase-strategy: disabled
- package-ecosystem: pip
directories:
- /
- /docs-site
schedule:
interval: monthly
day: sunday
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ serve-docs:
docker run --rm --name $(DOCS_CONTAINER) -it -p 8000:8000 \
-v $(PWD):/testcontainers-go \
-w /testcontainers-go \
$(DOCS_IMAGE) bash -c "pip install -Ur requirements.txt && mkdocs serve -f mkdocs.yml -a 0.0.0.0:8000"
$(DOCS_IMAGE) bash -c "pip install -Ur docs-site/requirements.txt && mkdocs serve -f mkdocs.yml -a 0.0.0.0:8000"

## --------------------------------------

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions docs-site/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// This module only exists to keep the Python tooling used to build the docs site
// (https://golang.testcontainers.org) out of the github.com/testcontainers/testcontainers-go
// module: the Go toolchain excludes any directory containing a go.mod file from the parent
// module's zip, so these files no longer land in users' module caches and vendor directories,
// where they were picked up by dependency scanners. It contains no Go code and is never released.
module github.com/testcontainers/testcontainers-go/docs-site

go 1.26.0
File renamed without changes.
8 changes: 8 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Netlify build configuration for the docs site (https://golang.testcontainers.org).
# The Python dependencies live in docs-site, so that they are not part of the Go module.
[build]
command = "pip install -r docs-site/requirements.txt && mkdocs build"
publish = "site"

[build.environment]
PYTHON_VERSION = "3.13"
1 change: 0 additions & 1 deletion runtime.txt

This file was deleted.

6 changes: 2 additions & 4 deletions scripts/changed-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ set -euxo pipefail
readonly ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)

# define an array of modules that won't be included in the list
readonly excluded_modules=(".devcontainer" ".vscode" "docs")
readonly excluded_modules=(".devcontainer" ".vscode" "docs" "docs-site")

# define an array of files that won't be included in the list
readonly excluded_files=(
Expand All @@ -96,11 +96,9 @@ readonly excluded_files=(
"CONTRIBUTING.md"
"LICENSE"
"mkdocs.yml"
"Pipfile*"
"netlify.toml"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"README.md"
"RELEASING.md"
"requirements.txt"
"runtime.txt"
"docs/usage-metrics/core.csv"
"docs/usage-metrics/modules.csv"
"docs/usage-metrics/clones.csv"
Expand Down
Loading