From 2b494cd4a7c44a05f4ffc4c19a55a4048594153e Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Wed, 12 Feb 2025 11:51:05 +0000 Subject: [PATCH 1/3] Add _config.yml to fix README pages formatting --- _config.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..3303cf6c --- /dev/null +++ b/_config.yml @@ -0,0 +1,4 @@ +# Configuration for converting the README to a legible github pages page +markdown: kramdown +kramdown: + parse_block_html: true From ad51878f7a7013d9d9d8bf2c38bf13b29bdecf68 Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Wed, 12 Feb 2025 11:54:13 +0000 Subject: [PATCH 2/3] Specify markdown='span' in summary --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f650bd9b..1f2be2af 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ cargo run schema ## Queries
-Testing queries from terminal +Testing queries from terminal While the graphiql front-end can be useful for exploring the API schema, running from the terminal is sometimes quicker/easier. This only requires `curl` From 4ee81d601c941580609978eb34af045619202a1c Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Wed, 12 Feb 2025 11:58:03 +0000 Subject: [PATCH 3/3] Remove badly copied sample query --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f2be2af..99176e8d 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ JSON object as `{"query": ""}` taking care to escape quotes as required. Using `curl` and a basic visit directory query (see below), this looks something like ```bash -echo '{ 17:15:56 +echo '{ "query": "{ paths(beamline: \"i22\", visit: \"cm37278-5\") { directory