You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* develop:
docs: removed codefund docs and plugin (#1262)
docs: remove bundle size from the home page and documentation (#1257)
fix: search can not search the table header (#1256)
fix: after setting the background image, the button is obscured (#1234)
Fix: fixed onlycover flag in mobile (#1243)
fix: Updated docs with instructions for installing specific version (fixes#780) (#1225)
fix: Add error handling for missing dependencies (fixes#1210) (#1232)
[documdocs: deploy docsify in docker. (#1241)
docs: Add embed gist instructions to Embed Files (fixes#932 ) (#1238)
chore: add changelog 4.11.4
[build] 4.11.4
feat: added html sanitizer for remote rendering (#1128)
* consistent location of search result ([e9dd2de](https://github.com/docsifyjs/docsify/commit/e9dd2de384b81619aae2bcbf92f52721cb76a177))
7
+
* cover overlapping sidebar by removing z-index ([0bf03f5](https://github.com/docsifyjs/docsify/commit/0bf03f58103037d100b1635cf3989c8d3672b4ba))
8
+
* cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history". ([#1062](https://github.com/docsifyjs/docsify/issues/1062)) ([fd2cec6](https://github.com/docsifyjs/docsify/commit/fd2cec6bd66c46d6957811fefae4c615c3052a4f)), closes [#1046](https://github.com/docsifyjs/docsify/issues/1046)[#1046](https://github.com/docsifyjs/docsify/issues/1046)[#1046](https://github.com/docsifyjs/docsify/issues/1046)
9
+
* default html img resize if no height included ([#1065](https://github.com/docsifyjs/docsify/issues/1065)) ([9ff4d06](https://github.com/docsifyjs/docsify/commit/9ff4d0677304bc190e7bd9e89bbbdc64895197fa))
10
+
* fixed target and rel issue (fixes [#1183](https://github.com/docsifyjs/docsify/issues/1183)) ([3d662a5](https://github.com/docsifyjs/docsify/commit/3d662a5bf71bbfef077cfbc478df241d794f55a0))
11
+
* Inconsistent search and body rendering ([dcb0aae](https://github.com/docsifyjs/docsify/commit/dcb0aaea99efbd68175f1d1aeb5076b6dde9801e))
* search does not find the contents of the table ([#1198](https://github.com/docsifyjs/docsify/issues/1198)) ([31010e4](https://github.com/docsifyjs/docsify/commit/31010e4979b3d3ab4bd247a09c4ac5fd1405eaa8))
14
+
* The search error after setting the ID in the title ([#1159](https://github.com/docsifyjs/docsify/issues/1159)) ([6e554f8](https://github.com/docsifyjs/docsify/commit/6e554f8ebd3d4a2c5c7e4f66cff3dfe2b6aa1e31))
15
+
* upgrade docsify from 4.10.2 to 4.11.2 ([60b7f89](https://github.com/docsifyjs/docsify/commit/60b7f89b373b0d48ec8406a51eddeaed8126696d))
16
+
17
+
18
+
### Features
19
+
20
+
* added html sanitizer for remote rendering ([#1128](https://github.com/docsifyjs/docsify/issues/1128)) ([714ef29](https://github.com/docsifyjs/docsify/commit/714ef29afe779a6db5c4761ebaacdfc70ee2d8dd))
21
+
* update src/core/index.js to export all global APIs, deprecate old globals in favor of a single global DOCSIFY, and add tests for this ([7e002bf](https://github.com/docsifyjs/docsify/commit/7e002bf939d7837843908417b5445b4f8d36c1cd))
22
+
23
+
24
+
### Reverts
25
+
26
+
* Revert "Updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme" (#1207) ([26cb940](https://github.com/docsifyjs/docsify/commit/26cb940b51d34ee584b8425012a336f38a4abd76)), closes [#1207](https://github.com/docsifyjs/docsify/issues/1207)[#1182](https://github.com/docsifyjs/docsify/issues/1182)
<a><imgsrc="https://github.com/docsifyjs/docsify/workflows/Testing%20the%20e2e%20test%20suites/badge.svg?branch=develop&event=push"alt="Testing the e2e test suites"></a>
Copy file name to clipboardexpand all lines: docs/deploy.md
+46
Original file line number
Diff line number
Diff line change
@@ -135,3 +135,49 @@ frontend:
135
135
| /<*>.md | /<*>.md | 200 (Rewrite) |
136
136
| /<*>.png | /<*>.png | 200 (Rewrite) |
137
137
| /<*> | /index.html | 200 (Rewrite) |
138
+
139
+
140
+
## Docker
141
+
142
+
- Create docsify files
143
+
144
+
You need prepare the initial files instead of making in container.
145
+
See the [Quickstart](https://docsify.js.org/#/quickstart) section for instructions on how to create these files manually or using [docsify-cli](https://github.com/docsifyjs/docsify-cli).
146
+
147
+
```sh
148
+
index.html
149
+
README.md
150
+
```
151
+
152
+
- Create dockerfile
153
+
154
+
```Dockerfile
155
+
FROM node:latest
156
+
LABEL description="A demo Dockerfile for build Docsify."
157
+
WORKDIR /docs
158
+
RUN npm install -g docsify-cli@latest
159
+
EXPOSE 3000/tcp
160
+
ENTRYPOINT docsify serve .
161
+
162
+
```
163
+
164
+
So, current directory structure should be this:
165
+
166
+
```sh
167
+
index.html
168
+
README.md
169
+
Dockerfile
170
+
```
171
+
172
+
- Build docker image
173
+
174
+
```sh
175
+
docker build -f Dockerfile -t docsify/demo .
176
+
```
177
+
178
+
- Run docker image
179
+
180
+
```sh
181
+
docker run -itp 3000:3000 --name=docsify -v $(pwd):/docs docsify/demo
0 commit comments