Skip to content

Commit 9bf2527

Browse files
committed
refactor(shared-docs): rename markdown to pipeline (#1939)
Rename the markdown directory to pipeline as its more accurate for whats contained in the directory PR Close #1939
1 parent 28dd48e commit 9bf2527

File tree

148 files changed

+67
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+67
-67
lines changed

bazel/api-gen/rendering/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ts_library(
3636
tsconfig = "//:tsconfig.json",
3737
visibility = [
3838
"//bazel/api-gen/rendering:__pkg__",
39-
"//docs/markdown/guides:__pkg__",
39+
"//docs/pipeline/guides:__pkg__",
4040
],
4141
)
4242

docs/BUILD.bazel

+12-12
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ ng_package(
2525
"index.bzl",
2626
"package.json",
2727
"//docs/icons",
28-
"//docs/markdown:BUILD.bazel",
29-
"//docs/markdown:_guides.bzl",
30-
"//docs/markdown:_playground.bzl",
31-
"//docs/markdown:_stackblitz.bzl",
32-
"//docs/markdown:_tutorial.bzl",
33-
"//docs/markdown:guides.mjs",
34-
"//docs/markdown:guides-no-mermaid.mjs",
35-
"//docs/markdown:playground.mjs",
36-
"//docs/markdown:stackblitz.mjs",
37-
"//docs/markdown:tutorial.mjs",
38-
"//docs/markdown/examples/template:files",
39-
"//docs/markdown/tutorial/common:files",
28+
"//docs/pipeline:BUILD.bazel",
29+
"//docs/pipeline:_guides.bzl",
30+
"//docs/pipeline:_playground.bzl",
31+
"//docs/pipeline:_stackblitz.bzl",
32+
"//docs/pipeline:_tutorial.bzl",
33+
"//docs/pipeline:guides.mjs",
34+
"//docs/pipeline:guides-no-mermaid.mjs",
35+
"//docs/pipeline:playground.mjs",
36+
"//docs/pipeline:stackblitz.mjs",
37+
"//docs/pipeline:tutorial.mjs",
38+
"//docs/pipeline/examples/template:files",
39+
"//docs/pipeline/tutorials/common:files",
4040
"//docs/styles",
4141
],
4242
substitutions = NPM_PACKAGE_SUBSTITUTIONS,

docs/index.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
load("//docs/markdown:_guides.bzl", _generate_guides = "generate_guides")
2-
load("//docs/markdown:_stackblitz.bzl", _generate_stackblitz = "generate_stackblitz")
3-
load("//docs/markdown:_playground.bzl", _generate_playground = "generate_playground")
4-
load("//docs/markdown:_tutorial.bzl", _generate_tutorial = "generate_tutorial")
1+
load("//docs/pipeline:_guides.bzl", _generate_guides = "generate_guides")
2+
load("//docs/pipeline:_stackblitz.bzl", _generate_stackblitz = "generate_stackblitz")
3+
load("//docs/pipeline:_playground.bzl", _generate_playground = "generate_playground")
4+
load("//docs/pipeline:_tutorial.bzl", _generate_tutorial = "generate_tutorial")
55

66
generate_guides = _generate_guides
77
generate_stackblitz = _generate_stackblitz

docs/markdown/guides/testing/docs-code/docs-code.md

-10
This file was deleted.

docs/markdown/guides/testing/docs-decorative-header/docs-decorative-header.md

-3
This file was deleted.

docs/markdown/BUILD.bazel renamed to docs/pipeline/BUILD.bazel

+19-19
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
55
# the package.
66
load("//tools:defaults.bzl", "esbuild_esm_bundle")
77

8-
package(default_visibility = ["//docs/markdown:__subpackages__"])
8+
package(default_visibility = ["//docs/pipeline:__subpackages__"])
99

1010
esbuild_esm_bundle(
1111
name = "guides",
1212
define = {
1313
"HANDLE_MERMAID": "true",
1414
},
15-
entry_point = "//docs/markdown/guides:index.ts",
15+
entry_point = "//docs/pipeline/guides:index.ts",
1616
# JSDOM should not be bundled because it has workers and dynamic imports.
1717
# playwright-core cannot be bundled because of its cjs usage.
1818
external = [
@@ -24,7 +24,7 @@ esbuild_esm_bundle(
2424
target = "es2022",
2525
visibility = ["//visibility:public"],
2626
deps = [
27-
"//docs/markdown/guides:index",
27+
"//docs/pipeline/guides:index",
2828
],
2929
)
3030

@@ -33,7 +33,7 @@ esbuild_esm_bundle(
3333
define = {
3434
"HANDLE_MERMAID": "false",
3535
},
36-
entry_point = "//docs/markdown/guides:index.ts",
36+
entry_point = "//docs/pipeline/guides:index.ts",
3737
# JSDOM should not be bundled because it has workers and dynamic imports.
3838
external = [
3939
"jsdom",
@@ -43,57 +43,57 @@ esbuild_esm_bundle(
4343
target = "es2022",
4444
visibility = ["//visibility:public"],
4545
deps = [
46-
"//docs/markdown/guides:index",
46+
"//docs/pipeline/guides:index",
4747
],
4848
)
4949

5050
esbuild_esm_bundle(
5151
name = "stackblitz-bundle",
52-
entry_point = "//docs/markdown/examples/stackblitz:index.ts",
52+
entry_point = "//docs/pipeline/examples/stackblitz:index.ts",
5353
# JSDOM should not be bundled because it has workers and dynamic imports.
5454
external = ["jsdom"],
5555
output = "stackblitz.mjs",
5656
platform = "node",
5757
target = "es2022",
5858
visibility = ["//visibility:public"],
5959
deps = [
60-
"//docs/markdown/examples/stackblitz:index",
60+
"//docs/pipeline/examples/stackblitz:index",
6161
],
6262
)
6363

6464
esbuild_esm_bundle(
6565
name = "zip-bundle",
66-
entry_point = "//docs/markdown/examples/zip:index.ts",
66+
entry_point = "//docs/pipeline/examples/zip:index.ts",
6767
output = "zip.mjs",
6868
platform = "node",
6969
target = "es2022",
7070
visibility = ["//visibility:public"],
7171
deps = [
72-
"//docs/markdown/examples/zip:index",
72+
"//docs/pipeline/examples/zip:index",
7373
],
7474
)
7575

7676
esbuild_esm_bundle(
7777
name = "playground-bundle",
78-
entry_point = "//docs/markdown/tutorial:playground.ts",
78+
entry_point = "//docs/pipeline/tutorials:playground.ts",
7979
output = "playground.mjs",
8080
platform = "node",
8181
target = "es2022",
8282
visibility = ["//visibility:public"],
8383
deps = [
84-
"//docs/markdown/tutorial:playground",
84+
"//docs/pipeline/tutorials:playground",
8585
],
8686
)
8787

8888
esbuild_esm_bundle(
8989
name = "tutorial-bundle",
90-
entry_point = "//docs/markdown/tutorial:tutorial.ts",
90+
entry_point = "//docs/pipeline/tutorials:tutorial.ts",
9191
output = "tutorial.mjs",
9292
platform = "node",
9393
target = "es2022",
9494
visibility = ["//visibility:public"],
9595
deps = [
96-
"//docs/markdown/tutorial",
96+
"//docs/pipeline/tutorials",
9797
],
9898
)
9999

@@ -112,13 +112,13 @@ nodejs_binary(
112112
data = [
113113
"@npm//jsdom",
114114
],
115-
entry_point = "//docs/markdown:stackblitz.mjs",
115+
entry_point = "//docs/pipeline:stackblitz.mjs",
116116
visibility = ["//visibility:public"],
117117
)
118118

119119
nodejs_binary(
120120
name = "zip",
121-
entry_point = "//docs/markdown:zip.mjs",
121+
entry_point = "//docs/pipeline:zip.mjs",
122122
visibility = ["//visibility:public"],
123123
)
124124

@@ -130,7 +130,7 @@ nodejs_binary(
130130
"@npm//mermaid",
131131
"@npm//playwright-core",
132132
],
133-
entry_point = "//docs/markdown:guides.mjs",
133+
entry_point = "//docs/pipeline:guides.mjs",
134134
env = {
135135
"CHROME_BIN": "$(CHROMIUM)",
136136
},
@@ -145,18 +145,18 @@ nodejs_binary(
145145
data = [
146146
"@npm//jsdom",
147147
],
148-
entry_point = "//docs/markdown:guides-no-mermaid.mjs",
148+
entry_point = "//docs/pipeline:guides-no-mermaid.mjs",
149149
visibility = ["//visibility:public"],
150150
)
151151

152152
nodejs_binary(
153153
name = "playground",
154-
entry_point = "//docs/markdown:playground.mjs",
154+
entry_point = "//docs/pipeline:playground.mjs",
155155
visibility = ["//visibility:public"],
156156
)
157157

158158
nodejs_binary(
159159
name = "tutorial",
160-
entry_point = "//docs/markdown:tutorial.mjs",
160+
entry_point = "//docs/pipeline:tutorial.mjs",
161161
visibility = ["//visibility:public"],
162162
)

docs/markdown/_guides.bzl renamed to docs/pipeline/_guides.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ generate_guides = rule(
7676

7777
# The executable for this rule (private).
7878
"_generate_guides": attr.label(
79-
default = Label("//docs/markdown:markdown"),
79+
default = Label("//docs/pipeline:markdown"),
8080
executable = True,
8181
cfg = "exec",
8282
),
8383
# The executable for this rule when no mermaid process is required (private).
8484
"_generate_guides_no_mermaid": attr.label(
85-
default = Label("//docs/markdown:markdown_no_mermaid"),
85+
default = Label("//docs/pipeline:markdown_no_mermaid"),
8686
executable = True,
8787
cfg = "exec",
8888
),

docs/markdown/_playground.bzl renamed to docs/pipeline/_playground.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ generate_playground = rule(
5353
),
5454
"common_srcs": attr.label(
5555
doc = """The directory containing the base files to expand upon.""",
56-
default = Label("//docs/markdown/tutorial/common:files"),
56+
default = Label("//docs/pipeline/tutorials/common:files"),
5757
),
5858
"_generate_playground": attr.label(
59-
default = Label("//docs/markdown:playground"),
59+
default = Label("//docs/pipeline:playground"),
6060
executable = True,
6161
cfg = "exec",
6262
),

docs/markdown/_stackblitz.bzl renamed to docs/pipeline/_stackblitz.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ generate_stackblitz = rule(
5959
),
6060
"template_srcs": attr.label(
6161
doc = """The stackblitz template directory to base generated stackblitz on.""",
62-
default = Label("//docs/markdown/examples/template:files"),
62+
default = Label("//docs/pipeline/examples/template:files"),
6363
),
6464
"_generate_stackblitz": attr.label(
65-
default = Label("//docs/markdown:stackblitz"),
65+
default = Label("//docs/pipeline:stackblitz"),
6666
executable = True,
6767
cfg = "exec",
6868
),

docs/markdown/_tutorial.bzl renamed to docs/pipeline/_tutorial.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ generate_tutorial = rule(
5353
),
5454
"common_srcs": attr.label(
5555
doc = """The directory containing the base files to expand upon.""",
56-
default = Label("//docs/markdown/tutorial/common:files"),
56+
default = Label("//docs/pipeline/tutorials/common:files"),
5757
),
5858
"_generate_tutorial": attr.label(
59-
default = Label("//docs/markdown:tutorial"),
59+
default = Label("//docs/pipeline:tutorial"),
6060
executable = True,
6161
cfg = "exec",
6262
),

docs/markdown/_zip.bzl renamed to docs/pipeline/_zip.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ generate_zip = rule(
5959
),
6060
"template_srcs": attr.label(
6161
doc = """The template directory to base zip on.""",
62-
default = Label("//docs/markdown/examples/template:files"),
62+
default = Label("//docs/pipeline/examples/template:files"),
6363
),
6464
"_generate_zip": attr.label(
65-
default = Label("//docs/markdown:zip"),
65+
default = Label("//docs/pipeline:zip"),
6666
executable = True,
6767
cfg = "exec",
6868
),

docs/markdown/examples/stackblitz/BUILD.bazel renamed to docs/pipeline/examples/stackblitz/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ts_library(
1313
],
1414
),
1515
deps = [
16-
"//docs/markdown/examples/shared",
17-
"//docs/markdown/guides",
16+
"//docs/pipeline/examples/shared",
17+
"//docs/pipeline/guides",
1818
"@npm//@types/jsdom",
1919
"@npm//@types/node",
2020
"@npm//fast-glob",

docs/markdown/examples/zip/BUILD.bazel renamed to docs/pipeline/examples/zip/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ ts_library(
1414
),
1515
deps = [
1616
"//docs/interfaces",
17-
"//docs/markdown/examples/shared",
18-
"//docs/markdown/guides",
17+
"//docs/pipeline/examples/shared",
18+
"//docs/pipeline/guides",
1919
"@npm//@types/node",
2020
"@npm//fast-glob",
2121
"@npm//jszip",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/markdown/guides/testing/BUILD.bazel renamed to docs/pipeline/guides/testing/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ts_library(
77
"**/*.spec.ts",
88
]),
99
deps = [
10-
"//docs/markdown/guides",
10+
"//docs/pipeline/guides",
1111
"@npm//@bazel/runfiles",
1212
"@npm//@types/jasmine",
1313
"@npm//@types/jsdom",

docs/markdown/guides/testing/docs-card/docs-card.md renamed to docs/pipeline/guides/testing/docs-card/docs-card.md

+1-1

docs/markdown/guides/testing/mermaid/BUILD.bazel renamed to docs/pipeline/guides/testing/mermaid/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ts_library(
77
"*.spec.ts",
88
]),
99
deps = [
10-
"//docs/markdown/guides",
10+
"//docs/pipeline/guides",
1111
"@npm//@bazel/runfiles",
1212
"@npm//@types/jasmine",
1313
"@npm//@types/jsdom",
File renamed without changes.

docs/markdown/tutorial/BUILD.bazel renamed to docs/pipeline/tutorials/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ts_library(
3838
)
3939

4040
ts_library(
41-
name = "tutorial",
41+
name = "tutorials",
4242
srcs = [
4343
"tutorial.ts",
4444
],
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)