File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212# *******************************************************************************
1313
1414load ("@score_docs_as_code//:docs.bzl" , "docs" )
15- load ("@score_tooling//:defs.bzl" , "copyright_checker" , "use_format_targets" )
1615
1716package (default_visibility = ["//visibility:public" ])
1817
19- # Enables formatting targets
20- #'bazel test //:format.check'
21- #'bazel run //:format.fix'
22- use_format_targets ()
23-
24- copyright_checker (
25- name = "copyright" ,
26- srcs = glob (
27- [
28- "process/**" ,
29- "BUILD" ,
30- "MODULE.bazel" ,
31- ],
32- exclude = ["process/trustable/**" ],
33- ),
34- config = "@score_tooling//cr_checker/resources:config" ,
35- template = "@score_tooling//cr_checker/resources:templates" ,
36- visibility = ["//visibility:public" ],
37- )
38-
3918docs (
4019 source_dir = "process" ,
4120)
Original file line number Diff line number Diff line change @@ -41,13 +41,9 @@ python.toolchain(
4141)
4242use_repo (python )
4343
44- bazel_dep (name = "buildifier_prebuilt" , version = "8.2.0.2" )
45-
4644###############################################################################
4745#
48- # Generic linting and formatting rules
46+ # Documentation tooling
4947#
5048###############################################################################
51- bazel_dep (name = "aspect_rules_lint" , version = "1.5.3" )
52- bazel_dep (name = "score_tooling" , version = "1.2.0" )
53- bazel_dep (name = "score_docs_as_code" , version = "4.0.0" )
49+ bazel_dep (name = "score_docs_as_code" , version = "4.0.1" )
Original file line number Diff line number Diff line change @@ -90,21 +90,7 @@ Now run the live_preview commands
9090bazel run //:live_preview
9191```
9292
93- #### Format your documentation with:
94-
95- ``` bash
96- bazel test //:format.test
97- bazel run //:format.fix
98- ```
99-
10093Now server should be available with a preview on the link that is given (normally 127.0.0.1:8000) and the documentation can be previewed there.
10194
102- #### Find & fix missing copyright
103-
104- ``` bash
105- bazel test //:copyright.test
106- bazel run //:copyright.fix
107- ```
108-
10995#### Explore more functions with
11096bazel query //...
You can’t perform that action at this time.
0 commit comments