mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-01 09:27:49 +00:00
d13f34b84e
Special handling in javascript and css for any image whose `alt` value starts with `Logo`, rather than targeting one specific value. Remove 2 no-longer relevant statements from `extra.css`. Add css member for `mkdocs` theme. Add link to PhpSpreadsheet site to the bottom line of each page for `readthedocs` and `mkdocs` themes. In theory, these links should already exist, and they do locally, but not, for some reason, when run on readthedocs.io. This link is different from the `Edit on Github` link at the top, which is a kind of interesting feature. Add a bookmarklet on the main page for toggling images to dark mode, which would probably be the preference for users employing dark mode. Images are usually left unchanged in dark mode, but almost all our images are screenshots, and dark mode might be appropriate for them.
28 lines
1022 B
YAML
28 lines
1022 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/mkdocs.css
|
|
extra_javascript:
|
|
- extra/extrajs.js
|
|
- extra/copyclipboard.js
|
|
- extra/sitelink2.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
|