Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobhsu/ai
https://github.com/jacobhsu/ai
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacobhsu/ai
- Owner: JacobHsu
- Created: 2024-11-18T05:49:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T06:43:30.000Z (about 2 months ago)
- Last Synced: 2024-11-18T06:51:45.388Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://jacobhsu.github.io/ai
- Size: 1.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ai
## MkDocs
使用 MkDocs 部署到 GitHub Pages
`$ mkdocs gh-deploy`[Installation Guide](https://www.mkdocs.org/user-guide/installation/)
```bash
$ python3 --version
Python 3.13.0
$ pip3 --version
pip 24.2 from /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip (python 3.13)
``````bash
$ pip3 install mkdocs
Collecting mkdocs
Downloading mkdocs-1.6.1-py3-none-any.whl.metadata (6.0 kB)
Collecting click>=7.0 (from mkdocs)
...
``````bash
$ mkdocs new books
$ cd books
``````bash
$ mkdocs serve
```
Serving on http://127.0.0.1:8000/### theme
`$ pip3 install mkdocs-material`
yml
```js
theme:
name: material
custom_dir: overrides
palette:
primary: indigo
accent: pink
font:
text: Roboto
code: Roboto Mono
```在專案根目錄下建立overrides資料夾,並在其中新增自訂的HTML/CSS/JS 檔案。例如:
`overrides/main.html`用於自訂模板。
`overrides/extra.css`用於自訂樣式。