Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better website for docs #855

Merged
merged 9 commits into from
Sep 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 38 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,55 @@ theme:
font:
text: Raleway
palette:
primary: deep orange
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep orange
accent: orange
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: deep orange
accent: orange
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.sections
- navigation.instant
- navigation.instant.prefetch
- content.code.copy
- navigation.footer
- content.action.edit
- navigation.top
- search.suggest
- search.highlight
- search.share

extra:
homepage: https://codeigniter.com
generator: false

social:
- icon: fontawesome/brands/github
- icon: material/github
link: https://github.com/codeigniter4/shield
name: GitHub
- icon: material/twitter
link: https://twitter.com/CodeIgniterPhp
name: X
- icon: material/forum
link: https://forum.codeigniter.com
name: Forum Codeigniter
- icon: material/slack
link: https://join.slack.com/t/codeigniterchat/shared_invite/zt-244xrrslc-l_I69AJSi5y2a2RVN~xIdQ
name: Slack


repo_url: https://github.com/codeigniter4/shield
edit_uri: edit/develop/docs/
copyright: Copyright © 2023 CodeIgniter Foundation.

markdown_extensions:
- pymdownx.superfences
Expand Down