File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ The default is `gh-pages`.
240
240
# ## ⭐️ Source Directory `publish_dir`
241
241
242
242
A source directory to deploy to GitHub Pages. The default is `public`.
243
+ Only the contents of this dir are pushed to GitHub Pages branch, `gh-pages` by default.
243
244
244
245
` ` ` yaml
245
246
- name: Deploy
@@ -1035,6 +1036,10 @@ jobs:
1035
1036
publish_dir: ./book
1036
1037
` ` `
1037
1038
1039
+ Hint : you may want to publish your rustdocs. And use relative links to it from the md docs, and have them checked by `mdbook`.
1040
+ Then, according to the [doc](https://rust-lang.github.io/mdBook/guide/creating.html#source-files), you may put `./target/doc/`
1041
+ to your `./book/src` dir before you `mdbook build` and then it will end up in `./book/html/` and in your Github Pages.
1042
+
1038
1043
# ## ⭐️ Flutter Web
1039
1044
1040
1045
An example workflow for [Flutter web project].
You can’t perform that action at this time.
0 commit comments