From a11afde601e7f8cfbee4f9a08d775d5f936f5c28 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Fri, 1 Dec 2023 11:42:17 +0200 Subject: [PATCH 01/13] Add rust docs deployment --- docs/Earthfile | 2 ++ docs/src/index.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/docs/Earthfile b/docs/Earthfile index 5d8c5694f73..cf3fa304603 100644 --- a/docs/Earthfile +++ b/docs/Earthfile @@ -10,6 +10,8 @@ src: # Now copy into that any artifacts we pull from the builds. COPY --dir ../+repo-docs/repo /docs/includes + # copy Rust docs + COPY ./../catalyst-gateway+build-hosted/doc /docs/src/rust # Build the docs here. docs: diff --git a/docs/src/index.md b/docs/src/index.md index d6e791c23d0..0c277099900 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -4,6 +4,10 @@ icon: material/chat # Project Catalyst - Catalyst Voices +# Rust docs + +Documentation of the Rust code you can find [here](./rust/help.html) + ## How the docs are built * [MkDocs](https://www.mkdocs.org) From 38407fe8501edfc2736b1b6ab0e843a866c14662 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Fri, 1 Dec 2023 14:29:18 +0200 Subject: [PATCH 02/13] fix --- docs/src/.pages | 4 ++-- docs/src/appendix/important/.pages | 2 +- docs/src/architecture/.pages | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/.pages b/docs/src/.pages index 14d3d96d7c8..7148b4b55b8 100644 --- a/docs/src/.pages +++ b/docs/src/.pages @@ -1,5 +1,5 @@ -arrange: - - index.md +nav: + - 'Home': index.md - getting-started - catalyst-standards - architecture diff --git a/docs/src/appendix/important/.pages b/docs/src/appendix/important/.pages index 2386aeb6a21..eb43dc2f82e 100644 --- a/docs/src/appendix/important/.pages +++ b/docs/src/appendix/important/.pages @@ -1,4 +1,4 @@ -arrange: +nav: - index.md - contributing.md - coc.md diff --git a/docs/src/architecture/.pages b/docs/src/architecture/.pages index 6422cc2c62f..870e4627de2 100644 --- a/docs/src/architecture/.pages +++ b/docs/src/architecture/.pages @@ -1,4 +1,4 @@ -arrange: +nav: - index.md - 01_introduction_and_goals.md - 02_architecture_constraints.md From 0cb6d0556fa7edb48e274d9c9c499b8cc24b3707 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Fri, 1 Dec 2023 16:22:52 +0200 Subject: [PATCH 03/13] fix --- docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/index.md b/docs/src/index.md index 0c277099900..37aa76fd3c9 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -4,7 +4,7 @@ icon: material/chat # Project Catalyst - Catalyst Voices -# Rust docs +## Rust docs Documentation of the Rust code you can find [here](./rust/help.html) From 7301ce725adc57d821045a3489cb676d0f1d7147 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Sat, 2 Dec 2023 09:01:47 +0200 Subject: [PATCH 04/13] update --- docs/src/.pages | 1 + docs/src/api/.pages | 3 +++ docs/src/api/catalyst-gateway.md | 5 +++++ docs/src/api/index.md | 5 +++++ docs/src/catalyst-standards/index.md | 1 - docs/src/index.md | 4 ---- 6 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 docs/src/api/.pages create mode 100644 docs/src/api/catalyst-gateway.md create mode 100644 docs/src/api/index.md diff --git a/docs/src/.pages b/docs/src/.pages index 7148b4b55b8..61586bcb927 100644 --- a/docs/src/.pages +++ b/docs/src/.pages @@ -2,5 +2,6 @@ nav: - 'Home': index.md - getting-started - catalyst-standards + - 'API': api - architecture - appendix diff --git a/docs/src/api/.pages b/docs/src/api/.pages new file mode 100644 index 00000000000..a6bb24b5d98 --- /dev/null +++ b/docs/src/api/.pages @@ -0,0 +1,3 @@ +nav: + - index.md + - 'Catalyst gateway': catalyst-gateway.md \ No newline at end of file diff --git a/docs/src/api/catalyst-gateway.md b/docs/src/api/catalyst-gateway.md new file mode 100644 index 00000000000..04495b8e58a --- /dev/null +++ b/docs/src/api/catalyst-gateway.md @@ -0,0 +1,5 @@ +--- +icon: material/gate +--- + +# Catalyst Gateway Rust docs \ No newline at end of file diff --git a/docs/src/api/index.md b/docs/src/api/index.md new file mode 100644 index 00000000000..17fd0dbb854 --- /dev/null +++ b/docs/src/api/index.md @@ -0,0 +1,5 @@ +--- +icon: material/api +--- + +# Catalyst Voices API docs diff --git a/docs/src/catalyst-standards/index.md b/docs/src/catalyst-standards/index.md index 3e1970666cf..14cc06e7991 100644 --- a/docs/src/catalyst-standards/index.md +++ b/docs/src/catalyst-standards/index.md @@ -2,7 +2,6 @@ icon: material/pillar --- - # Catalyst Standards These are documents that relate to standardized specifications of the catalyst stack. diff --git a/docs/src/index.md b/docs/src/index.md index 37aa76fd3c9..d6e791c23d0 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -4,10 +4,6 @@ icon: material/chat # Project Catalyst - Catalyst Voices -## Rust docs - -Documentation of the Rust code you can find [here](./rust/help.html) - ## How the docs are built * [MkDocs](https://www.mkdocs.org) From c372f0921e1a4ceb58267d0806795e655f5a4cf7 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Mon, 4 Dec 2023 11:32:40 +0200 Subject: [PATCH 05/13] embed Rust docs --- catalyst-gateway/Earthfile | 10 +++++++++- docs/Earthfile | 2 +- docs/src/api/catalyst-gateway.md | 7 ++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index 8b10a56c5a0..f88e629a0d2 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -27,7 +27,7 @@ build-hosted: # Build the service FROM +builder - RUN /scripts/std_build.sh + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+BUILD DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+SMOKE_TEST --bin=cat-gateway @@ -39,6 +39,14 @@ build-hosted: build-all-hosts: BUILD --platform=linux/amd64 --platform=linux/arm64 +build-hosted +build-docs: + # Build the service + FROM +builder + + RUN RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly docs + + SAVE ARTIFACT target/$TARGETARCH/doc doc + ## ----------------------------------------------------------------------------- ## ## Standard CI targets. diff --git a/docs/Earthfile b/docs/Earthfile index cf3fa304603..8bbd74562c3 100644 --- a/docs/Earthfile +++ b/docs/Earthfile @@ -11,7 +11,7 @@ src: # Now copy into that any artifacts we pull from the builds. COPY --dir ../+repo-docs/repo /docs/includes # copy Rust docs - COPY ./../catalyst-gateway+build-hosted/doc /docs/src/rust + COPY ./../catalyst-gateway+build-docs/doc /docs/src/api/catalyst-gateway/rust-docs # Build the docs here. docs: diff --git a/docs/src/api/catalyst-gateway.md b/docs/src/api/catalyst-gateway.md index 04495b8e58a..a3bf16ea3d4 100644 --- a/docs/src/api/catalyst-gateway.md +++ b/docs/src/api/catalyst-gateway.md @@ -2,4 +2,9 @@ icon: material/gate --- -# Catalyst Gateway Rust docs \ No newline at end of file +# Catalyst Gateway Rust docs + + + + +[OPEN FULL PAGE](./catalyst-gateway/rust-docs/index.html) \ No newline at end of file From fcdddac707b32244fd2862ebb66d60fd4c0518a1 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Tue, 5 Dec 2023 12:08:21 +0200 Subject: [PATCH 06/13] add dependency graphs --- catalyst-gateway/Earthfile | 17 +++++------------ docs/Earthfile | 8 ++++---- docs/src/api/catalyst-gateway.md | 20 +++++++++++++++++++- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index f88e629a0d2..5f9c6f3a5ef 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -4,11 +4,11 @@ VERSION 0.7 # Set up our target toolchains, and copy our files. builder: - FROM github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+rust-base + FROM github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+rust-base - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+SETUP --toolchain=rust-toolchain.toml + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SETUP --toolchain=rust-toolchain.toml - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+CP_SRC --src=".cargo .config Cargo.* clippy.toml deny.toml rustfmt.toml bin crates" + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+CP_SRC --src=".cargo .config Cargo.* clippy.toml deny.toml rustfmt.toml bin crates" # Test rust build container - Use best architecture host tools. check-hosted: @@ -27,9 +27,9 @@ build-hosted: # Build the service FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+BUILD + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+SMOKE_TEST --bin=cat-gateway + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin=cat-gateway SAVE ARTIFACT target/$TARGETARCH/doc doc SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway @@ -39,13 +39,6 @@ build-hosted: build-all-hosts: BUILD --platform=linux/amd64 --platform=linux/arm64 +build-hosted -build-docs: - # Build the service - FROM +builder - - RUN RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly docs - - SAVE ARTIFACT target/$TARGETARCH/doc doc ## ----------------------------------------------------------------------------- ## diff --git a/docs/Earthfile b/docs/Earthfile index 8bbd74562c3..8fab8df9bcd 100644 --- a/docs/Earthfile +++ b/docs/Earthfile @@ -6,23 +6,23 @@ VERSION 0.7 # Copy all the source we need to build the docs src: # Common src setup - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.8+SRC + DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+SRC # Now copy into that any artifacts we pull from the builds. COPY --dir ../+repo-docs/repo /docs/includes # copy Rust docs - COPY ./../catalyst-gateway+build-docs/doc /docs/src/api/catalyst-gateway/rust-docs + COPY ./../catalyst-gateway+build-hosted/doc /docs/src/api/catalyst-gateway/rust-docs # Build the docs here. docs: FROM +src - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.8+BUILD + DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+BUILD # Make a locally runable container that can serve the docs. local: # Build a self contained service to show built docs locally. - DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.8+PACKAGE + DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+PACKAGE # Copy the static pages into the container COPY +docs/ /usr/share/nginx/html diff --git a/docs/src/api/catalyst-gateway.md b/docs/src/api/catalyst-gateway.md index a3bf16ea3d4..ceebed7902e 100644 --- a/docs/src/api/catalyst-gateway.md +++ b/docs/src/api/catalyst-gateway.md @@ -7,4 +7,22 @@ icon: material/gate -[OPEN FULL PAGE](./catalyst-gateway/rust-docs/index.html) \ No newline at end of file +[OPEN FULL PAGE](./catalyst-gateway/rust-docs/index.html) + +## Workspace Dependency Graph + +```kroki-graphviz +@from_file:./api/catalyst-gateway/rust-docs/workspace.dot +``` + +## External Dependencies Graph + +```kroki-graphviz +@from_file:./api/catalyst-gateway/rust-docs/full.dot +``` + +## Build and Development Dependencies Graph + +```kroki-graphviz +@from_file:./api/catalyst-gateway/rust-docs/all.dot +``` From eb27ee91861144a5586d8d2f1444db62833b9052 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Wed, 6 Dec 2023 18:47:29 +0200 Subject: [PATCH 07/13] update --- catalyst-gateway/Earthfile | 4 ++-- catalyst-gateway/bin/Cargo.toml | 8 -------- docs/src/api/catalyst-gateway.md | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index 5f9c6f3a5ef..09a561b7398 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -27,9 +27,9 @@ build-hosted: # Build the service FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --libs="cat-gateway" --bins="cat-gateway/cat-gateway" - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin=cat-gateway + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin="cat-gateway" SAVE ARTIFACT target/$TARGETARCH/doc doc SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway diff --git a/catalyst-gateway/bin/Cargo.toml b/catalyst-gateway/bin/Cargo.toml index 1f2aa80104b..7eed5d26d75 100644 --- a/catalyst-gateway/bin/Cargo.toml +++ b/catalyst-gateway/bin/Cargo.toml @@ -9,14 +9,6 @@ edition.workspace = true license.workspace = true repository.workspace = true -[[bin]] -name = "cat-gateway" -path = "src/main.rs" - -[lib] -name = "lib" -path = "src/lib.rs" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/docs/src/api/catalyst-gateway.md b/docs/src/api/catalyst-gateway.md index ceebed7902e..e79572beb97 100644 --- a/docs/src/api/catalyst-gateway.md +++ b/docs/src/api/catalyst-gateway.md @@ -2,6 +2,8 @@ icon: material/gate --- + + # Catalyst Gateway Rust docs @@ -26,3 +28,19 @@ icon: material/gate ```kroki-graphviz @from_file:./api/catalyst-gateway/rust-docs/all.dot ``` + +## Module trees + +### cat-gateway crate + +```rust + {{ include_file('src/api/catalyst-gateway/rust-docs/cat-gateway.cat-gateway.bin.modules.tree') }} +``` + +## Module graphs + +### cat-gateway crate + +```kroki-graphviz +@from_file:./api/catalyst-gateway/rust-docs/cat-gateway.cat-gateway.bin.modules.dot +``` From a4a8a45d6671d829159499b46f5451e42d93b145 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Thu, 7 Dec 2023 11:32:57 +0200 Subject: [PATCH 08/13] fix --- catalyst-gateway/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index 09a561b7398..7dc618e3d53 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -27,7 +27,7 @@ build-hosted: # Build the service FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --libs="cat-gateway" --bins="cat-gateway/cat-gateway" + DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --bins="cat-gateway/cat-gateway" DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin="cat-gateway" From 95368748175a880577042b6c2ee9c607dbe7760a Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Thu, 7 Dec 2023 13:53:38 +0200 Subject: [PATCH 09/13] update --- catalyst-gateway/.cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catalyst-gateway/.cargo/config.toml b/catalyst-gateway/.cargo/config.toml index e8463c6a508..6ef0c01afd0 100644 --- a/catalyst-gateway/.cargo/config.toml +++ b/catalyst-gateway/.cargo/config.toml @@ -49,6 +49,9 @@ rustflags = [ ] rustdocflags = [ + "--enable-index-page", + "-Z", + "unstable-options", "-D", "warnings", "-D", From f80aff4fb16b4691cef0a4679e8a34bf916038c1 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Thu, 7 Dec 2023 17:37:16 +0200 Subject: [PATCH 10/13] fix --- catalyst-gateway/.cargo/config.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/catalyst-gateway/.cargo/config.toml b/catalyst-gateway/.cargo/config.toml index 6ef0c01afd0..c19053adc67 100644 --- a/catalyst-gateway/.cargo/config.toml +++ b/catalyst-gateway/.cargo/config.toml @@ -49,9 +49,6 @@ rustflags = [ ] rustdocflags = [ - "--enable-index-page", - "-Z", - "unstable-options", "-D", "warnings", "-D", @@ -107,7 +104,6 @@ lto = "thin" incremental = false codegen-units = 16 - [alias] lint = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items" lintfix = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable" From fb5a8777c7697ce4a1228312f66d3baa2ae308dd Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Fri, 8 Dec 2023 11:46:59 +0200 Subject: [PATCH 11/13] fix --- catalyst-gateway/.cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catalyst-gateway/.cargo/config.toml b/catalyst-gateway/.cargo/config.toml index c19053adc67..0dd1a3104ea 100644 --- a/catalyst-gateway/.cargo/config.toml +++ b/catalyst-gateway/.cargo/config.toml @@ -49,6 +49,9 @@ rustflags = [ ] rustdocflags = [ + "--enable-index-page", + "-Z", + "unstable-options", "-D", "warnings", "-D", From e47d603723eda2dda81344fd7decdc1a8abdc101 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Mon, 11 Dec 2023 11:44:56 +0200 Subject: [PATCH 12/13] update Earthly versions --- catalyst-gateway/Earthfile | 10 +++++----- docs/Earthfile | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/catalyst-gateway/Earthfile b/catalyst-gateway/Earthfile index 21593f4a223..f41c71776dd 100644 --- a/catalyst-gateway/Earthfile +++ b/catalyst-gateway/Earthfile @@ -4,9 +4,9 @@ VERSION 0.7 # Set up our target toolchains, and copy our files. builder: - FROM github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+rust-base + FROM github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+rust-base - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SETUP --toolchain=rust-toolchain.toml + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+SETUP --toolchain=rust-toolchain.toml COPY --dir .cargo .config Cargo.* clippy.toml deny.toml rustfmt.toml bin crates . @@ -14,7 +14,7 @@ builder: check-hosted: FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.3+CHECK + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+CHECK # Test which runs check with all supported host tooling. Needs qemu or rosetta to run. # Only used to validate tooling is working across host toolsets. @@ -27,9 +27,9 @@ build-hosted: # Build the service FROM +builder - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --bins="cat-gateway/cat-gateway" + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+BUILD --bins="cat-gateway/cat-gateway" - DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin="cat-gateway" + DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+SMOKE_TEST --bin="cat-gateway" SAVE ARTIFACT target/$TARGETARCH/doc doc SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway diff --git a/docs/Earthfile b/docs/Earthfile index 8fab8df9bcd..ce302f5fef9 100644 --- a/docs/Earthfile +++ b/docs/Earthfile @@ -6,7 +6,7 @@ VERSION 0.7 # Copy all the source we need to build the docs src: # Common src setup - DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+SRC + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+SRC # Now copy into that any artifacts we pull from the builds. COPY --dir ../+repo-docs/repo /docs/includes @@ -17,12 +17,12 @@ src: docs: FROM +src - DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+BUILD + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+BUILD # Make a locally runable container that can serve the docs. local: # Build a self contained service to show built docs locally. - DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/rust-docs+PACKAGE + DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+PACKAGE # Copy the static pages into the container COPY +docs/ /usr/share/nginx/html From be868f6c28c9ce0cbba20b524997aa9ae4012d20 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Mon, 11 Dec 2023 11:50:51 +0200 Subject: [PATCH 13/13] fix Rust build --- catalyst-gateway/clippy.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst-gateway/clippy.toml b/catalyst-gateway/clippy.toml index 154626ef4e8..6933b816419 100644 --- a/catalyst-gateway/clippy.toml +++ b/catalyst-gateway/clippy.toml @@ -1 +1 @@ -allow-unwrap-in-tests = true +allow-expect-in-tests = true