Skip to content

Commit

Permalink
new file: docs/assets/css/.push
Browse files Browse the repository at this point in the history
	new file:   docs/assets/css/custom_attributes.css
	new file:   docs/assets/img/.push
	new file:   docs/assets/js/.push
	new file:   docs/assets/js/katex.js
	new file:   docs/assets/meta/.push
	new file:   docs/assets/meta/favicon.svg
	new file:   docs/assets/meta/head.webp
	new file:   docs/index.md
	new file:   docs/tags.md
	modified:   docs/数学/线性代数/高斯消元.md
	modified:   mkdocs.yml
  • Loading branch information
hyj0824 committed Dec 15, 2024
1 parent 7e15edb commit 7c979fb
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 26 deletions.
Empty file added docs/assets/css/.push
Empty file.
2 changes: 2 additions & 0 deletions docs/assets/css/custom_attributes.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* File dedicated to custom attributes */
/* Get more info here : https://pypi.org/project/mkdocs-custom-tags-attributes/ */
1 change: 1 addition & 0 deletions docs/assets/img/.push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Void files to push git
Empty file added docs/assets/js/.push
Empty file.
10 changes: 10 additions & 0 deletions docs/assets/js/katex.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
document$.subscribe(({ body }) => {
renderMathInElement(body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
],
})
})
1 change: 1 addition & 0 deletions docs/assets/meta/.push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions docs/assets/meta/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/meta/head.webp
Binary file not shown.
11 changes: 11 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
template: home.html
dg-home: true
dg-publish: true
---

![[head.webp]]


> [!note] Hello World
> hyj0824 一枚来自SN的菜鸡
5 changes: 5 additions & 0 deletions docs/tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
hidden: true
---

[TAGS]
2 changes: 1 addition & 1 deletion docs/数学/线性代数/高斯消元.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void GetAns2(int line) {
## 求行列式
![[行列式#定义|行列式 > 定义]]
[[行列式#定义|行列式 > 定义]]
方法是$O(n!)$,显然不可,我们可以化为$O(n^3)$。
Expand Down
51 changes: 26 additions & 25 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ theme:
text: "LXGW WenKai Screen"

features:
- navigation.instant
- navigation.indexes
- navigation.top
# - navigation.footer # Add 'previous' and 'next' buttons in the footer
Expand Down Expand Up @@ -73,40 +74,40 @@ plugins:
- glightbox

markdown_extensions:
- admonition
- def_list
- footnotes
- nl2br
- sane_lists
- meta
- smarty
- tables
- mdx_breakless_lists
- def_list
- toc:
permalink: true
slugify: !!python/name:pymdownx.slugs.uslugify
- pymdownx.arithmatex:
generic: true
- pymdownx.details
- pymdownx.magiclink
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- admonition
- toc:
permalink: true
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
- abbr
- pymdownx.snippets
- attr_list # 给任意元素加属性 但是和superfences冲突不能给fence加属性
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.snippets:
check_paths: true
- pymdownx.progressbar
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- name: math
class: arithmatex
format: !!python/name:pymdownx.arithmatex.fence_mathjax_format
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.tabbed:
alternate_style: true

extra_javascript:
- https://polyfill.alicdn.com/v3/polyfill.min.js?features=es6
Expand Down

0 comments on commit 7c979fb

Please sign in to comment.