We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a7e9a commit 2cb9815Copy full SHA for 2cb9815
etc/generate-docs.sh
@@ -28,13 +28,18 @@ jazzy_args=(--clean
28
modules=( BSON )
29
30
for module in "${modules[@]}"; do
31
- args=("${jazzy_args[@]}" --output "docs/${module}" --module "${module}"
+ args=("${jazzy_args[@]}" --output "docs-temp/${module}" --module "${module}"
32
--root-url "https://mongodb.github.io/swift-bson/docs/${module}/")
33
jazzy "${args[@]}"
34
done
35
36
# switch to docs branch to commit and push
37
git checkout gh-pages
38
+
39
+rm -rf docs/*
40
+cp -r docs-temp/* docs/
41
+rm -rf docs-temp
42
43
git add docs/
44
git commit -m "${version} docs"
45
git push
0 commit comments