Skip to content

Commit

Permalink
Moved reference to directory htmltest ignores
Browse files Browse the repository at this point in the history
The generated reference is always going to have broken anchors, so move
it into its own directory, so we can tell htmltest to ignore it.
  • Loading branch information
markmandel committed Jun 14, 2024
1 parent d28e5f7 commit 7010957
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/proto-gen/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ fn docs(files: &[(&str, &[&str])]) {
}
}

cmd.args(["--doc_out", "./docs/src/services/xds"]);
cmd.args(["--doc_opt", "markdown,protos.md"]);
cmd.args(["--doc_out", "./docs/src/services/xds/proto"]);
cmd.args(["--doc_opt", "markdown,index.md"]);

for (dir, files) in quilkin_protos {
for file in *files {
Expand Down
1 change: 1 addition & 0 deletions docs/htmltest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ IgnoreInternalURLs:
- "../../print.html"
IgnoreDirs:
- "api"
- "book/services/xds/proto/"
HTTPHeaders:
User-Agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
Accept: "text/html"
2 changes: 1 addition & 1 deletion docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- [Providers]()
- [Agones](./services/xds/providers/agones.md)
- [Filesystem](./services/xds/providers/filesystem.md)
- [Protobuf Reference](./services/xds/protos.md)
- [Protobuf Reference](./services/xds/proto/index.md)
---

- [Relay](./services/relay.md)
Expand Down
File renamed without changes.

0 comments on commit 7010957

Please sign in to comment.