diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b30da8..5d62a86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,4 +24,5 @@ jobs: - run: pip install pillow cairosvg - run: pip3 install mkdocs-git-revision-date-localized-plugin - run: pip install mkdocs-git-committers-plugin + - run: pip install mkdocs-video - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/docs/about.md b/docs/about.md index 6590334..baaefb7 100644 --- a/docs/about.md +++ b/docs/about.md @@ -11,3 +11,10 @@ icon: material/information-outline ## 起源维基是什么? 起源维基是一个能让人安心学习起源引擎技术的地方,同时也是一个略带个人性质的知识储存库。我正在尽力丰富本维基储存的知识。与VDC不同,起源维基得益于全中文的文章与较为自由的编辑方式,它的存在使不同的中文起源开发者共享自己的知识。 + +![type:video](https://www.youtube.com/watch?v=iSpglxHTJVM) + + + \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 64903bf..26171c0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -183,6 +183,10 @@ plugins: repository: obscurefreeman/sourcewiki branch: master token: !!python/object/apply:os.getenv ["MKDOCS_GIT_COMMITTERS_APIKEY"] + - mkdocs-video: + is_video: True + video_muted: True + video_controls: True # Copyright copyright: 2023 晦涩弗里曼