Files
PhpSpreadsheet/mkdocs.mkdocs.yml
T
oleibman 2ad3b70018 Minor Documentation Tweaks
`extra.css` specifies a background color for `td` and `th`. I believe it is used only for the `readthedocs` theme, and I do not see why it is needed there; it slightly interferes with dark mode. Comment it out rather than deleting it, just in case a need is established for it.

Color the top bar for `zensical`.

`mkdocs` theme has a weird problem described in its yml file. There is a workaround, but I'm not comitted to it, so make it available but don't use it yet.
2026-09-17 08:00:51 -07:00

26 lines
975 B
YAML

site_name: PhpSpreadsheet Documentation
#site_url: https://github.com/PHPOffice/phpspreadsheet
repo_url: https://github.com/PHPOffice/phpspreadsheet
#repo_name: PhpSpreadsheet
#edit_uri: edit/master/docs/
theme:
name: mkdocs
color_mode: auto # Options: light, dark, or auto
user_color_mode_toggle: true # Adds a button for users to switch manually
extra_css:
- extra/extra.css
- extra/copyclipboard.css
extra_javascript:
- extra/extrajs.js
- extra/copyclipboard.js
# Mkdocs theme does not honor green and red color for ✔ and ✖.
# I am at a loss to explain why, or even how; no other theme has this problem.
# These are used on features-cross-reference page.
# The following script converts to thinner versions of those
# symbols; I'm not sure it's worth it, especially since the
# thin checkmark is a little difficult to see in dark mode.
# - extra/nothickcheck.js
markdown_extensions:
- md_in_html