Skip to content

Commit

Permalink
docs: recongnize docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed Feb 24, 2024
1 parent 4466a48 commit 61f9c89
Show file tree
Hide file tree
Showing 22 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:

- name: Build book
run: |
cp example/assets/bin/* /usr/local/bin && chmod u+x /usr/local/bin/mdbook*
cargo build --release && mdbook build example
chmod u+x docs/assets/bin/* && cp docs/assets/bin/* /usr/local/bin
cargo build --release && mdbook build docs
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/book
publish_dir: ./docs/book
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.2.7"
edition = "2021"
license = "MIT"
readme = "README.md"
exclude = ["docs/*"]
keywords = ["mdbook", "embed", "plugin"]
authors = ["MR-Addict <[email protected]>"]
repository = "https://github.com/MR-Addict/mdbook-embedify"
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions example/book.toml → docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "This is a mdbook preprocessor plugin that allows you embed apps t
language = "en"
multilingual = false
src = "src"
title = "Mdbook Embedify"
title = "mdbook-embedify"

[build]
build-dir = "book"
Expand Down Expand Up @@ -47,7 +47,7 @@ command = "target/release/mdbook-embedify"
scroll-to-top.enable = true

footer.enable = true
footer.message = "Copyright © 2024 ❤️ By [MR-Addict](https://github.com/MR-Addict)"
footer.message = "Copyright © 2024 • Created with ❤️ by [MR-Addict](https://github.com/MR-Addict)"

announcement-banner.enable = true
announcement-banner.id = "0.2.7"
Expand Down
6 changes: 3 additions & 3 deletions example/src/SUMMARY.md → docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

# Basics

- [Intro](intro.md)
- [Intro](index.md)
- [Usage](usage.md)
- [Ignore Embeds](ignore-embeds.md)
- [Global Embedding](global-embedding.md)

# Apps

- [Third Party Apps](third-party/intro.md)
- [Third Party Apps](third-party/index.md)
- [Gist](third-party/gist.md)
- [Giscus](third-party/giscus.md)
- [Youtube](third-party/youtube.md)
- [Codepen](third-party/codepen.md)
- [Stackblitz](third-party/stackblitz.md)
- [Codesandbox](third-party/codesandbox.md)
- [Bilibili](third-party/bilibili.md)
- [Local Apps](local/intro.md)
- [Local Apps](local/index.md)
- [Footer](local/footer.md)
- [Scroll to Top](local/scroll-to-top.md)
- [Announcement Banner](local/announcement-banner.md)
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.

0 comments on commit 61f9c89

Please sign in to comment.