Skip to content

Commit

Permalink
init: mdbook
Browse files Browse the repository at this point in the history
  • Loading branch information
netpyoung committed Jan 27, 2024
0 parents commit dc260ad
Show file tree
Hide file tree
Showing 8 changed files with 1,558 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and deploy GH Pages

## ref: https://github.com/peaceiris/actions-mdbook

on:
push:
branches:
- main

jobs:
build:
name: Publish site
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- name: Build mdBook
run: |
mdbook build
touch ./book/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
book
.DS_Store
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 커먼 리스프 길잡이

## mdBook

- [저장소](https://github.com/rust-lang/mdBook)
- [메뉴얼](https://rust-lang.github.io/mdBook/)

``` zsh
$ mdbook serve
```
13 changes: 13 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[book]
title = "커먼 리스프 길잡이"
description = "커먼 리스프 길잡이"
language = "kr"
multilingual = false
src = "src"

[output.html]
no-section-label = true
site-url = "/commonlisp-guide/"
git-repository-url = "https://github.com/lispkorea/commonlisp-guide"
git-repository-icon = "fa-github"
edit-url-template = "https://github.com/lispkorea/commonlisp-guide/edit/main/{path}"
Empty file added src/Index.md
Empty file.
3 changes: 3 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Summary

- [들어가며](./Index.md)
44 changes: 44 additions & 0 deletions theme/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dc260ad

Please sign in to comment.