mirror of
https://github.com/Respect/Validation.git
synced 2026-03-14 14:25:45 +01:00
Improve syntax highlighting in MkDocs pages
The syntax of PHP code was not showing with different colors, but shown as plain/text.
This commit is contained in:
parent
0fbe5d53d9
commit
9cbb563a84
3 changed files with 15 additions and 0 deletions
|
|
@ -5,5 +5,9 @@ build:
|
|||
tools:
|
||||
python: "3.12"
|
||||
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
|
||||
mkdocs:
|
||||
configuration: mkdocs.yml
|
||||
|
|
|
|||
3
docs/requirements.txt
Normal file
3
docs/requirements.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
mkdocs>=1.5.0
|
||||
pymdown-extensions>=10.0
|
||||
|
||||
|
|
@ -1,2 +1,10 @@
|
|||
site_name: Respect\Validation
|
||||
theme: readthedocs
|
||||
|
||||
markdown_extensions:
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
line_spans: __span
|
||||
pygments_lang_class: true
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.superfences
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue