Skip to content

Commit

Permalink
Back to mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Mar 25, 2024
1 parent 0340d90 commit 9107cbd
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 473 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/gh_pages_doc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: website
name: Github Page

# build the documentation whenever there are new commits on main
on:
push:
branches:
- main
- feature/website

# security: restrict permissions for CI jobs.
permissions:
Expand All @@ -19,16 +19,11 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.11'

# ADJUST THIS: install all dependencies (including pdoc)
- run: pip install -e .
# ADJUST THIS: build your documentation into docs/.
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
- run: pdoc -o docs/ tcn

- run: mkdocs build
- uses: actions/upload-pages-artifact@v2
with:
path: docs/
path: site/

# Deploy the artifact to GitHub pages.
# This is a separate job so that only actions/deploy-pages has the necessary permissions.
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ git-token

# Temporary directories for WIP
tmp_*/

# GH Website
site/
5 changes: 0 additions & 5 deletions docs/.gitignore

This file was deleted.

25 changes: 0 additions & 25 deletions docs/404.html

This file was deleted.

35 changes: 0 additions & 35 deletions docs/Gemfile

This file was deleted.

Loading

0 comments on commit 9107cbd

Please sign in to comment.