Skip to content
Draft
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
26 changes: 16 additions & 10 deletions .github/workflows/www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.74.3'

- name: Build
run: hugo --minify && echo -n enzyme.mit.edu > ./public/CNAME
submodules: true

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install doxygen
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

- name: Build docs
run: |
source env/bin/activate
make html
echo -n enzyme.mit.edu > ./build/html/CNAME

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
6 changes: 3 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ disablePathToLower = true

# Souce Code repository section
description = "Enzyme Automatic Differentiation Framework"
github_repository = "https://github.com/wsmoses/Enzyme"
github_repository = "https://github.com/EnzymeAD/Enzyme"
version = ""

# Documentation repository section
Expand Down Expand Up @@ -68,12 +68,12 @@ disablePathToLower = true
[[menu.main]]
name = "Source"
weight = 10
url = "https://github.com/wsmoses/Enzyme"
url = "https://github.com/EnzymeAD/Enzyme"

[[menu.main]]
name = "Bugs"
weight = 20
url = "https://github.com/wsmoses/Enzyme/issues"
url = "https://github.com/EnzymeAD/Enzyme/issues"

[[menu.main]]
name = "Try Online"
Expand Down