diff --git a/docs/deploy.md b/docs/deploy.md index 3ad8a074..6bfe9044 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -82,7 +82,7 @@ server { ### HTML5 router -When using the HTML5 router, you need to set up redirect rules that redirect all requests to your `index.html`, it's pretty simple when you're using Netlify, populate a `\redirects` file in the docs directory and you're all set: +When using the HTML5 router, you need to set up redirect rules that redirect all requests to your `index.html`, it's pretty simple when you're using Netlify, create a file named `_redirects` in the docs directory, add this snippet to the file and you're all set: ```sh /* /index.html 200 @@ -134,4 +134,3 @@ frontend: |----------------|----------------|---------------| | /<*>.md | /<*>.md | 200 (Rewrite) | | /<*> | /index.html | 200 (Rewrite) | - diff --git a/docs/more-pages.md b/docs/more-pages.md index 46e7df8d..e6f9ba0b 100644 --- a/docs/more-pages.md +++ b/docs/more-pages.md @@ -18,9 +18,9 @@ Matching routes ```text docs/README.md => http://domain.com -docs/guide.md => http://domain.com/guide -docs/zh-cn/README.md => http://domain.com/zh-cn/ -docs/zh-cn/guide.md => http://domain.com/zh-cn/guide +docs/guide.md => http://domain.com/#/guide +docs/zh-cn/README.md => http://domain.com/#/zh-cn/ +docs/zh-cn/guide.md => http://domain.com/#/zh-cn/guide ``` ## Sidebar diff --git a/packages/docsify-server-renderer/package-lock.json b/packages/docsify-server-renderer/package-lock.json index a70354ea..9761c1d1 100644 --- a/packages/docsify-server-renderer/package-lock.json +++ b/packages/docsify-server-renderer/package-lock.json @@ -436,4 +436,4 @@ "integrity": "sha512-aSiJz7rGWNAQq7hjMK9ZYDuEawXupcCWgl3woQQSoDP2Oh8O4srWb/uO1PzzHIsrPEOqrjJ2sUb9FERfzuBabQ==" } } -} +} \ No newline at end of file diff --git a/src/themes/buble.styl b/src/themes/buble.styl index 2a07fa94..83714c17 100644 --- a/src/themes/buble.styl +++ b/src/themes/buble.styl @@ -35,9 +35,12 @@ $sidebar-width = 16rem color #333 font-weight 400 +.markdown-section strong + color #333 + font-weight 600 + .markdown-section a color var(--theme-color, $color-primary) - font-weight 400 .markdown-section p, .markdown-section ul, .markdown-section ol line-height 1.6rem