From f7b1ae4f8858d7044ebb9836840860905598acec Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:00:21 -0400 Subject: [PATCH 1/7] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 3825aa02c9..82951fa3f9 100755 --- a/README.md +++ b/README.md @@ -112,6 +112,24 @@ This means an adaptor is not available to download from Prebid.org as soon as th * [jekyll - check for non empty](https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/jekyll/liquid/conditionals/non-empty.html) +## Codex + +To get started with Codex with Ruby 3.4.4 preinstalled on this repo, you can set up your environment like this + +```bash +echo "3.4.4" > .ruby-version +gem install jekyll bundler +npm install boostrap +gem -y install github-pages +npm install -g markdownlint-cli +``` + +Codex can then check for linting success with + +```bash +markdownlint --config .markdownlint.json "**/*.md" +``` + ## Thanks Many thanks to the following people who have submitted content to Prebid.org. We really appreciate the help! From 17924b19cc3b1dbe39e14f3a2adc2e55b536df07 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:02:36 -0400 Subject: [PATCH 2/7] Create AGENTS.md --- AGENTS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000..287acb1fab --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,10 @@ +# Agent Guidelines + +- Run `markdownlint` on any edited Markdown files using the repository configuration: + ```bash + markdownlint --config .markdownlint.json README.md + ``` + Replace `README.md` with each file you change. +- If lint errors occur, fix them before creating a pull request. +- Verify the site builds with `bundle exec jekyll build` when possible. +- Please name your branch to include codex or agent in the branch name From f9aa4bbc7f4a586b9f8a9e5d76e0f16996008bc8 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:04:02 -0400 Subject: [PATCH 3/7] Update AGENTS.md --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 287acb1fab..292b313b6c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,9 +1,11 @@ # Agent Guidelines - Run `markdownlint` on any edited Markdown files using the repository configuration: +- ```bash markdownlint --config .markdownlint.json README.md ``` + Replace `README.md` with each file you change. - If lint errors occur, fix them before creating a pull request. - Verify the site builds with `bundle exec jekyll build` when possible. From bbd4a6fc7c1f585f19aafdb6edbfc3cf94fbe4a5 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:06:32 -0400 Subject: [PATCH 4/7] Update AGENTS.md --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 292b313b6c..3bf7dbd3f4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,3 +10,4 @@ - If lint errors occur, fix them before creating a pull request. - Verify the site builds with `bundle exec jekyll build` when possible. - Please name your branch to include codex or agent in the branch name +- If you cannot run markdownlint please warn your user to setup their environment using the instructions in README.md and document your failure in your pr description From febdf26529879d2241d5453fbfde6e20b044259a Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:13:33 -0400 Subject: [PATCH 5/7] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82951fa3f9..3efa562733 100755 --- a/README.md +++ b/README.md @@ -118,9 +118,10 @@ To get started with Codex with Ruby 3.4.4 preinstalled on this repo, you can set ```bash echo "3.4.4" > .ruby-version +export NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install jekyll bundler npm install boostrap -gem -y install github-pages +gem install github-pages --no-document --force npm install -g markdownlint-cli ``` From d7814ecafc7292be29afa71b5781c1f2bcc009df Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:18:36 -0400 Subject: [PATCH 6/7] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3efa562733..744af1333d 100755 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ gem install jekyll bundler npm install boostrap gem install github-pages --no-document --force npm install -g markdownlint-cli +bundle install ``` Codex can then check for linting success with From b81c441e1e55ac181bdbd6427d143c54c8f61bd2 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 26 May 2025 11:40:05 -0400 Subject: [PATCH 7/7] Update AGENTS.md --- AGENTS.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3bf7dbd3f4..028d81b2c6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,12 +1,6 @@ # Agent Guidelines -- Run `markdownlint` on any edited Markdown files using the repository configuration: -- - ```bash - markdownlint --config .markdownlint.json README.md - ``` - - Replace `README.md` with each file you change. +- Run `markdownlint` on any edited Markdown files using the repository configuration with `markdownlint --config .markdownlint.json README.md`. Replace `README.md` with each file you change. - If lint errors occur, fix them before creating a pull request. - Verify the site builds with `bundle exec jekyll build` when possible. - Please name your branch to include codex or agent in the branch name