Skip to content

Commit

Permalink
Adding initial skeleton of website
Browse files Browse the repository at this point in the history
  • Loading branch information
guidoivetta committed Sep 16, 2024
1 parent 1e742d1 commit 190f8d9
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Home
1 change: 1 addition & 0 deletions docs/resources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Resources
1 change: 1 addition & 0 deletions docs/schedule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Schedule
1 change: 1 addition & 0 deletions docs/speakers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Speakers
9 changes: 9 additions & 0 deletions env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# micromamba create -f env.yml

name: ethics_website_venv
channels:
- conda-forge
- nvidia
dependencies:
- python=3.12
- pip
35 changes: 35 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
site_name: ACL Ethics Tutorial
nav:
- Home: index.md
- Schedule: schedule.md
- Speakers: speakers.md
- Resources: resources.md
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- toc.integrate
- navigation.top
- search.suggest
- search.highlight
- content.tabs.link
- content.code.annotation
- content.code.copy
language: en
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: teal
accent: purple
- scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: teal
accent: lime

copyright: |
&copy; 2023 <a href="https://github.com/acl-org/ethics-website" target="_blank" rel="noopener">ACL Ethics Team</a>

0 comments on commit 190f8d9

Please sign in to comment.