78 Commits

Author SHA1 Message Date
Paul Hibbitts 🍁
8fe0e1c0f1
docs: Update intro paragraph to help improve first impressions and broaden audience (#2602)
Co-authored-by: Luffy <lufei@docsifyjs.org>
2025-09-28 10:43:05 +08:00
Luffy
41fd8f624e
chore: remove sponsors section (#2544)
* chore: Remove Gold sponsors section

Because they don't sponsor us anymore.

* chore: Remove route4me logo

---------

Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2025-05-06 17:12:42 +08:00
Luffy
676f5f8842
docs: Add Gold sponsors (#2485) 2024-08-08 13:47:37 +08:00
John Hildenbiddle
77d93fae78
feat: v5 style overhaul (#2469)
Style updates:

- New "core" theme serves as base for all other themes (official and third-party)
- New CSS custom properties for simplified customization of "core" theme
  **Note:** List of available properties will be made available in documentation by embedding soruce CSS in docs after merge. Merge is required because embedded CSS needs to be in `main` branch. For now, see `_vars.css` and `_vars-advanced.css` for details.
- New theme "add-ons" modify core theme properties and/or add custom declarations as needed.
- New Prism.js theme support
- New configurable sidebar toggle design
- New typography defaults to system sans-serif and monospace fonts instead of relying on external web font.
- New "Core Dark" theme addon provide dark theme styles. Can optionally be applied based on operating system's light/dark setting using `@media` attribute on `<link>` element.
- New "Vue" theme addon. Closely replicated popular v4 theme while allowing for v5 enhancements.
- New CSS class names available for adding loading indicators, adding sidebar expand/collapse icons, adding sidebar group styles, clamping sidebar links to a single line with ellipses, and changing the sidebar toggle icon.
- New auto-generated gradient background for cover page (ensure gradient hue is > 50 degree apart, use OKLCH color if supported, randomize grandient angle, reduce brightness in dark mode)
- New button styles (basic, primary, secondary)
- New form element styles (text input, radio, checkbox, )
- New "callouts" (previously "important" and "tip" helpers)
- New default syntax highlighting theme (from [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/))
- New auto-generated theme color shade and tint colors
- New auto-generated monochromatic color palette
- New form element styles (fields, legend, text input, text area, checkbox, radio, toggles, and select)
- New "headerless" tables
- New `kbd` styles
- New task list style
- New merged navbar styles (consistent with sidebar nav styles)
- New search plugin styles and keyboard shortcut indicators
- Add ability restore previously focused content element after hiding sidebar
- Add "focus trap" when sidebar is visible on mobile (accessibility)
- Add ability for sidebar links to wrap by default (previous single-line w/ ellipsis display available as CSS class on `<body>` option)
- Add sidebar `page-link`, `group`, and `group-title` CSS classes to sidebar markup.
- Add reduced motion media query to set all animation/transition timings to zero
- Update Google Font imports (use new variable vs older fixed width fonts)
- Update primary/secondary button order on coverpage (primary should be first)
- Fix missing merged navbar when loading at desktop resolution then resizing to mobile
- Fix inverted open/close sidebar visibility state at desktop/mobile resolutions
- Fix overflow setting to prevent clipping of element focus ring
- Fix safe area inset margins on mobile in landscape orientation
- Fix inverted "tip" and "warn" class names
- Fix scroll padding to prevent headers from touching top edge of viewport when scrolled to
- Remove Stylus dependency (now using only PostCSS)
- Remove legacy themes "Buble", "Dark", "Dolphin", and "Pure".

Documentation updates:

- New "UI Kit" page showcasing all elements styled by Docsify
- Update "Quick Start" page template
- Update "Adding pages" page with information on how to properly create sidebar group titles and navbar drop-down menus
- Update "Themes" page with theme and class toggles
- Update "Configuration" page with deprecation warnings for `themeColor` and `topMargin`
- Move "Edit Page" link to footer
- Remove [docsify-themeable](https://jhildenbiddle.github.io/docsify-themeable/) endorsement (currently not compatible with v5 and future is unknown)

Miscellaneous updates:

- New search plugin options: `insertBefore` and `insertAfter`
- Add PostCSS config file
- Update BrowserSync config (disable "ghost" mode)
- Update tests
- Fix Jest + Prettier 3 conflict
- Fix `getAndRemoveDocisfyIgnoreConfig` name type (now `Docisfy` => `Docsify`)
- Fix execution of sidebar-generating code when `hiddenSidebar` is `true`
- Remove `inBrowser` constant (SSR deprecated, so no longer needed)
2024-07-19 15:34:51 +00:00
Joe Pea
b621e0e4e7 chore: update miscellaneous parts of the source to reasonably modern language alternatives, remove polyfills, improve some JSDoc comments, remove traces of IE
BREAKING: In a minority of cases syntax updates may break apps running in very old browsers (such as Internet Explorer), or apps that build Docsify in a custom way with old build tools. To upgrade, build Docsify for older browsers in a custom way, or update existing build tools to handle newer syntax.

DEPRECATED: `$docsify.themeColor` is deprecated and will be eventually removed, use a `--theme-color` CSS variable in your style sheet.
2023-07-03 01:50:00 -07:00
Joe Pea
8d5d20480a refactor: delete the experimental and incomplete SSR feature
BREAKING: SSR removed

Anyone depending on SSR will need to stay on an old Docsify version for
now, move forward without SSR, or maintain SSR against a fork of updated
Docsify. We have ideas on a better way to implement SSR, but these ideas
have not been implemented yet.
2023-06-25 12:03:44 -07:00
沈唁
2d13255acb
chore: update vercel logo (#1776)
* chore: update vercel logo

* chore: update vercel logo

* chore: remove vercel link form github pages

* chore: update style

* chore: update readme

* chore: update readme

* chore: update readme
2022-03-24 00:46:36 +08:00
沈唁
093d4a0081
chore: update vercel link (#1775)
* chore: update vercel link
2022-03-19 23:58:07 +08:00
沈唁
18cd18ce04
docs: update readme (#1740) 2022-02-02 17:50:20 +08:00
沈唁
a8016c8d74
docs: Update Vercel logo link (#1520) 2021-02-20 15:54:30 +08:00
Koy
065cdd4223
chore: change Gitter to Discord throughout project. (#1507)
* chore: change Gitter to Discord throughout project.
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-02-13 09:18:54 +08:00
Anix
537597c313
docs: add vercel logo (#1267)
* docs: add vercel logo

* update vercel svg to file

Co-authored-by: sy-records <52o@qq52o.cn>
2020-07-04 16:02:16 +05:30
Kirby Fernandez
163681a059
docs: remove bundle size from the home page and documentation (#1257)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-07-02 21:02:47 +05:30
Rodrigo Bermudez Schettino
11bbd4cd27 Readme: Improve outdated links to showcase
Link to Showcase in awesome-docsify.
2019-05-05 18:50:31 +02:00
Anton Wilhelm
314e2d9d39
Align IE support from root README.md 2019-04-14 11:27:03 +02:00
qingwei.li
e89a2b3fea chore: update file size 2018-10-31 22:17:55 +08:00
Waldir Pimenta
47a8d5faa4 chore: README: various small tweaks (#651)
- Change "What is it" heading to "What it is", as it's not a question
- Expand SSR acronym
- Slightly reword some passages for clarity
2018-10-23 15:01:55 +08:00
cinwell.li
266d13bca6
docs: update md, fixed #570 2018-07-09 19:03:08 +08:00
Johannes Rappen
73a38c3878 chore: update german docs, fix links (#560)
* updated german links
* fixed links where `QingWei-Li` should've been `docsifyjs`
  * naturally excluded donate links and links to private projects like `vuep` unrelated to docsify

---

See commit for details. If you have a question, just ask.
2018-07-01 13:48:44 +08:00
qingwei.li
a91d2dab67 docs: add gitter 2018-06-29 22:22:14 +08:00
qingwei.li
7a33ec2133 docs: update file size 2018-02-11 22:22:06 +08:00
qingwei.li
bb793ec08e
update package size 2017-06-02 22:37:27 +08:00
qingwei.li
db8400a6ac
docs: add feature 2017-05-31 22:19:43 +08:00
qingwei.li
8f11653b41 feat(route): auto remove .md extension 2017-03-25 15:52:21 +08:00
Johannes Rappen
6eada5a2f7 update english docs 2017-03-09 22:19:07 +01:00
qingwei.li
83ae93cae0 docs: update package size 2017-02-24 20:18:17 +08:00
qingwei.li
855c450a97 feat(emoji): add emoji plugin 2017-02-22 22:30:07 +08:00
Jintzo
feb4b89461 Update docs: Getting started (#85)
* fixed look of links in blockquote

* updated main README

* updated getting started

* updated more-pages

* make custom sidebar loading clear

* updated custom navbar

* added markdown comments

* updated cover documentation

* updated cover page

* updated sidebar
2017-02-21 14:04:16 +08:00
qingwei.li
8bee8f0213 refactor(core): add render 2017-02-19 14:38:38 +08:00
qingwei.li
a6d9669bfa docs: update package size 2017-02-15 20:00:56 +08:00
qingwei.li
7c6ab54ba7 docs(en) finish 2017-02-13 22:43:58 +08:00
qingwei.li
19b66904fb docs: add alias 2017-02-11 10:21:38 +08:00
cinwell.li
ac61bb0e75 feat(plugins): add Google Analytics plugin (#66) 2017-02-09 22:16:15 +08:00
qingwei.li
0ca1ece188 docs(README): fix typo 2017-02-09 21:24:14 +08:00
qingwei.li
e1da2f8a84 docs(README): add search 2017-02-09 21:24:14 +08:00
qingwei.li
6e35f6481a docs: update api 2017-02-05 13:53:36 +08:00
qingwei.li
fef969f55d clean api 2017-02-05 10:26:25 +08:00
qingwei.li
5cc9f0514c feat: customize the theme color 2017-02-05 10:26:25 +08:00
cinwell.li
0709239c77 1.9 (#62)
* Destroys the vue instance when the route is changed

* Add new doc helper

* Update docs
2017-01-24 22:29:50 +08:00
qingwei.li
c998fad98e Add docs 2017-01-12 20:28:59 +08:00
qingwei.li
a309d3041e Update docs 2017-01-12 18:44:41 +08:00
qingwei.li
f540e3c4fc Add bash/markdown highlight 2017-01-10 23:55:58 +08:00
qingwei.li
510ae37a04 Add doc 2017-01-10 23:32:25 +08:00
qingwei.li
ef53a07f49 Add new markdown grammar & improve sidebar performance. 2017-01-10 23:16:55 +08:00
qingwei.li
847cf3b656 Update readme 2017-01-05 10:33:48 +08:00
Sina Nedadahandeh
356b937d44 Clean up readme (#48)
* Readme/homepage cleanup

* Readme cleanup
2017-01-05 10:31:41 +08:00
qingwei.li
e5452243b1 Update docs 2017-01-04 21:41:35 +08:00
qingwei.li
b287f57c86 Add custom cover background 2016-12-31 13:40:29 +08:00
qingwei.li
e932ff66b9 max-sub-level => sub-max-level 2016-12-31 11:50:30 +08:00
nsina
7a10e4aecf Readme/homepage cleanup 2016-12-31 10:22:31 +08:00