Skip to content

Commit 723a31a

Browse files
Migrate to MkDocs (#559)
* migrate to poetry * set up mkdocs * delete the old code * upgrade mkdocs to 1.6 * use ruff instead of black * remove tests that now they don't make sense --------- Co-authored-by: Martin Pavlásek <[email protected]>
1 parent a8e56e1 commit 723a31a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2649
-6945
lines changed

.dockerignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: build
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 4 * * *"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Install Poetry
16+
run: pipx install poetry
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: 3.11
22+
cache: poetry
23+
24+
- name: Install dependencies
25+
run: poetry install
26+
27+
# - name: Test
28+
# run: poetry run pytest
29+
30+
- name: Build
31+
run: poetry run mkdocs build
32+
33+
- if: ${{ github.ref == 'refs/heads/main' }}
34+
name: Deploy to GitHub Pages
35+
uses: peaceiris/actions-gh-pages@v3
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./site
39+
#cname: python.cz

.github/workflows/main.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ pip-log.txt
3333
.cache
3434
.pytest_cache/
3535

36-
# Elsa
37-
_build/
38-
/talks-archive/
36+
# MkDocs
37+
/site/
38+
39+
# custom
40+
.events_cache.json
41+
overrides/events.ics
42+
/talks_archive/

Dockerfile

Lines changed: 0 additions & 31 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013 Honza Javorek
3+
Copyright (c) 2013-2023 Honza Javorek and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Pipfile

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)