File tree 1 file changed +12
-2
lines changed 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,22 @@ git checkout r4.4.0
36
36
./gradlew clean docs
37
37
```
38
38
39
+ You need to create the ` <version>/apidocs ` directory yourself before
40
+ copying the generated API docs files.
41
+
42
+ Run the following commands to create the ` apidocs ` directory:
43
+
44
+ ```` sh
45
+ cd docs-java-other/mongo-java-driver
46
+ mkdir -p < version> /apidocs
47
+ ```
48
+
39
49
Then copy the ` build/docs` folder into the ` apidocs` directory. For example,
40
50
if the ` mongo-java-driver` repo is on a sibling level with this repo, run the following command:
41
51
42
52
` ` ` sh
43
53
cp -a ../mongo-java-driver/build/docs ./mongo-java-driver/< version> /apidocs
44
- ```
54
+ ` ` ` `
45
55
46
56
Your submodule directory should contain a directory structure that resembles the following:
47
57
@@ -53,7 +63,7 @@ Your submodule directory should contain a directory structure that resembles the
53
63
54
64
To publish the documentation, run the following commands in your shell from the ` docs-java-other` repository location:
55
65
56
- ``` js
66
+ ` ` ` sh
57
67
cd mongo-java-driver
58
68
git add .
59
69
git commit -m < message>
You can’t perform that action at this time.
0 commit comments