+github.com/squidfunk/mkdocs-material (#4864)

This commit is contained in:
tannevaled 2024-01-16 16:36:59 +01:00 committed by GitHub
parent 1e11cd72b1
commit bd05b750cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,51 @@
site_name: pkgx test
#docs_dir:
nav:
- index.md
theme:
name: material
feature:
tabs: true
palette:
primary: blue
features:
- navigation.expand
- navigation.top
- content.code.copy
- content.code.annotate
extra:
repo_icon: gitlab
extra_css:
- custom.css
markdown_extensions:
- admonition
- codehilite
- footnotes
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- toc:
permalink: true

View file

@ -0,0 +1,22 @@
display-name: squidfunk/mkdocs-material
distributable:
url: https://github.com/squidfunk/mkdocs-material/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: squidfunk/mkdocs-material
dependencies:
python.org: ">=3<3.12"
build:
script: python-venv.sh {{prefix}}/bin/mkdocs
provides:
- bin/mkdocs
test:
script: |
mkdir docs
mv index.md docs/
mkdocs build