Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b43d1c7
docs: remove Matomo plugin and update embedded website link (#2696)
sy-records Mar 18, 2026
851db13
chore: bump flatted from 3.3.1 to 3.4.2 (#2698)
dependabot[bot] Mar 20, 2026
17d5fd2
chore: bump postcss-nesting from 13.0.0 to 14.0.0 (#2688)
dependabot[bot] Mar 21, 2026
f3ab502
feat: add pageTitleFormatter config (#2695)
sy-records Mar 23, 2026
4f6cf94
chore: bump picomatch (#2701)
dependabot[bot] Mar 26, 2026
9000471
chore: bump handlebars from 4.7.8 to 4.7.9 (#2703)
dependabot[bot] Mar 27, 2026
0784ebc
fix: enhance slugify function to handle markdown links (#2697)
sy-records Mar 29, 2026
f0f17cf
chore: bump serialize-javascript and @rollup/plugin-terser (#2705)
dependabot[bot] Apr 1, 2026
72c0d63
fix: enhance sidebar navigation link selection for decoded URLs (#2708)
sy-records Apr 2, 2026
ee6fef4
fix: implement normalize method in html5.js (#2712)
sy-records Apr 4, 2026
f8ec7ac
fix: normalizing language input and escaping HTML (#2716)
sy-records Apr 9, 2026
b8f7032
fix: escape HTML in image, link, and media components (#2718)
sy-records Apr 10, 2026
ab66598
chore: bump lodash from 4.17.23 to 4.18.1 (#2717)
dependabot[bot] Apr 10, 2026
aae5be3
chore: bump axios from 1.8.2 to 1.15.0 (#2719)
dependabot[bot] Apr 11, 2026
f7418f4
chore: bump @rollup/plugin-babel from 6.0.4 to 7.0.0
dependabot[bot] Apr 2, 2026
870881a
fix: enhance embed token handling in paragraphs and table cells
sy-records Apr 15, 2026
18b03e4
fix: correct grammar in 'Edit on github' section of plugins.md
sy-records Apr 28, 2026
eefe3cc
chore: bump axios from 1.15.0 to 1.15.2 (#2728)
dependabot[bot] May 8, 2026
16b87d9
chore: bump postcss from 8.4.39 to 8.5.14 (#2727)
dependabot[bot] May 14, 2026
1d8c5ee
chore: bump follow-redirects from 1.15.11 to 1.16.0 (#2720)
dependabot[bot] May 14, 2026
8a8ef85
chore: bump marked from 17.0.1 to 18.0.3 (#2723)
dependabot[bot] May 14, 2026
54930e6
chore: bump @babel/plugin-transform-modules-systemjs from 7.24.7 to 7…
dependabot[bot] May 14, 2026
09e85d4
fix: exclude headings inside blockquotes from sidebar TOC (#2691)
Bowl42 May 15, 2026
4c19380
chore: bump qs from 6.14.2 to 6.15.2 (#2733)
dependabot[bot] May 24, 2026
ab96d74
feat: improve indexing and embedded search (#2734)
sy-records Jun 3, 2026
ab54d53
fix: keep anchor links aligned after layout changes (#2731)
apples-kksk Jun 3, 2026
a513051
chore: bump axios from 1.15.2 to 1.16.0 (#2735)
dependabot[bot] Jun 6, 2026
7900bea
chore: bump shell-quote from 1.8.1 to 1.8.4 (#2743)
dependabot[bot] Jun 10, 2026
cebb49f
fix: improve cache handling and error recovery (#2744)
sy-records Jun 14, 2026
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
739 changes: 644 additions & 95 deletions CHANGELOG.md

Large diffs are not rendered by default.

737 changes: 0 additions & 737 deletions HISTORY.md

This file was deleted.

2 changes: 1 addition & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
git stash pop

# Changelog
npx conventional-changelog -p angular -i CHANGELOG.md -s
npx standard-version --skip.bump --skip.commit --skip.tag

# Commit all changes
git add -A
Expand Down
20 changes: 19 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,24 @@ window.$docsify = {
};
```

## pageTitleFormatter

- Type: `Function`
- Default: `null`

Optional function to customize how the site `name` is used when composing the document title. If provided, Docsify will call this function with the configured `name` (which may contain HTML) and use the returned string as the title portion for the site name — Docsify will not automatically strip HTML or otherwise modify the value. If not provided, Docsify falls back to the default behavior of stripping HTML tags from `name`.

Basic example — strip HTML and trim (equivalent to Docsify's default behavior):

```js
window.$docsify = {
name: '<span>My Site</span>',
pageTitleFormatter(name) {
return name ? name.replace(/<[^>]+>/g, '').trim() : '';
},
};
```

## hideSidebar

- Type : `Boolean`
Expand Down Expand Up @@ -456,7 +474,7 @@ window.$docsify = {

## name

- Type: `Boolean | String`
- Type: `Boolean|String`

Website name as it appears in the sidebar.

Expand Down
22 changes: 19 additions & 3 deletions docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ Your `firebase.json` file should look similar to this (I changed the deployment

Once finished, build the starting template by running `docsify init ./site` (replacing site with the deployment directory you determined when running `firebase init` - public by default). Add/edit the documentation, then run `firebase deploy` from the root project directory.

## VPS
## Nginx

Use the following nginx config.
Use the following Nginx configuration.

```nginx
server {
listen 80;
server_name your.domain.com;
server_name your.domain.com;

location / {
alias /path/to/dir/of/docs/;
Expand All @@ -74,6 +74,22 @@ server {
}
```

If [`routerMode`](configuration.md#routermode) is set to `history`, use this configuration instead:

```nginx
server {
listen 80;
server_name your.domain.com;

root /path/to/dir/of/docs;
index index.html;

location / {
try_files $uri $uri/ /index.html;
}
}
```

## Netlify

1. Login to your [Netlify](https://www.netlify.com/) account.
Expand Down
4 changes: 2 additions & 2 deletions docs/embed-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ If you embed the file as `iframe`, `audio` and `video`, then you may need to set
```

```markdown
[cinwell website](https://google.com ':include :type=iframe width=100% height=400px')
[cinwell website](https://cinwell.com ':include :type=iframe width=100% height=400px')
```

[cinwell website](https://google.com ':include :type=iframe width=100% height=400px')
[cinwell website](https://cinwell.com ':include :type=iframe width=100% height=400px')

Did you see it? You only need to write directly. You can check [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) for these attributes.

Expand Down
5 changes: 0 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@
// routerMode: 'history',
subMaxLevel: 2,
gtag: 'G-H77Y58DS3L',
matomo: {
host: '//matomo.thunderwave.de',
id: 6,
},
name: 'docsify',
nameLink: {
'/zh-cn/': '#/zh-cn/',
Expand Down Expand Up @@ -240,7 +236,6 @@
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/front-matter.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/gtag.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/matomo.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Exclude the special image

## Edit on github

Add `Edit on github` button on every pages. Provided by [@njleonzhang](https://github.com/njleonzhang), see this [document](https://github.com/njleonzhang/docsify-edit-on-github)
Add `Edit on github` button on every page. Provided by [@njleonzhang](https://github.com/njleonzhang), see this [document](https://github.com/njleonzhang/docsify-edit-on-github)

## Demo code with instant preview and jsfiddle integration

Expand Down
Loading
Loading