Fixed docs (#828)
This commit is contained in:
parent
0cf751c053
commit
66f92457fd
|
@ -4,7 +4,7 @@ index a5a37ac..e381ce8 100644
|
|||
+++ b/docs/BUILD.bazel
|
||||
@@ -35,7 +35,7 @@ genrule(
|
||||
cmd = """cat << EOF > $@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
set -e
|
||||
-cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/README.md
|
||||
+cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/src/index.md
|
||||
|
|
|
@ -4,7 +4,7 @@ index a5a37ac..091e679 100644
|
|||
+++ b/docs/BUILD.bazel
|
||||
@@ -35,7 +35,7 @@ genrule(
|
||||
cmd = """cat << EOF > $@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
set -e
|
||||
-cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/README.md
|
||||
+cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/src/index.md
|
||||
|
|
|
@ -10,7 +10,7 @@ index 461df15..efa4c26 100644
|
|||
+ srcs = DOCS_TARGETS + ["index.md"],
|
||||
outs = ["generate_docs.sh"],
|
||||
cmd = """cat << EOF > $@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
-cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:flatten_docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/flatten.md
|
||||
-cat \\$${BUILD_WORKSPACE_DIRECTORY}/$(location //:cmake_docs) > \\$${BUILD_WORKSPACE_DIRECTORY}/cmake.md
|
||||
|
|
Loading…
Reference in New Issue