-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmkdocs.yml
More file actions
155 lines (144 loc) · 5.09 KB
/
Copy pathmkdocs.yml
File metadata and controls
155 lines (144 loc) · 5.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Project Information
site_name: "Hython"
site_description: "Hython is a Python interpreter written in Haxe."
site_author: "PaoPaoDev (Paopun20)"
site_url: https://paopun20.github.io/Hython/
repo_url: https://github.com/Paopun20/Hython
repo_name: "Hython"
# Copyright - Corrected to match the actual license
copyright: "Copyright © 2025 PaoPaoDev - Licensed under the MIT"
theme:
name: material
icon:
logo: simple/python
favicon: images/favicon.png
font:
text: Roboto
code: Roboto Mono
features:
# Content Features
- content.code.copy # Enable copy button for code blocks
- content.code.annotate # Enable annotations in code blocks
- content.code.select # Enable selection highlighting
- content.code.highlight # Enable syntax highlighting
- content.code.line-numbers # Add line numbers to code blocks
- content.tabs.link # Link tabs for better navigation
# Navigation Features
- navigation.expand # Expand navigation sections by default
- navigation.indexes # Include index pages in navigation
- navigation.tabs # Use tabs for top-level navigation
- navigation.sections # Group navigation items into sections
- navigation.top # Add a back-to-top button
# Search Features
- search.highlight # Highlight search terms on page
- search.share # Enable sharing search queries
- search.suggest # Provide search suggestions
# Table of Contents
- toc.integrate # Integrate TOC with navigation sidebar
# Back to Top
- content.code.back-to-top # Add back-to-top button for code blocks
palette:
# Palette toggle for automatic switching based on system preference
- media: "(prefers-color-scheme)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/lightbulb-auto
name: Switch to light mode
# Palette for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/lightbulb
name: Switch to dark mode
# Palette for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/lightbulb-outline
name: Switch to system preference
highlightjs: true
hljs_languages:
- luau
nav:
- index.md
- usage.md
- api.md
- features.md
plugins:
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- minify:
minify_html: true
- git-revision-date-localized: # Optional: Show last updated date
type: date
fallback_to_build_date: true
extra:
status:
new: New
deprecated: Deprecated
experimental: Experimental
repo_icon: material/github
social:
- icon: fontawesome/brands/github
link: https://github.com/Paopun20
# Markdown Extensions (Enhanced)
markdown_extensions:
# Standard Markdown Extensions
- abbr
- admonition # For callout blocks (notes, warnings, etc.)
- attr_list # For adding attributes to Markdown elements
- def_list
- footnotes
- md_in_html # Allow Markdown inside HTML blocks
- toc:
permalink: true # Add permalink anchors to headings
# PyMdown Extensions (Highly recommended for Material)
- pymdownx.arithmatex: # For LaTeX math rendering
generic: true
- pymdownx.betterem: # Improved emphasis handling
smart_enable: all
- pymdownx.caret # For inserting superscript/subscript
- pymdownx.details # For collapsible details/summary elements
- pymdownx.emoji: # For emoji support
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight: # Enhanced code highlighting
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite # For highlighting inline code
- pymdownx.keys # For keyboard key formatting
- pymdownx.magiclink: # Automatically link GitHub issues, commits, etc.
normalize_issue_symbols: true
repo_url_shorthand: true
user: Paopun20 # GitHub username
repo: Hython # GitHub repository name
- pymdownx.mark # For highlighting text
- pymdownx.smartsymbols # For smart quotes, arrows, etc.
- pymdownx.snippets: # For including external files in docs
auto_append:
- includes/mkdocs.md # Example include file
- pymdownx.superfences: # Enhanced code fences
custom_fences:
- name: mermaid # For Mermaid diagrams (like the one shown on the site)
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed: # For tabbed content
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist: # For checklists
custom_checkbox: true
- pymdownx.tilde # For strikethrough text
extra_javascript:
- path: https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
- path: https://unpkg.com/katex@0/dist/katex.min.js
- path: https://unpkg.com/katex@0/dist/contrib/auto-render.min.js