Skip to content

Commit 15bff4b

Browse files
authored
Merge pull request #58 from pharmaverse/zensical
Migrate from mkdocs-material to zensical
2 parents e52a633 + b20060b commit 15bff4b

File tree

17 files changed

+268
-381
lines changed

17 files changed

+268
-381
lines changed

.github/workflows/docs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
environment:
16+
name: github-pages
17+
url: ${{ steps.deployment.outputs.page_url }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/configure-pages@v5
21+
- uses: actions/checkout@v6
22+
- uses: actions/setup-python@v6
23+
with:
24+
python-version: 3.x
25+
- run: pip install zensical mkdocstrings-python
26+
- run: zensical build --clean
27+
- uses: actions/upload-pages-artifact@v4
28+
with:
29+
path: site
30+
- uses: actions/deploy-pages@v4
31+
id: deployment

.github/workflows/mkdocs.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ wheels/
1111

1212
# pytest
1313
.coverage
14+
15+
# Zensical site
16+
/site/

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
[![CI tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
77
[![Mypy check](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml)
88
[![Ruff check](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml)
9-
[![mkdocs](https://github.com/pharmaverse/py-pkglite/actions/workflows/mkdocs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
9+
[![Documentation](https://github.com/pharmaverse/py-pkglite/actions/workflows/docs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
1010
![License](https://img.shields.io/pypi/l/pkglite)
1111

12-
A simple framework for packing source projects of any language into portable
13-
text files and restoring them into the original directory structure.
12+
A simple framework for packing source projects of any programming language into
13+
portable text files and restoring them into the original directory structure.
1414

1515
Besides the Python API, a command line interface is also provided.
1616

135 KB
Binary file not shown.
166 KB
Binary file not shown.

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
[![CI tests](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ci-tests.yml)
77
[![Mypy check](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/mypy.yml)
88
[![Ruff check](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/pharmaverse/py-pkglite/actions/workflows/ruff-check.yml)
9-
[![mkdocs](https://github.com/pharmaverse/py-pkglite/actions/workflows/mkdocs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
9+
[![Documentation](https://github.com/pharmaverse/py-pkglite/actions/workflows/docs.yml/badge.svg)](https://pharmaverse.github.io/py-pkglite/)
1010
![License](https://img.shields.io/pypi/l/pkglite)
1111

12-
A simple framework for packing source projects of any language into portable
13-
text files and restoring them into the original directory structure.
12+
A simple framework for packing source projects of any programming language into
13+
portable text files and restoring them into the original directory structure.
1414

1515
Besides the Python API, a command line interface is also provided.
1616

docs/reference/classify.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
members:
66
- is_text_file
77
- classify_file
8-
show_root_heading: true
9-
show_source: false

docs/reference/pack.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
options:
55
members:
66
- pack
7-
show_root_heading: true
8-
show_source: false

docs/reference/unpack.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
options:
55
members:
66
- unpack
7-
show_root_heading: true
8-
show_source: false

0 commit comments

Comments
 (0)