Skip to content

Commit 00eaae7

Browse files
committed
🔧 add mkdocs configuration and arxiv link regex
1 parent 46ac71f commit 00eaae7

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

mkdocs.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
site_name: nonebot-plugin-paper
2+
repo_url: https://github.com/BalconyJH/nonebot-plugin-paper
3+
site_url: https://BalconyJH.github.io/nonebot-plugin-paper
4+
site_description: Build a world of open science.
5+
site_author: BalconyJH
6+
edit_uri: edit/main/docs/
7+
repo_name: BalconyJH/nonebot-plugin-paper
8+
copyright: Maintained by <a href="https://github.com/BalconyJH">BalconyJH</a>.
9+
10+
nav:
11+
- Home: index.md
12+
- Modules: modules.md
13+
plugins:
14+
- search
15+
- mkdocstrings
16+
17+
theme:
18+
name: material
19+
feature:
20+
tabs: true
21+
palette:
22+
- media: "(prefers-color-scheme: light)"
23+
scheme: default
24+
primary: white
25+
accent: deep orange
26+
toggle:
27+
icon: material/brightness-7
28+
name: Switch to dark mode
29+
- media: "(prefers-color-scheme: dark)"
30+
scheme: slate
31+
primary: black
32+
accent: deep orange
33+
toggle:
34+
icon: material/brightness-4
35+
name: Switch to light mode
36+
icon:
37+
repo: fontawesome/brands/github
38+
39+
extra:
40+
social:
41+
- icon: fontawesome/brands/github
42+
link: https://github.com/BalconyJH/nonebot-plugin-paper
43+
- icon: fontawesome/brands/python
44+
link: https://pypi.org/project/nonebot-plugin-paper
45+
46+
markdown_extensions:
47+
- toc:
48+
permalink: true
49+
- pymdownx.arithmatex:
50+
generic: true

nonebot_plugin_paper/libs/__init__.py

Whitespace-only changes.

nonebot_plugin_paper/libs/arxiv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ARXIV_LINK_REGEX = r"arxiv\.org"

0 commit comments

Comments
 (0)