Skip to content

Commit

Permalink
Initial commit for the community sub-site
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Feb 25, 2024
1 parent 51bdcce commit 6f164ec
Show file tree
Hide file tree
Showing 11 changed files with 362 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @oleg-nenashev
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Continuous Integration

on:
# We have deploy there
# push:
# branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: pip install -r requirements.txt

- name: Build the docs
run: mkdocs build
62 changes: 62 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: pip install -r requirements.txt

- name: Build the docs site
run: mkdocs build

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_site
.cache
38 changes: 38 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Gradle Community

This is an open-source repository for all Gradle community
matters, including governance, artwork, events, and public infrastructure.
We also use it for tracking issues and initiatives related to the community's growth and ecosystem.

## Resources

- [Gradle Community Resources](https://gradle.org/resources/) -
Official listing on the website
- [Contributing to Gradle Build Tool](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md) -
Kernel parts, core plugins, and documentation
- [Security Vulnerability Reporting Policy](https://github.com/gradle/gradle/security/policy)
- [Code of Conduct](https://gradle.org/conduct/)

## Community Channels

- [`gradle-community` Slack workspace](https://gradle.com/slack-invite)
([Slack History Archive](https://www.linen.dev/s/gradle-community))
- [Gradle Forums](https://discuss.gradle.org/) (Discourse)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/gradle) (`#gradle` tag)
- [GitHub](https://github.com/gradle/gradle) (`@gradle`) -
we do not have GitHub discussions, but there are issues where a discussion may happen

Social media:

- [LinkedIn](https://www.linkedin.com/company/gradle) company page
- [X/Twitter](https://twitter.com/gradle) (`@gradle`)
- [YouTube](https://www.youtube.com/channel/) (`@GradleInc`)
- [Mastodon](https://mastodon.social/@Gradle) (`@gradle`)
- [Facebook](https://www.facebook.com/gradleinc) (`@gradleinc`)

## Contributing

See the [Community Resources](https://gradle.org/resources/) for the links to the contributing guidelines.
All contributions are welcome!
If you want to contribute anything to this repository,
just submit a pull request.
12 changes: 12 additions & 0 deletions docs/assets/css/gradle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

/* TODO: proper styling */
:root {
--md-primary-fg-color: #010002;
--md-primary-fg-color--light: #F8F8F8;
--md-primary-fg-color--dark: #010002;
}

.md-content {
--md-typeset-a-color: #09bfdd;
}

2 changes: 2 additions & 0 deletions docs/images/logos/gradle-buld-tool.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6f164ec

Please sign in to comment.