Skip to content

Commit

Permalink
Populate CEPS from conda/ceps
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 5, 2024
1 parent 2900673 commit b08506b
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules/

# Populated at build time
/community/minutes/*.md
/community/ceps/*.md

# Misc
.DS_Store
Expand Down
13 changes: 13 additions & 0 deletions bin/populate-ceps
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail

HERE=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

rm "${HERE}/../community/ceps/*.md" || true
pushd $(mktemp -d)
curl -L https://github.com/conda/ceps/archive/refs/heads/main.tar.gz -o ceps.tar.gz
tar -xf ceps.tar.gz
for f in ceps-main/cep-*.md; do
mv "$f" "${HERE}/../community/ceps"
done
popd
14 changes: 14 additions & 0 deletions community/_sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,19 @@
"dirName": "minutes"
}
]
},
{
"type": "category",
"label": "CEPs",
"link": {
"type": "doc",
"id": "ceps"
},
"items": [
{
"type": "autogenerated",
"dirName": "ceps"
}
]
}
]
14 changes: 14 additions & 0 deletions community/ceps.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Conda Enhancement Proposals (CEPs)

Conda is an Open Source project with a diverse and wide-ranging ecosystem.

To better allow community members to provide feedback and proposals for conda's implementation,
all major changes should be submitted as a **Conda Enhancement Proposal** (CEP).

The list below is automatically populated from the [`conda/ceps`](https://github.com/conda/ceps) repository.

## Minutes

import DocCardList from "@theme/DocCardList";

<DocCardList />
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "./bin/populate-minutes && docusaurus start",
"build": "./bin/populate-minutes && docusaurus build",
"start": "./bin/populate-minutes && ./bin/populate-ceps && docusaurus start",
"build": "./bin/populate-minutes && ./bin/populate-ceps && docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand Down

0 comments on commit b08506b

Please sign in to comment.