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
10 changes: 2 additions & 8 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build Marp slide deck
- name: Build Slidev slide decks
run: npm run build
env:
# Please update URL if you want to use custom domain
URL: https://${{ github.event.repository.owner.name }}.github.io/${{ github.event.repository.name }}

# Recommend to set lang for your deck to get better rendering for Open Graph image
LANG: ja-JP

- name: Upload page artifacts
uses: actions/upload-pages-artifact@v3
Expand All @@ -50,4 +44,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
11 changes: 0 additions & 11 deletions Makefile

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 〈完全なプログラミング〉を目指す会 2020

- [導入](intro.html)
- [オブジェクト指向プログラミング](oop.html)
- [命名](naming.html)
- [ドキュメント](document.html)
- [アーキテクチャ](architecture.html)
Binary file added jules-scratch/verification/screenshot-code.png
Binary file added jules-scratch/verification/screenshot-cover.png
Binary file added jules-scratch/verification/screenshot-image.png
30 changes: 30 additions & 0 deletions jules-scratch/verification/verify_slides.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import asyncio
from playwright.async_api import async_playwright
import os

async def main():
async with async_playwright() as p:
browser = await p.chromium.launch()
page = await browser.new_page()

# Cover page (slide 1)
await page.goto('http://localhost:3030/1')
await page.wait_for_timeout(3000) # wait for render
await page.screenshot(path='jules-scratch/verification/screenshot-cover.png')

# Page with an image (slide 6)
await page.goto('http://localhost:3030/6')
await page.wait_for_timeout(3000) # wait for render
await page.screenshot(path='jules-scratch/verification/screenshot-image.png')

# Page with a code block (from oop.html, slide 44)
# I need to navigate to the correct entrypoint for the dev server
# The dev server serves slides.md by default. I need to check how to serve other files.
# For now, I will comment this out and focus on the main slides.md
# await page.goto('http://localhost:3030/slides_oop/44')
# await page.wait_for_timeout(3000) # wait for render
# await page.screenshot(path='jules-scratch/verification/screenshot-code.png')

await browser.close()

asyncio.run(main())
45 changes: 0 additions & 45 deletions libs.org

This file was deleted.

3 changes: 0 additions & 3 deletions marp.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
publish = "dist"
command = "CHROME_PATH=$(npx -y @puppeteer/browsers@latest install chrome@stable --path $(realpath ./tmp) | awk '{print $2}') npm run build"
command = "npm run build"
Loading